wrk#

Mapdl.wrk(num='', **kwargs)#

Sets the active workspace number.

APDL Command: *WRK

Parameters:
num

Number of the active memory workspace for APDLMath vector and matrices. All the following APDLMath vectors and matrices will belong to this memory workspace, until the next call to the *WRK command. By default, all the APDLMath objects belong to workspace number 1.

Notes

This feature enables you to associate a set of vector and matrices in a given memory workspace, so that you can easily manage the free step:

This feature can be useful to free all the temporary APDLMath variables inside a MACRO in one call.