*RESTART next up previous contents
Next: *RIGID BODY Up: Input deck format Previous: *RADIATE   Contents


*RESTART

Keyword type: prestep (*RESTART,READ), step (*RESTART,WRITE)

Sometimes you wish to continue a previous run without having to redo the complete calculation. This is where the *RESTART keyword comes in. It can be used to store results for a later restart, or to continue a previous calculation.

There is one required parameter specifying whether you want to read previous results (READ) or store the results of the present calculation for future restarts (WRITE). This parameter must follow immediately after the *RESTART keyword card.

If you specify READ, you can indicate with the parameter STEP which step of the previous run is to be read. Default is one. The results will be read from the binary file ``jobname.rin'' which should have been generated in a previous run. A restart file can contain any number of steps and anything which is allowed within a step. For instance, one can define new loads based on sets generated in previous runs. If present, the *RESTART,READ line must be the first non-comment line in the input deck.

If you specify WRITE, you can specify the frequency (parameter FREQUENCY) at which results are stored. A frequency of two means that the results of every second step will be stored. Default is one. The results will be stored in binary format in file ``jobname.rout''. Any existing file with this name will be deleted prior to the first writing operation. For a subsequent restart job with name ``jobname_new.inp'' the ``jobname.rout'' file must be renamed into ``jobname_new.rin''. The *RESTART,WRITE combination must be used within a *STEP definition


First and only line:

Example:

*RESTART,READ,STEP=2

will read the results of step two in the previous calculation.

Example:

*RESTART,WRITE,FREQUENCY=3

will write the results every third step.


Example files: .


next up previous contents
Next: *RIGID BODY Up: Input deck format Previous: *RADIATE   Contents
guido dhondt 2012-10-06