Technology
How to Restart a Simulation from the Last Converged Substep in ANSYS APDL
How to Restart a Simulation from the Last Converged Substep in ANSYS APDL
Restarting a simulation from the last converged substep in ANSYS APDL involves a series of steps that ensure the analysis continues seamlessly from the most recent stable state. This process is crucial for accurately capturing the behavior of complex systems and ensuring that the simulation results are reliable.
Steps to Restart Simulation in ANSYS APDL
Save the Database
Before you exit the simulation, it is essential to save the database at a point where the solution has converged. This can be done using the following command:
APDLSAVE filename db
Prepare the Restart Command
When you want to restart your analysis, use the RESTORE command to load the saved database. This will bring back the last converged state:
APDLRESTORE filename db
Set Up the Restart
After restoring the database, you will need to specify that you want to continue the analysis from the last converged substep. This can be achieved using the SOLVE command with the CONTINUE option:
APDLSOLVE CONTINUE
Check Analysis Settings
Ensure that your analysis settings, such as load steps and time increments, are correctly set up to continue from the last state. You may need to adjust parameters depending on what you want to achieve in the restart.
Run the Analysis
After setting everything up, run the analysis. ANSYS will use the last converged results as the starting point for the new analysis.
Example Script
Here’s an example of a simple restart script:
APDL! Load the databaseRESTORE my_analysis db! Continue the analysis from the last converged substepSOLVE CONTINUE
Important Notes
Ensure that the original analysis and the restart analysis settings are compatible. Changes in loading conditions or material properties might result in errors or non-convergence. Always check the output log for any warnings or errors that might occur during the restart process. If you are using a specific solver or method, consult the ANSYS documentation for any additional parameters that may need to be set for a successful restart.This process should help you effectively restart your simulation in ANSYS APDL from the last converged substep, ensuring a seamless and accurate continuation of your analysis.