****fe_transfer#
Introduction#
It allows to transfer the nodal and integration point fields from one mesh to another. To run this problem, launch
Zrun -fe_transfer problem.inp
If the input file contains only ****fe_transfer block, run simply
Zrun problem.inp
Syntax#
****fe_transfer
\(~\,\) ***new_mesh new_pb_name
\(~\,\) ***old_mesh old_pb_name
\(~\,\) [ **<TRANSFORMERS> ]
[ ***use_deformed_mesh ]
\(~\,\) ***format fmt
\(~\,\) ***cards [ last || ids ]
[ ***nodal_parameter_transfer <method>
\(~\,~\,~\,~\,\) *fields field1 … fieldN ]
[ ***integ_var_transfer || ***integ_transfer
\(~\,~\,~\,~\,\) <TRANSFER_VARIABLES> ]
[ ***nodal_var_transfer || ***nodal_transfer
\(~\,~\,~\,~\,\) <TRANSFER_VARIABLES> ]
[ ***only_transfer_elset elset ]
[ ***preserve_elset elsets ]
[ ***preserve_parts ]
[ ***correct_contact warning_dist ]
[ ***mesh_type mesh_type ]
[ ***element_type default_elem_type ]
[ ***element_type_by_elset ]
\(~\,~\,\) [ *section <PREDEFINED_SECTION> ]
[ ***local_frame_def local_frames_from_a_file]
[ ***material
\(~\,~\,~\,~\,\) material definition ]
****return
***use_deformed_meshA flag to use positions of the deformed configuration (By default false).
***formatfmtThe format of the output database. By default
Z7.***cards[last|| ids ]last: to transfer only the last available map.ids: the ids of maps to transfer. For example: 1 2, or
1 5-10 15(i.e., 1 5 6 7 8 9 10 15), or1,5-10,15.
By default, all maps are transferred.
***mesh_typemesh_typespecifies the problem type for the mesh. By default, it is set to
MECHANICAL_MESH. For thermal problems, useTHERMAL_MESH, and so on.***element_typeelem_typedefine the finite element formulation. For example,
plane_stress,small_deformation, etc.***element_type_by_elsetdefine the type of elements per elset.
*section<PREDEFINED_SECTION>assigns section properties to a shell mesh.
***new_meshnew_pb_namenew mesh file name.
***old_meshold_pb_nameold mesh file name.
**TRANSFORMERSmeshers to apply on the old mesh. For example, one can define an elset to be used in the transfer.
***integ_var_transfer||***integ_transferactivate transfer of integration points fields.
***integ_transfer\(~\,~\,\)*integ_transfertype \(~\,~\,\)*mappingmethod \(~\,~\,\)*elset_by_elsetelset1 … elsetN \(~\,~\,\)*locatorltype \(~\,~\,\)*use_ctmat\(~\,~\,\)*fieldsfield1 … fieldQ*integ_transfermethod optionsThis option is available only for integration-point variables. The supported transfer methods are:
nearest_gpthis transfer method for each integration point in the current mesh, locate the nearest one in the loaded initialization mesh and simply copy the value to transfer.
nearest_gp_corrected[ dtime ]This method starts with a transfer using
nearest_gpof integration points variables. The gradient of transferred DOFs (displacement, …), denoted by \(\varepsilon_{\star}\), is usually different than the transferred gradient denoted by \(\varepsilon_{gp}\). We assume that nodal values of DOFs are correct, and to obtain the same gradient \(\varepsilon_{\star}\), the material model will be integrated for an increment of gradient \(\Delta \varepsilon = \varepsilon_{\star} - \varepsilon_{gp}\). To prevent stress relaxation in time-dependent material models, the dtime parameter can be adjusted (default value: 1).moving_least_squaretype [ distance ]MLS transfers fields by approximating the field at each target point using a weighted polynomial based on nearby source points. The local neighborhood is defined by a set of closest source points (within a radius given by distance), with contributions decreasing with distance. This method is not well suited for fields with discontinuities, as it tends to diffuse sharp gradients. The available types are:
default_3D,linear_3D,default_2D,linear_2D(an alternative name exist for these types with an additional prefixmls_). By default distance = 1.e-6.
*mappingmethodallow to transfer nodal variables between meshes of different dimensions (no mapping if not specified). The possible mapping methods are summarized in ***initialize_with_transfer.
*elset_by_elsetelset1 … elsetNLimit field transfer so each elset only receives values from its own region. This may be necessary when fields are discontinuous across elset interfaces.
*locatorltypeDefines the algorithm used to determine which element of a mesh a given point belongs to. By default ltype is
bb_tree(Recommended).*use_ctmatuse integration point variables extrapolated at nodes within each element (no averaging).
*fieldsfield1 … fieldQthe name of fields to transfer.
***nodal_var_transfer||***nodal_transferactivate transfer of nodal fields.
***nodal_transfer\(~\,~\,\)*mappingmethod \(~\,~\,\)*elset_by_elsetelset1 … elsetN \(~\,~\,\)*locatorltype \(~\,~\,\)*fieldsfield1 … fieldQ***nodal_parameter_transfertransfer of parameters available at nodes. It has the same options as
***nodal_var_transfer.
***only_transfer_elsetelseta flag to transfer only fields for the given elset. For elements outside this elset, the values are set to zero. Note that this option is ignored if
***preserve_elsetis specified.***preserve_elsetlist of elsetsconstrains field transfer to within each element set only (similar to
*elset_by_elsetabove). If the specified elset(s) do not cover the full mesh, the remaining elements are grouped into a complementary elset subject to the same restriction.***correct_contactwarning_distto correct contact overclosure. This functionality is implemented for crack propagation applications. The contact is corrected only for crack lips named
SIDE0andSIDE1.***local_frame_deflocal_frames_filegive a file containing the definition of local frames.
***materialmaterial behavior definition
**ipsetipset ||**elsetelsetthe integration point set or the element set.
*filefile_name [ pos ] |*this_file[ pos ]the name of the file that defines the material behavior. If the file contains several behaviors, use pos to select one (defaults to 1, the first).
*integrationoptionssee integration method.
*rotationoptionssee material rotation.
*plane_stressimposes plane stress condition, i.e. \(\sigma_{33}=0\).
Examples#
See some input files in the folder $Z7PATH/TESTS/Transfer_test/INP.
Here are some examples of input files for field transfer.
****fe_transfer
***new_mesh cube10x10.geof
***old_mesh cube6x6
***nodal_parameter_transfer
*fields temperature
***only_transfer_elset top
***cards last
****return
****fe_transfer
***new_mesh cube_tetra
***old_mesh cube_tension
***use_deformed_mesh
***nodal_parameter_transfer default
*fields temperature
***integ_transfer
*integ_transfer moving_least_square default_3D 1.
*locator bb_tree
*use_ctmat
***cards last
***material
*file cube_tension.inp
****return
****fe_transfer
***new_mesh cube_tetra
***old_mesh cube_tension
***integ_transfer
*integ_transfer nearest_gp_corrected 0.1
***cards 2-5
***material
*file cube_tension.inp
****return