Save

Command ElementThe Save command causes MotionSolve to write out the model data to a MotionSolve XML file.

Format

<Save
     model_file   = "valid_file_name.xml"
/>

Attributes

model_file
The name of the MotionSolve XML file to be created.

Example

The following example demonstrates the use of the Save command to save the model as a MotionSolve XML file after a transient simulation.

<Command
  <Simulate
     analysis_type       = "Transient"
     end_time            = "3."
     print_interval      = "0.01"
  />
  <Save
     model_file          = "save1.xml"
  />
  <Simulate
     analysis_type       = "Transient"
     end_time            = "5."
     print_interval      = "0.01"
  />
  <Save
     model_file          = "save2.xml"
  />
 </Command>

Comments

  1. The resulting MotionSolve XML file only contains the model block. It does not contain the command block.
  2. The MotionSolve XML created by the Save command may be loaded using Load_Model command for additional simulations.