ansys.mapdl.core.Mapdl.keep#

Mapdl.keep(key='', **kwargs)#

Stores POST26 definitions and data during active session.

Mechanical APDL Command: KEEP

Parameters:
keystr

State or value

  • On or 1 - Allows you to exit and reenter post26 without losing your current time history variable information. Keeps a cache of the post26 variable information including the active file name ( FILE ), variable definitions ( nsol, esol, rforce, and solu ) and stored variable data in memory for the current Mechanical APDL session.

  • Off or 0 - post26 variable information is deleted when you exit post26.

Notes

Your variable information is saved in memory only for the current active Mechanical APDL session. It is deleted when you exit Mechanical APDL. This information is also deleted when you issue /CLEAR, resume, solve, or reset.

When you reenter post26 all time history variable data is available for use. When you issue store, NEW, variable definitions created by math operations such as add or prod will not be restored. However, variables defined with nsol, esol, rforce, and solu will be restored. Only the last active results file name is kept in memory ( FILE ).

Commands such as layerp26, shell, and force that specify the location or a component of data to be stored will retain the setting at the time of exiting post26.