You are on page 1of 21

Module 5

Restarting an Analysis

Module 5

Restarting an Analysis
A. Definition & Purpose B. Procedure

Training Manual

DYNAMICS 7.0

C. Additional Options
D. About Restart Files E. Workshop

March 14, 2003 Inventory #001809 5-2

Restarting an Analysis

A. Definition and purpose


Restarts are carried out for several reasons:
Need to specify additional portions of load time-history Analysis intentionally stopped by user (e.g. computer down time) Unconverged nonlinear solution Analyze alternative load path

Training Manual

DYNAMICS 7.0

Restart unstable analyses from stable configuration

Change mission load history

Create RST file from the restart files (independent of OUTRES setting)

Load

Restart point

End load step here and start new load history

Displacement

Time

Time
March 14, 2003 Inventory #001809 5-3

Restarting an Analysis

Definition & Purpose


ANSYS has always had the capability to restart from the last converged solution.

Training Manual

DYNAMICS 7.0

Additionally, the Multiframe Restart option is available.


For example, in the load history below restarts could be carried out from any of the circled points. In this seminar we will cover only the Multiframe Restart.
SUBSTEP

LOAD

.r004
RESTART POINTS

.r003 .r002
Jobname.r001

.r005

.r006

.r007

.r008
March 14, 2003 Inventory #001809 5-4

TIME

Restarting an Analysis

Definition & Purpose


Multiframe Restart
Designed to restart from several points in load history Works from an automatically written restart file ( .r001, .r002 etc) Database and load history taken care of automatically

Training Manual

DYNAMICS 7.0

Traditional restart
Designed to recover from a single abort Requires ESAV/OSAV, EMAT files Requires user to provide the correct database at the point of abort Also known as a singleframe restart.

March 14, 2003 Inventory #001809 5-5

Restarting an Analysis

Definition & Purpose

Training Manual

DYNAMICS 7.0

Multiframe restart procedure allows you to restart the analysis from any of several user-specified load history points.
User specifies several points for restarts with RESCONTROL (similar to OUTRES) A single restart file (jobname.rnnn) is written at each specified restart point. No need for emat, esav, osav files Two new files (jobname.rdb and jobname.ldhi) keep track of the FE information and load history. No need to save DB file at the point of restart

March 14, 2003 Inventory #001809 5-6

Restarting an Analysis

B. Procedure
A typical multiframe restart consists of 3 steps:

Training Manual

DYNAMICS 7.0

Specify number and frequency of restart points in the initial analysis. Identify the point from which analysis is to be restarted. Define additional or revised loads and SOLVE.

March 14, 2003 Inventory #001809 5-7

Restarting an Analysis

Procedure
1. Specify restart points

Training Manual

DYNAMICS 7.0

In the initial analysis, specify the number and frequency of restart points using Solution Control dialog box or RESCONTROL command. RESCONTROL,action,load step, frequency,maxnum

March 14, 2003 Inventory #001809 5-8

Restarting an Analysis

Procedure
Example: RESCONTROL,DEFINE,ALL,3 writes restart files (jobname.rnnn) every 3rd substep for ALL load steps.

Training Manual

DYNAMICS 7.0

SUBSTEP RESTART FILE

.r003
LOAD .r004 .r002 .r005 .r006
Jobname.r001
JOB ABORTED AT THIS SUBSTEP (unconverged)

RESTART FILE DUE TO ABORT

TIME
March 14, 2003 Inventory #001809 5-9

Restarting an Analysis

Procedure

Training Manual

DYNAMICS 7.0

Example: RESCONTROL,DEFINE,ALL,2,2 writes restart files every 2nd substep for ALL load steps with a maximum of 2 restart files per load step.
Provides a way to limit the number of restart files. Note that r001 file is at a later time than r002.
SUBSTEP FINAL RESTART FILES INTERMEDIATE RESTART FILES (overwritten)

.r003 LOAD .r001 .r002


Jobname.r001

.r004

.r003
.r004 .r003 TIME
March 14, 2003 Inventory #001809 5-10

Restarting an Analysis

Procedure

Training Manual

DYNAMICS 7.0

By default, ANSYS writes a restart file at the last substep of the last load step. If a job is aborted either due to non-convergence or by the user (using jobname.abt file) a restart file is written at the last converged solution prior to the abort point.

