Command Element |
|||||
Description |
|||||
The Load_Model command reads a MotionSolve XML file and builds a new multi-body model. This command may be used in conjunction with the Save command, which is used to save a multi-body model as a MotionSolve XML file, following a simulation. Such a file contains all the model information necessary to restart the simulation. |
|||||
Format |
|||||
<Load_Model model_file = "valid_file_name.xml" result_file = "valid_file_name.mrf" anima_file = "valid_file_name.h3d" /> |
|||||
Attributes |
|||||
model_file |
The name of the MotionSolve XML file to be loaded. |
||||
result_file |
The name of the MRF file that will store the results of the new simulation. |
||||
anima_file |
The name of the H3D file that will store the results of the new simulation. |
||||
Comments |
|||||
|
|||||
ExampleThe following example demonstrates using the Load_Model command to load a MotionSolve XML file and then performing a transient simulation until 5 seconds. <Command <Load_Model model_file = "save1.xml" result_file = "output.mrf" anima_file = "output.h3d" /> <Simulate analysis_type = "Transient" end_time = "5." print_interval = "0.01" /> </Command> The file save1.xml was created using the Save command, following a transient simulation for 3 seconds. |
Command Element |
|
Description |
|
The OUTPUT command defines the options for output files to be generated by MotionSolve. |
|
Declaration |
|
def RELOAD(FILE="", OUTPUT_PREFIX = ""): |
|
Attributes |
|
FILE |
The name of the MotionSolve Python file to be loaded. |
OUTPUT_PREFIX |
The name of the MRF and H3D file that will store the results of the new simulation. |
CommentsSee Load_Model |
|
Example |
|
The following example demonstrates using the RELOAD command to load a MotionSolve Python file and then performing a transient simulation until 5 seconds. RELOAD(FILE="save1.py", OUTPUT_PREFIX="my_result") SIMULATE(TYPE="TRANSIENT", END=5, DTOUT=0.01) |