**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# () or SVR# (), 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 the 11 22 33 12 23 31 ordering those sub-variables will be considered as tensors in further Z-post operations.

    Remember that the SDV# name mapping can be determined using the Zpreload command 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 U1 sig11 etc. 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 ]

The variables will be copied in the order given. Memory can be reduced for large models by breaking up man copies into several **process copy operations.

Note

If the **out_var option 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.”

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