DM.plotcprs

"Swiss Army knife" for manipulation or selection of d3plot file result data.

The tool enables the generation of new d3plot files from existing ones. For example the new database could be written without the stress tensors or velocities. It is also possible to remove parts from the data base. A common compression rate is 93%. The usage is recommended for: reduction of the database for faster transfer of the data, reduction of the database for final backup, facilitatation of data exchange with other parties by removing proprietary parts, creation of d3plot files in local coordinate systems, for example to fringe plot intrusion velocities.

plotcprs compresses LS-DYNA plotfiles by:

  • optional eliminating result data on plot states
  • optional selection of parts or part ranges
  • optional coordinate box for elements to select
  • optional transformation of nodal results onto a moving local system
  • optional conversion of units for nodal results and any combination of these features
  • result files may optionally be merged or splittet

usage: plotcprs [options]

options:

-g plotfile LS-DYNA binary plot geometry data file
(default: d3plot)
-o prefix prefix name for resulting plotfile
(default: "cpr_")
-t title title/heading on resulting plotfile
(default: no change to title text)
-adap check for adaptive plotfiles
----------------------------------------------------------------------------------------------------
-m part-file file name for list of parts to be in/excluded
(default: all parts are included)
syntax of part-file:
-id excludes part with id
id includes part with id
id1-id2 includes parts from id1-id2
-excl parts in part-file are excluded (option -m)
(default: parts are included)
-box boxfile file name for min/max coordinate range (box)
(default: all elements are included)
syntax of box-file:
xmin=value, ... , zmax=value
(format and order are arbitrary)
-infnod write selection to INTERFACE linking file (nodes)
-infseg write selection to INTERFACE linking file (segments)
(*INTERFACE_LINKING filename=plot.infmak)
----------------------------------------------------------------------------------------------------
-rel ref-file file with three nodes that define ref.-system
dis/vel/acc are transformed into ref-system
-local transform into xyz-system defined by -rel
-dirX|Y|Z node1-node2 of ref-system is x|y|z - axis
-iv transform velocities as intrusion velocities
relativ to the reference system defined above
-troff <node> translational offset by coordinates of <node>
-troff <file> translational offset defined in <file>
----------------------------------------------------------------------------------------------------
-velo write nodal velocities
-acc write nodal accelerations
-temp write nodal temperatures
-dTdt write nodal temperature rates
-residual write nodal residual forces+moments
-pen write nodal penetrations
-eng write nodal contact energies
-addedmass write nodal added mass
-strain write strain tensor (inner+outer surface)
-stress write stress tensor (shell)
-vmises write v.Mises stress as extra history variable
(overrides "-stress" option)
-triax write ratio p/vMises as extra history variable
-lode write lode parameter as extra history variable
-lodeangle write lode angle as extra history variable
-plast write plastic strain (shell)
-shist write extra shell history variables (shell)
-max write max. value of all int-points (shell)
(for "-stress","-vmises", "-plast","-shist")
(default: all int-points are written)
-thick write thickness and internal energy (shell)
-hsol n write n extra solid histories (for "-solid")
-sss treat solid results similar as shell results
-beam write all beam element results
-solid write all solid element results
-shell write all shell element results
-sph write all sph element results
-des2sph convert DES to sph elements
-cpm write all corpuscular particle results
-cpm22 reduce CPM data to compact format
-elem write all element data ("-beam -solid -shell")
-full write all result data (useful for -m option)
----------------------------------------------------------------------------------------------------
-uc ## unit conversion type on nodal results
(1) m-s-kg; (2) mm-s-t; (3) mm-ms-kg
eg: "-uc 21" converts from (2) to (1)
-mirr x|y|z mirror nodal data in x|y|z-direction in origin
eg: "-mirr xy"
-tshft ## time shift by value ##
-tscl ## time scale factor ## (scales nodal velo,acc,flux,dtdt too)
----------------------------------------------------------------------------------------------------
-delete delete old plotfile right after processing it
(saves disk space - use with care)
-merge merge resulting states into ONE plotfile
-2gb limit resulting filesize to 32bit limit
-split split resulting states on seperate plotfiles
-sinc ## incremental state selection (eg: "-sinc 2" selects states 1,3,5,7,...)
-geometry write geometry file only
-nogeometry skip geometry file output
-nopartnames skip partnames
-noglbv skip nglbv global part data each state
----------------------------------------------------------------------------------------------------
options without any action or modification on plotfile:
-info gives information about compression factor
-check check plotfiles and compression factor
-failed list failed elements per type
-list list content of plotfile
-lp list content of plotfile and partnames
-lpc list partnames and count elements per part
-lpf list partnames and failed elements per part
-lpfo list partnames and failed elements>0 per part
-v gives version number
-h give this help on screen