****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.
***formatfmtThe output database format. By default, it is given by the global parameter
Solver.OutputFormat, which itself defaults toZ7.***nearest_GPuse 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**namenew_mesh_namethe name of the new mesh
***old_mesh**nameold_mesh_namethe name of the old mesh
***cardslist of cardsthe list of cards to transfer.
***componentslist of componentsto 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_transferactivate the transfer of nodal variables.
***integ_transferactivate the transfer of integration point variables.
***toleranceThe tolerance used by the search algorithm to decide which mesh element contains a given point. By default 1.e-8.
***max_tolerancetolBy default, this tolerance is set to a very large value (DBL_MAX).
***restrict_to_elsetelset_namerestrict the transfer to the given elset.
***extract_U_for_bcIt 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_namelist of nset namesthe list of node sets from which displacement will be extracted.
***mapping_typemtypeallow 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_typeltypeDefines 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