Difference between revisions of "MPM Global Archiving Options"
Line 46: | Line 46: | ||
<li><tt>contactx</tt>, <tt>contacty</tt>, or <tt>contactz</tt> - component of the total contact force on the grid for [[Multimaterial MPM|multimaterial mode]] simulations when they include [[Rigid Material|rigid materials]] that have <tt>SetDirection=8</tt>. It is a sum of all contact forces for the rigid material on the object in [[ConsistentUnits Command#Legacy and Consistent Units|force units]].</li> | <li><tt>contactx</tt>, <tt>contacty</tt>, or <tt>contactz</tt> - component of the total contact force on the grid for [[Multimaterial MPM|multimaterial mode]] simulations when they include [[Rigid Material|rigid materials]] that have <tt>SetDirection=8</tt>. It is a sum of all contact forces for the rigid material on the object in [[ConsistentUnits Command#Legacy and Consistent Units|force units]].</li> | ||
<li><tt>contactR</tt> or <tt>contactZ</tt> - component of the total contact force per radian on the axisymmetric grid in [[ConsistentUnits Command#Legacy and Consistent Units|force units]] (synonyms for <tt>contactx</tt> or <tt>contacty</tt>)</li> | <li><tt>contactR</tt> or <tt>contactZ</tt> - component of the total contact force per radian on the axisymmetric grid in [[ConsistentUnits Command#Legacy and Consistent Units|force units]] (synonyms for <tt>contactx</tt> or <tt>contacty</tt>)</li> | ||
<li><tt>reactionx</tt>, <tt>reactiony</tt>, or <tt>reactionz</tt> - component of the reaction force at nodes with velocity boundary conditions in [[ConsistentUnits Command#Legacy and Consistent Units|force units]]. If option <tt>(material)</tt> specifies a material, the force will be for all velocity conditions created by that [[Rigid Material|rigid material]]; if <tt>(material)</tt> is omitted the force will sum all velocity boundary conditions (specified or created by rigid particles); if <tt>(material)</tt> < 0, the force will be only for velocity boundary conditions with that [[Setting Velocity, Temperature, and Concentration#Boundary Condition ID|boundary condition ID]].</li> | <li><tt>reactionx</tt>, <tt>reactiony</tt>, or <tt>reactionz</tt> - component of the reaction force at nodes with velocity boundary conditions in [[ConsistentUnits Command#Legacy and Consistent Units|force units]]. If option <tt>(material)</tt> specifies a material, the force will be for all velocity conditions created by that [[Rigid Material|rigid material]]; if <tt>(material)</tt> is omitted the force will sum all velocity boundary conditions (specified or created by rigid particles); if <tt>(material)</tt> < 0, the force will be only for velocity boundary conditions with that [[Setting Velocity, Temperature, and Concentration#Boundary Condition ID|boundary condition ID]]. When the [[ExtrapolateRigid Command|ExtrapolateRigid mode]] is used, set (material) to -40 to get reaction force for all rigid materials (and in this mode it is not possible to get separate forces on different rigid materials).</li> | ||
<li><tt>reactionR</tt> or <tt>reactionZ</tt> - component of the reaction force per radian at axisymmetric nodes with velocity boundary conditions in [[ConsistentUnits Command#Legacy and Consistent Units|force units]] (synonyms for <tt>reactionx</tt> or <tt>reactiony</tt> and see those options for meaning of the <tt>(material)</tt> option)</li> | <li><tt>reactionR</tt> or <tt>reactionZ</tt> - component of the reaction force per radian at axisymmetric nodes with velocity boundary conditions in [[ConsistentUnits Command#Legacy and Consistent Units|force units]] (synonyms for <tt>reactionx</tt> or <tt>reactiony</tt> and see those options for meaning of the <tt>(material)</tt> option)</li> | ||
</ol></li> | </ol></li> |
Revision as of 11:45, 13 January 2016
Global archiving is an option to save selected calculated results in a single file. This section explains how to use this feature.
Introduction
In MPM calculations, the solution is stored in a series of archive files. You can optionally create a global results file which will store selected calculated result such as average stress, total energy, etc., in a single text file. This file can plotted latter in NairnFEAMPM or in NairnFEAMPMViz or can be opened later any spread-sheet software. The file is tab delimited with time (in alt time units) in the first column and all requested results in subsequent columns.
Input Commands
In script input files, global archiving is set up with the following commands:
GlobalArchive (quantity),<(mat)> GlobalArchiveTime (time)
In XML input files, global archive is set up with the following commands, which must be within the <MPMHeader> element:
<GlobalArchive type='(quantity)' mat='(mat)'/> <GlobalArchiveTime>1</GlobalArchiveTime>
where
- (quantity) is the global quantity to be saved in the global results file. The case-sensitive options are:
- Stresses
- sxx, syy, szz, sxy, sxz, or syz - average element of the stress tensor in pressure units
- sRR, sZZ, sTT, or sRZ - average element of the axisymmetric stress tensor in pressure units (synonyms for sxx, syy, szz, and sxy)
- Strains and Deformation
- exx, eyy, ezz, exy, exz, or eyz - average element of the total Biot strain tensor in alt strain units.
- eRR, eZZ, eTT, or eRZ - average element of the axisymmetric total Biot strain tensor in alt strain units (synonyms for exx, eyy, ezz, and exy)
- exxe, eyye, ezze, exye, exze, or eyze - average element of the elastic Biot strain tensor in alt strain units, which is tptal Biot strain minus plastic Biot strain for plasticity materials.
- eRRe, eZZe, eTTe, or eRZe - average element of the axisymmetric elastic Biot strain tensor alt strain units (synonyms for exxe, eyye, ezze, and exye)
- exxp, eyyp, ezzp, exyp, exzp, or eyzp - average element of the plastic Biot strain tensor in alt strain units
- eRRp, eZZp, eTTp, or eRZp - average element of the axisymmetric plastic Biot strain tensor in alt strain units (synonyms for exxe, eyye, ezze, and exye)
- Fij (where i and j are x, y, or z) - any component of the total deformation gradient (absolute)
- Fij (where i and j are R or Z) - any component of the total axisymmetric deformation gradient (absolute, synonyms for the x or y versions).
- velx, vely, or velz - average component of velocity in velocity units
- velR or velZ - average component of axisymmetric velocity in velocity units (synonyms for velx or vely)
- dispx, dispy, or dispz - average component of displacement in length units
- dispR or dispZ - average component of axisymmetric displacement in length units (synonyms for dispx or dispy)
- Contact and Reaction Forces
- contactx, contacty, or contactz - component of the total contact force on the grid for multimaterial mode simulations when they include rigid materials that have SetDirection=8. It is a sum of all contact forces for the rigid material on the object in force units.
- contactR or contactZ - component of the total contact force per radian on the axisymmetric grid in force units (synonyms for contactx or contacty)
- reactionx, reactiony, or reactionz - component of the reaction force at nodes with velocity boundary conditions in force units. If option (material) specifies a material, the force will be for all velocity conditions created by that rigid material; if (material) is omitted the force will sum all velocity boundary conditions (specified or created by rigid particles); if (material) < 0, the force will be only for velocity boundary conditions with that boundary condition ID. When the ExtrapolateRigid mode is used, set (material) to -40 to get reaction force for all rigid materials (and in this mode it is not possible to get separate forces on different rigid materials).
- reactionR or reactionZ - component of the reaction force per radian at axisymmetric nodes with velocity boundary conditions in force units (synonyms for reactionx or reactiony and see those options for meaning of the (material) option)
- Temperature and Heat
- temp - average temperature (when doing thermal calculations)
- Heat Energy - total heat energy in energy units
- Friction Work - total friction work converted into heat in energy units.
- heatWatts - the reaction heating rate at nodes with temperature boundary conditions in energy/time units. If option (material) specifies a material, the heating rate will be for all temperature conditions created by that rigid material; if (material) is omitted the force will sum all temperature boundary conditions (specified or created by rigid particles); if (material) < 0, the heating rate will be only for temperature boundary conditions with that boundary condition ID.
- Thermodynamics Functions
- Work Energy - total work energy in energy units, which is cumulative σ.dε
- Strain Energy - total strain energy in energy units, which is cumulative σ.(dε-dεres)
- Kinetic Energy - total kinetic energy in energy units on the particles
- Grid Kinetic Energy - total kinetic energy inenergy units on the grid
- Heat Energy - total heat energy in energy units
- Entropy - total entropy in energy units
- Internal Energy - sum of work and heat energy (U = w + q) in energy units
- Helmholz Energy - total Helmholz free energy (A = U - TS) in energy units
- Interface Energy - total energy associated with cracks having imperfect interfaces in energy units.
- Plastic Energy - total dissipated energy in energy units
- Damping Terms
- alpha - the total grid damping coefficient, αp(t), which is a combination of constant and feedback grid damping terms (in 1/time units)
- palpha - the total particle damping coefficient, αp(t), which is a combination of constant and feedback particle damping terms (in 1/time units) (OSParticulas only).
- Other Properties
- concentration - weight fraction concentration (when doing diffusion calculations)
- Step number - the current MPM step number
- Elapsed time - elapsed clock time for the current calculation (in time units)
- CPU time - total CPU time for the current calculation (in time units)
- Stresses
- The optional (mat) is the material ID for a previously defined material. Most of the global quantities are averaged over particles. You can specify this optional second parameter with a material ID and the average will be only for particles of that material type. Omit this parameter (or attribute) to indicate an average over all particles. Most quantites on the grid (e.g., Grid Kinetic Energy but not reactionx(y,z,R,Z) or contactx(y,z,R,Z)) will ignore the material ID.
- The optional (time) is the time interval for storing global results. In scripted file, (time) it is is in alt time units (it can be an entity that evaluates to value in time units). In XML files, it is in time units (or determined by a a units attribute). If the time interval is not specified, it will be set to the archiving interval specified in the archiving options. Specifying another time lets these two archiving times be different if desired.
Notes
- When global archiving of strains, they are calculated as a Biot strain in the current configuration. The Biot strain is defined is V-I where V is the left-stretch tensor. This strain is also the Seth-Hill strain with m=1/2 in current configuration. For small strain problems it is equivalent to the small strain tensor.
- You can store as many quantities as you want in the global results file by having any number of GlobalArchive commands, but only one option can be in each command. Each quantity will be in a labeled column in the global archive text file.
- The global archive text will be be stored at the path given in the archiving options with extension .global.
- Note that all terms involving heat ("Heat Energy", "Entropy", "Internal Energy", and "Helmholz Energy") will only be physically correct if all materials have specified their heat capacity.