FILE=c | Specifies the complete name of a file you created with the SAVE command. The file name may include the directory on operating systems that support path names, such as Linux. There is no default extension for this file. Because the FILE argument and value can be at most eighty characters long, the file name and path name are limited from seventy-five characters (if you do not abbreviate FILE=) to seventy-six characters (if you abbreviate FILE= to FIL=). Range: All printable characters except “!”, “;”, “,” and “&” |
OUTPUT_PREFIX=c | Optionally specifies a new base (root) name for output files (.req, .res, .gra, .out, and so on) from simulations which follow this RELOAD command. If you do not specify the OUTPUT_PREFIX argument, Adams Solver (FORTRAN) appends the output to the currently-open output files after writing a special delimiter line into the file. Because the OUTPUT_PREFIX argument and value can be at most eighty characters long, the basename and path are limited from sixty-six characters (if you do not abbreviate OUTPUT_PREFIX) to seventy-six characters (if you abbreviate OUTPUT_PREFIX to OUT=). Range: All printable characters except “!”, “;”, “,” and “&” |
STATES | Specifies Adams Solver (FORTRAN) reloads just the saved simulation time and state values (displacements, velocities, force values, user-defined variable values, and so on), while maintaining the existing model definition. |
SYSTEM | Specifies Adams Solver (FORTRAN) reloads the entire saved system, including the model definition (parts, markers, joints, and so on), simulation time and state values (displacements, velocities, force values, user-defined variable values, and so on) and solver data (integrator parameters, state derivatives, and so on). This completely replaces the existing model and simulation conditions with the saved model and simulation conditions. |
TITLE=c | Optionally specifies a new title for the model in output from simulations which follow this RELOAD command. The title string may not contain any special Adams Solver (FORTRAN) characters and must fit on a single line (no continuations). If not the last argument, the title is terminated by the last non-blank prior to the following comma. Because the TITLE argument and value can be at most eighty characters long, the file name and path name are limited from seventy-four characters (if you do not abbreviate TITLE=) to seventy-six characters (if you abbreviate TITLE= to TIT=). Range: All printable characters except “!”, “;”, “,” and “&” |
Tip: | Except for the leading delimiter line, the appended sections of the output files are complete (that is, they may be extracted with any editor, renamed, and handled like any other Adams Solver (FORTRAN) output). |
Caution: | ■Files are saved in a machine- and code-dependent binary format. They are not portable across platforms or between versions of Adams Solver (FORTRAN). ■Results are unpredictable if saved STATES arguments are reloaded to different models from those that existed at the time of the save. ■The OUTPUT/ICSAVE-EXEC/ICSTART combination is now obsolete and is removed from a future version of Adams Solver (FORTRAN). ■Models containing nonlinear flexible bodies are not supported by the [SAVE/RELOAD] command. |
example | |
case1 | |
dea/sfo,id=101,102,201,202,301,302 | !Deactivate all forces |
sim/static | !Find static equilbrium |
save/system, file=ex.sav | ! Save system at static, no forces |
act/sfo, id=101,102 | ! Activate first set of forces |
sim/dyn, end=.25, steps=100 | !Simulate |
rel/system, file=ex.sav, out=case2 | ! Reload(now back at static,no forces) |
act/sfo, id=201,202 | ! Activate second set of forces |
sim/dyn, end=.05, steps=20 | ! Simulate |
rel/system, file=ex.sav, out=case3 | ! Reload(now back at static,no forces) |
act/sfo, id=301,302 | ! Activate third set of forces |
sim/dyn, end=.10, steps=40 | ! Simulate |
stop |