**process copy#
Description#
The copy post-processor is used to re-name a variable as a copy into
the results database files. There are several occasions where this
operation would be useful:
For Z-mat runs where all the state variables are named
SDV#() orSVR#(), etc. The copy operation can be used importing the original input file using a**data_source(see page ) and re-naming them in a more meaningful way. Note also that if the output naming respects the112233122331ordering those sub-variables will be considered as tensors in further Z-post operations.Remember that the
SDV#name mapping can be determined using theZpreloadcommand or by looking at the calculation message files.To copy a database into a different format, but making certain to respect important fundamental names (such as
U1sig11etc. Using the copy functionality can therefore be used to reduce the size of a results set, or to translate between different supported formats.To fake the name of a tensor if needed. For example one could open an Abaqus ODB file, and copy the plastic strain tensor to be the total strain tensor and submit that to another code requiring total strain only.
There are no doubt other uses for such a capability, but these are the primary intent of the command.
Syntax#
**process copy
\(~\,\) **list_var var1 var2 … varN
[ **out_var o-var1 o-var2 … o-varN ]
**list_varvar1 var2 … varNnames of variables to copy.
**out_varo-var1 o-var2 … o-varNnames of output variables. If left unspecified, the copied variables will be overridden.
Note
If the
**out_varoption is not given, the output names will be the same as the input names, so that should only be used when the post results are desired to “stand alone.”The variables are copied in the order provided.
To reduce memory usage with large models, consider breaking the process into several
**process copyoperations.This process has also a version implemented as a
local_post_processing. It has two additional options:`***local_post_processing\(~\,\)**process copy\(~\,~\,\)*list_varvar1 var2 … varN \(~\,\) [*out_varo-var1 o-var2 … o-varN ] \(~\,\) [*last_only] \(~\,\) [*shiftmap_shift ]*last_onlycopy only the last available map.
*shiftsets the number of maps to shift by.
Example#
The following copies an Abaqus odb file to a new one while re-naming the
state variables (in this case a ***data_storage command was used
to reduce the SDV allocations to just 2 variables).
****post_processing
***global_parameter
ODB.MaxSteps 100
***data_source odb
**open my_abaqus_run.odb
**write_geof
**nset interesting_nodes *elset MAIN_ELSET *function 1.0;
***data_output odb
*problem_name zpost_copy_odb
*elset MAIN_ELSET
***local_post_processing
**output_number 1-999
**file node
**nset interesting_nodes
% DO NOT USE PACKET SIZE HERE
**process copy
*list_var SDV1 SDV2 NT11
*out_var evcum Dsum temperature
**process copy
*list_var sig11 sig22 sig33 sig12 sig23 sig31
**process copy
*list_var LE11 LE22 LE33 LE12 LE23 LE31
*out_var eto11 eto22 eto33 eto12 eto23 eto31
****return