****transfer_fields#

Introduction#

It allows to transfer the nodal and integration point fields from one mesh to another. To run this problem, launch

Zrun -transfer_fields problem.inp

If the input file contains only ****transfer_fields block, run simply

Zrun problem.inp

Syntax#

****transfer_fields \(~\,\) ***use_deformed_old_mesh [ map ] \(~\,\) ***format fmt \(~\,\) ***nearest_GP \(~\,\) ***tolerance tol \(~\,\) ***max_tolerance tol_max \(~\,\) ***new_mesh \(~\,~\,\) **name new_mesh_name \(~\,\) ***old_mesh \(~\,~\,\) **name old_mesh_name \(~\,\) ***cards list of cards \(~\,\) ***component list of components \(~\,\) ***nodal_transfer \(~\,\) ***integ_transfer \(~\,\) ***restrict_to_elset elset_name \(~\,\) ***extract_U_for_bc \(~\,~\,\) **nsets_name nset1 …. nsetN \(~\,\) ***mapping_type mtype \(~\,\) ***locator_type ltype

***use_deformed_old_mesh [ map ]

uses the node coordinates from the deformed old mesh. If a map ID is provided, the mesh is deformed using the displacement field associated with that map. Otherwise, the last available map is used.

***format fmt

The output database format. By default, it is given by the global parameter Solver.OutputFormat, which itself defaults to Z7.

***nearest_GP

use nearest Gauss point transfer for integration point components. By default interpolation shape functions are used:

  • get integration point values on old mesh

  • extrapolate on nodes of old mesh

  • transfer nodal values to the new mesh

  • interpolate to integration points of new mesh

***new_mesh
**name new_mesh_name

the name of the new mesh

***old_mesh
**name old_mesh_name

the name of the old mesh

***cards list of cards

the list of cards to transfer.

***components list of components

to specify the list of variables to transfer. Variables may be identified either by their full names (e.g. sig23) or by a common prefix (e.g. sig).

***nodal_transfer

activate the transfer of nodal variables.

***integ_transfer

activate the transfer of integration point variables.

***tolerance

The tolerance used by the search algorithm to decide which mesh element contains a given point. By default 1.e-8.

***max_tolerance tol

By default, this tolerance is set to a very large value (DBL_MAX).

***restrict_to_elset elset_name

restrict the transfer to the given elset.

***extract_U_for_bc

It extracts displacement values from the old mesh and directly outputs the commands (in a file named old_mesh_name.bc_file) needed in the finite element input file to apply the boundary conditions, for the given node sets:

**nsets_name list of nset names

the list of node sets from which displacement will be extracted.

***mapping_type mtype

allow to transfer nodal variables between meshes of different dimensions (no mapping if not specified). The possible mapping methods are summarized in ***initialize_with_transfer.

***locator_type ltype

Defines the algorithm used to determine which element of a mesh a given point belongs to. By default ltype is bb_tree (Recommended).

Note

Certain keywords are prefix-based. For example, ***nodal_transfer is recognized as long as the keyword begins with ***nodal. Therefore, if you come across an example with a different suffix, it is still valid.

Example#

See $Z7PATH/TESTS/Transfer_test/INP/tf_fine.inp

 ****transfer_fields
  ***component U sig
  ***cards 2
  ***new_mesh
   **name tf_fine
  ***old_mesh
   **name tf_coarse
  ***nodal_values
  ***integ_values
****return