Mechanics Postprocessing

Module: devtests.mechanics.postprocess.run

Section author: Andrew Crozier <andrew.crozier@medunigraz.at> and Christoph Augustin <christoph.augustin@medunigraz.at>

This example shows the use of the mechanics postprocessing routines. A simple deformation experiment is run and CARP is invoked a second time to recalculate the material stresses from the deformations calculated in the first output.

The simulation applies a simple uniaxial strain to a unit cube:

../../_images/unit_cube.png

The uniaxial strain simulation constrains the x=0, y=0 and z=0 surfaces to lie in those planes, and applies a deformation on the x=1 surface to x=\lambda.

../../_images/uniaxial.png

Tests

postprocess

Test mechanics postprocessing output matches main simulation output.

Tags: FAST SERIAL MECHANICS POSTPROCESS

Checks:

  • Custom check: overwrite_compare(x.dynpt)
  • Custom check: postproc_compare(fiberProjectedStrain.igb)
  • Custom check: postproc_compare(maxEigenvalueStrain.igb)
  • Custom check: postproc_compare(directionalStrains.igb)
  • Custom check: postproc_compare(strainEigenvalues.igb)
  • Custom check: postproc_compare(strainTensor.igb)
  • Custom check: postproc_compare(vonMisesStress.igb)
  • Custom check: postproc_compare(fiberProjectedStress.igb)
  • Custom check: postproc_compare(firstPrincipalStress.igb)
  • Custom check: postproc_compare(principalStresses.igb)
  • Custom check: postproc_compare(stressTensor.igb)

Last run: 2023-12-06 01:31:27.240024, revision {‘base’: ‘f172baea’}, dependency revisions {PT_C: 31642c1e,cvsys: 69164767,eikonal: 5fbbfda3,elasticity: edfdcbb3}

Runtime: 0:00:00.754923
ALL PASSED
  PASS overwrite_compare(x.dynpt)
  PASS postproc_compare(fiberProjectedStrain.igb)
  PASS postproc_compare(maxEigenvalueStrain.igb)
  PASS postproc_compare(directionalStrains.igb)
  PASS postproc_compare(strainEigenvalues.igb)
  PASS postproc_compare(strainTensor.igb)
  PASS postproc_compare(vonMisesStress.igb)
  PASS postproc_compare(fiberProjectedStress.igb)
  PASS postproc_compare(firstPrincipalStress.igb)
  PASS postproc_compare(principalStresses.igb)
  PASS postproc_compare(stressTensor.igb)