Skip to content
Marc & Structures
Index

Save your progress

Enter your email and we will send a secure sign-in link. There is no password and the first link creates your account.

Demonstration ~10 min · ~48 min remaining

Assumptions, SOLVE, and activation

Declare the assumption, restore the model, solve, and activate the result set.

Before SOLVE — Restore the model

ALLSEL,ALL
SOLVE
FINISH

The active selection is part of the MAPDL state. If a tip selection carries over from load application into the solution, the solved model may not be the one you thought you had prepared. That is why ALLSEL,ALL is an explicit precondition.

SOLVE is not a quality seal

A finished solution may correspond to wrong units, a force multiplied by the number of nodes, or a poorly selected region. M06 checks equilibrium; M07 will also check the magnitude and distribution of the response.

Check that a result exists

Enter postprocessing, count the result sets, and only then attempt to activate the last one:

/POST1
*GET,n_sets,ACTIVE,0,SET,NSET
solution_available=0

*IF,n_sets,GE,1,THEN
  SET,LAST
  solution_available=1
*ENDIF

This sequence prevents the rest of the audit from operating on nonexistent results when SOLVE has failed to generate a result set.

SET,LAST — Activating is not solving

SET,LAST does not recalculate the structure. It reads the latest available set and makes its values active in the results database. If multiple states exist, choosing the set deliberately is as important as choosing the nodes.

*GET,result_time,ACTIVE,0,SET,TIME

Saving the time value also identifies which state was audited, even in a static analysis where that “time” works as a marker for the load step.