Saving and Running the Current Model

Select this option to save and run the current model.

  1. Click the file browser icon and select a solver file name (.xml) from the Save As dialog.
    By default, a solver file name with the same base name as that of the model will be displayed in the field.
  2. Select the type of simulation to run from the Simulation type drop-down menu.
  3. Set the length of the simulation in the Solver Units Dataset by entering a value in the End Time text box.
  4. Set the time movement when simulation results are exported to the output files by entering a value in the Print Interval text box.
  5. Select an analysis from the model, if any, using the Analysis drop-down menu.
    Use the All option to export the solver deck and solve for each available analysis.
  6. Select a registered solver script from the Script drop-down menu.
    To register a solver script, use the *RegisterSolverScript() preference file statement.
  7. Click Run to execute the solver.
    MotionView writes out the corresponding files required by the solver to run and also executes the script that is referenced in the Run panel.

    A message window is displayed monitoring the progress of the run.

Tip:
  • If User Control is selected as the simulation type, a new tab becomes available allowing you to define a user subroutine.
  • Select Scripted simulation if a simulation script exists in the model in the form of Template or CommandSets. Checking this option prevents MotionView from exporting the Simulate command (Simulation type, End time, and Print Interval) from the Run Solver panel to the solver deck.
  • Check Export MDL snapshot to save a copy of the MDL file in the current state at which the model is being submitted to the solver.
  • Check Export MDL animation file to write an .maf file which can be loaded as a model in HyperView to view results with .mrf.
  • MotionSolve lists information in a log file which has a .log extension appended to the solver file base name. Click View Log to view the run log in a text window.
  • Click Animate to animate the results in a HyperView window after the solution is completed.
  • Click Plot to plot the results in a HyperGraph window after the solution is completed.
Note: Additional panel options are also available by clicking on the Simulation Settings and Output Options buttons.