Managing POSTPROΒΆ

Postpro commands available in pre:

  • NEW MECAx SETS : mecax_sets
  • Fint EVOLUTION :
  • Dep EVOLUTION :
  • NEW RIGID SETS : rigid_sets
  • BODY TRACKING : rigid_set
  • TORQUE EVOLUTION : rigid_set
  • SOLVER INFORMATIONS :
  • VIOLATION EVOLUTION :
  • KINETIC ENERGY :
  • COORDINATION NUMBER :
  • CLxxx ANALYSIS : CLxxx_sets
  • DOUBLET TORQUE EVOLUTION : doublets
  • QUASI SLIDING CONTACT : r8
  • CONTACT FORCE DISTRIBUTION : i4

Example:

post = postpro_commands()
# creating a deformable set
mecax_set = [(body_deformable_brick, "coin")]
deformable_brick_set = postpro_command(name='NEW MECAx SETS', mecax_sets=[mecax_set])
post.addCommand(deformable_brick_set)

# following mean displacement and force of deformable sets
deformable_brick_disp = postpro_command(name='Dep EVOLUTION', step=1)
post.addCommand(deformable_brick_disp)
deformable_brick_fint = postpro_command(name='Fint EVOLUTION', step=1)
post.addCommand(deformable_brick_fint)

# following displacement and force on a rigid object :
rigid_brick_disp = postpro_command(name='BODY TRACKING', step=1, rigid_set=[body_rigid_brick])
post.addCommand(rigid_brick_disp)
rigid_brick_torque = postpro_command(name='TORQUE EVOLUTION', step=1, rigid_set=[body_rigid_brick])
post.addCommand(rigid_brick_torque)
#
floor_dte=postpro_command(name='DOUBLET TORQUE EVOLUTION', step=1,doublets=[(up,down)])
post.addCommand(floor_dte)
#
my_command=postpro_command(name='SOLVER INFORMATIONS', step=1)
post.addCommand(my_command)
#
writePostpro(commands=post, parts=bodies, path='DATBOX/')