March 14, 2003 Inventory #001809 5-11

Restarting an Analysis

Procedure
2. Identify point from which to restart using the load step and substep numbers.
Summary of all available restart files comes up automatically. Command: ANTYPE,,RESTART,LOAD STEP, SUB STEP,CONTINUE

Training Manual

DYNAMICS 7.0
March 14, 2003 Inventory #001809 5-12

ANSYS will automatically choose the Rxxx file that corresponds to this load step/ sub step .

Restarting an Analysis

Procedure
What does ANTYPE,,RESTART do?

Training Manual

DYNAMICS 7.0

Resumes the rdb file Reads the ldhi file and gets the correct boundary conditions, time, etc. corresponding to the restart point Resets solution commands and status Since ANTYPE,,RESTART resumes a previously saved database (.rdb), you may need to manually restore any data defined after the .rdb file was written - parameters (use PARSAV/PARRES), abbreviations, etc. Note that the .rdb file is written at the end of the first equilibrium iteration of the first substep of the first load step.

March 14, 2003 Inventory #001809 5-13

Restarting an Analysis

Procedure
3. Specify revised or additional loads and solve If restart is due to an unconverged nonlinearity, then take any corrective actions required for convergence.

Training Manual

DYNAMICS 7.0

SOLVE ( Solution > Current Load Step - solve) for the new loads and continue with additional load steps (if any).

March 14, 2003 Inventory #001809 5-14

Restarting an Analysis

Procedure

Training Manual

DYNAMICS 7.0

R001 ldhi rdb rst

R002 ldhi rdb rst

R003 ldhi rdb rst

R004 ldhi rdb rst

R005 ldhi rdb rst

R006 ldhi rdb rst

R007 ldhi rdb rst

R004 thru R007 deleted. New Restart files written as per RESCONTROL specification

Restart using r003

RDB file unaffected

Results after r003 deleted. New results written to RST file during restarted analysis

Load history after R003 deleted. New load history from restart added to ldhi file

March 14, 2003 Inventory #001809 5-15

Restarting an Analysis

C. Other Restart Options


Option to end current load step with 1 substep

Training Manual

DYNAMICS 7.0

Load history will be updated to reflect load step end Typically useful for modifying the load history in the middle of a load step

March 14, 2003 Inventory #001809 5-16

Restarting an Analysis

Other Restart Options

Can get results not written with OUTRES command SOLVE required

Training Manual

DYNAMICS 7.0

Option to write out complete results at any restart point(s) to the RST file

R001 rst

R002 rst

R003 rst

R004 rst

R005 rst

Writing results using r002 does not affect any Rnnn / RDB / LDHI files.

March 14, 2003 Inventory #001809 5-17

Restarting an Analysis

D. About Restart Files


Rnnn file (restart file)

Training Manual

DYNAMICS 7.0

Written at user specified points along the load history Binary file containing element history records (enhanced esav file) Written ONLY after a substep has converged About the same size as ESAV file Has all information necessary to recreate complete results at the restart point

March 14, 2003 Inventory #001809 5-18

Restarting an Analysis

About Restart Files


RDB file

Training Manual

DYNAMICS 7.0

Has all the required finite element / solid model data. Standard ANSYS database file, saved at the end of the first iteration of the first load step resumed upon issue of ANTYPE,,REST,ls,ss,action All data (e.g. tabular load parameters, components, etc) should be defined before the first solve

March 14, 2003 Inventory #001809 5-19

Restarting an analysis

About restart files


LDHI (load history) file

Training Manual

DYNAMICS 7.0

ASCII file (similar to LSWRITE file) containing boundary conditions and loading for all load steps DO NOT modify this file Load / BCs are automatically added to this file at each SOLVE Tabular loads are saved as %parameter% (rdb file is expected to have parameter definitions)

March 14, 2003 Inventory #001809 5-20

Restarting an analysis

E. Workshop

Training Manual

DYNAMICS 7.0

In this workshop, you will continue the transient response exercise done previously. See your Dynamics Workshop supplement for details.
Restarting a Transient Analysis - Bouncing Block, Page W-43

March 14, 2003 Inventory #001809 5-21