antype#

Mapdl.antype(antype='', status='', ldstep='', substep='', action='', **kwargs)[source]#

Specifies the analysis type and restart status.

APDL Command: ANTYPE

Parameters:
antype

Analysis type (defaults to the previously specified analysis type, or to STATIC if none specified):

STATIC or 0

Perform a static analysis. Valid for all degrees of freedom.

BUCKLE or 1

Perform a buckling analysis. Implies that a previous static solution was performed with prestress effects calculated (Mapdl.pstres('ON')). Valid for structural degrees of freedom only.

MODAL or 2

Perform a modal analysis. Valid for structural and fluid degrees of freedom.

HARMIC or 3

Perform a harmonic analysis. Valid for structural, fluid, magnetic, and electrical degrees of freedom.

TRANS or 4

Perform a transient analysis. Valid for all degrees of freedom.

SUBSTR or 7

Perform a substructure analysis. Valid for all degrees of freedom.

SPECTR or 8

Perform a spectrum analysis. Implies that a previous modal analysis was performed. Valid for structural degrees of freedom only.

status

Specifies the status of the analysis (new or restart):

NEW

Specifies a new analysis (default). If NEW, the remaining fields on this command are ignored.

RESTART

Specifies a restart of a previous analysis. Valid for static, modal, and transient (full or mode-superposition method) analyses. For more information about restarting static and transient analyses, see Multiframe Restart in the Basic Analysis Guide. For more information on restarting a modal analysis, see Modal Analysis Restart in the Basic Analysis Guide.

Multiframe restart is also valid for harmonic analysis, but is limited to 2-D magnetic analysis only.

A substructure analysis (backsubstitution method only) can be restarted for the purpose of generating additional load vectors. For more information, see the Mapdl.seopt() command and Applying Loads and Creating the Superelement Matrices in the Substructuring Analysis Guide.

VTREST

Specifies the restart of a previous VT Accelerator analysis. Valid only with Antype = STATIC, HARMIC, or TRANS. For more information, see VT Accelerator Re-run in the Basic Analysis Guide.

ldstep

Specifies the load step at which a multiframe restart begins.

substep

Specifies the substep at which a multiframe restart begins.

action

Specifies the manner of a multiframe restart.

CONTINUE

The program continues the analysis based on the specified LDSTEP and SUBSTEP (default). The current load step is continued. If the end of the load step is encountered in the .Rnnn file, a new load step is started. The program deletes all .Rnnn files, or .Mnnn files for mode-superposition transient analyses, beyond the point of restart and updates the .LDHI file if a new load step is encountered.

ENDSTEP

At restart, force the specified load step (LDSTEP) to end at the specified substep (SUBSTEP), even though the end of the current load step has not been reached. At the end of the specified substep, all loadings are scaled to the level of the current ending and stored in the .LDHI file. A run following this ENDSTEP starts a new load step. This capability allows you to change the load level in the middle of a load step. The program updates the .LDHI file and deletes all .Rnnn files, or .Mnnn files for mode- superposition transient analyses, beyond the point of ENDSTEP. The .Rnnn or .Mnnn file at the point of ENDSTEP are rewritten to record the rescaled load level.

RSTCREATE

At restart, retrieve information to be written to the results file for the specified load step (LDSTEP) and substep (SUBSTEP). Be sure to use Mapdl.outres() to write the results to the results file. This action does not affect the .LDHI or .Rnnn files. Previous items stored in the results file at and beyond the point of RSTCREATE are deleted. This option cannot be used to restart a mode-superposition transient analysis.

PERTURB

At restart, a linear perturbation analysis (static, modal, buckling, or full harmonic) is performed for the specified load step (LDSTEP) and substep (SUBSTEP). This action does not affect the .LDHI, .Rnnn, or .RST files.

Notes

If using the Mapdl.antype() command to change the analysis type in the same Mapdl.solve() session, the program issues the following message: “Some analysis options have been reset to their defaults. Please verify current settings or respecify as required.” Typically, the program resets commands such as Mapdl.nlgeom() and Mapdl.eqslv() to their default values.

The analysis type (Mapdl.antype()) cannot be changed if a restart is specified. Always save parameters before doing a restart. For more information on the different types of restart, see Restarting an Analysis in the Basic Analysis Guide.

This command is also valid in Mapdl.prep7().

The ANSYS Professional - Nonlinear Structural (PRN) product supports the Antype = TRANS option for mode-superposition ( Mapdl.trnopt("MSUP")) analyses only.