Often times, you define some parameters/variables using command snippets in ANSYS Mechanical's geometry or boundary commands. Scenarios exists when you need to use these variables to evaluate results in the Results section of the Mechanical. Now, usually when you run the entire Mechanical at once, these parameters get evaluated by MAPDL. However, when the problem takes long time to solve, and you would like to make changes to command snippets in the results section only, it's inconvenient to solve the whole model again just to evaluate the new results. Usually, MAPDL handles this by just issuing POST-SOLVE commands only. But, now since the parameters we defined earlier are out of scope here, the results utilizing these parameters are not properly evaluated. The remedy is the following commands:
Step 1 :
At the end of the pre-processing command snippet, use the command PARSAV to store parameters to file:
Step 2:
Prior to using other commands in the Results section's command snippet, use PARRES to restore parameters:
Now, your parameters will be evaluated properly even when evaluating results only in the Mechanical with the POST-SOLVE only commands.
Thanks.
Comments
Post a Comment
Productive comments only!!