msave#

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

Sets the solver memory saving option. This option only applies to the

APDL Command: MSAVE PCG solver (including PCG Lanczos).

Parameters:
key

Activation key:

0 or OFF - Use global assembly for the stiffness matrix (and mass matrix, when using PCG

Lanczos) of the entire model.

1 or ON - Use an element-by-element approach when possible to save memory during the

solution. In this case, the global stiffness (and mass) matrix is not assembled; element stiffness (and mass) is regenerated during PCG or PCG Lanczos iterations.

Notes

MSAVE,ON only applies to and is the default for parts of the model using the following element types with linear material properties that meet the conditions listed below.

SOLID186 (Structural Solid only)

SOLID187

The following conditions must also be true:

The PCG solver has been specified.

Small strains are assumed (NLGEOM,OFF).

No prestress effects (PSTRES) are included.

All nodes on the supported element types must be defined (i.e., the midside nodes cannot be removed using the EMID command).

For elements with thermally dependent material properties, MSAVE,ON applies only to elements with uniform temperatures prescribed.

The default element coordinate system must be used.

If you manually force MSAVE,ON by including it in the input file, the model can include the following additional conditions:

The analysis can be a modal analysis using the PCG Lanczos method (MODOPT,LANPCG).

Large deflection effects (NLGEOM,ON) are included.

SOLID185 (brick shapes and KEYOPT(2) = 3 only) elements can be included.

All other element types or other parts of the model that don’t meet the above criteria will be solved using global assembly (MSAVE,OFF). This command can result in memory savings of up to 70 percent over the global assembly approach for the part of the model that meets the criteria. Depending on the hardware (e.g., processor speed, memory bandwidth, etc.), the solution time may increase or decrease when this feature is used.

This memory-saving feature runs in parallel when multiple processors are used with the /CONFIG command or with Distributed ANSYS. The gain in performance with using multiple processors with this feature turned on should be similar to the default case when this feature is turned off. Performance also improves when using the uniform reduced integration option for SOLID186 elements.

This command does not support the layered option of the SOLID185 and SOLID186 elements.

When using MSAVE,ON with the PCGOPT command, note the following restrictions:

For static and modal analyses, MSAVE,ON is not valid when using a Lev_Diff value of 5 on the PCGOPT command; Lev_Diff will automatically be reset to 2.

For modal analyses, MSAVE,ON is not valid with the StrmCk option of the PCGOPT command; Strmck will be set to OFF.

For all analysis types, MSAVE,ON is not valid when the Lagrange multiplier option (LM_Key) of the PCGOPT command is set to ON; the MSAVE activation key will be set to OFF.

For linear perturbation static and modal analyses, MSAVE,ON is not valid; the MSAVE activation key will be set to OFF.

When using MSAVE,ON for modal analyses, no .FULL file will be created. The .FULL file may be necessary for subsequent analyses (e.g., harmonic, transient mode-superposition, or spectrum analyses). To generate the .FULL file, rerun the modal analysis using the WRFULL command.