ansys.mapdl.core.Mapdl.free#

Mapdl.free(name='', val1='', **kwargs)#

Deletes a matrix or a solver object and frees its memory allocation.

Mechanical APDL Command: *FREE

Parameters:
namestr

Name of the matrix or solver object to delete. Use Name = ALL to delete all APDL Math matrices and solver objects. Use Name = WRK to delete all APDL Math matrices and solver objects that belong to a given workspace.

val1str

If Name = WRK, Val1 is the memory workspace number.

Notes

Warning

This function contains specificities regarding the argument definitions. Please refer to the command documentation for further explanations.

Argument Descriptions

  • name : str - Name of the matrix or solver object to delete. Use Name = ALL to delete all APDL Math matrices and solver objects. Use Name = WRK to delete all APDL Math matrices and solver objects that belong to a given workspace.

  • val1 : str - If Name = WRK, Val1 is the memory workspace number.

A /CLEAR command will automatically delete all the current APDL Math objects.