simulation script create

Allows you to create a simulation script. This script can then be run using the simulation single scripted command by specifying the script name.

Format:

 
simulation script create
sim_script_name =
a new sim_script
comments =
string
initial_static =
yes/no
type =
trans_type
number_of_steps =
integer
end_time =
time
duration =
time
commands =
string
solver_commands =
string

Example:

 
simulation script create &
sim_script_name =
script__1 &
comments =
"comment string" &
initial_static =
yes &
type =
dynamic &
number_of_steps =
50 &
end_time =
1.5

Description:

 
Parameter
Value Type
Description
sim_script_name
A New Sim_script
Specifies the name of the script to be created
comments
String
Enters comments for the script to be created, if any.
initial_static
Yes/No
Sets static simulation to be performed before the dynamic simulation
type
Trans_type
Specifies the type of simulation to be run
number_of_steps
Integer
Represents the total number of times you want Adams View to provide output information over your entire simulation
step_size
Integer
Represents the amount of time, in current model units, between output steps.
end_time
Time
Specifies the absolute point in time at which you want the simulation to stop.
duration
Time
Specifies the amount of time over which you want the simulation to run.
commands
 
Enters a set of Adams View commands, including commands that change the model or Adams Solver settings
solver_commands
 
A set of Adams Solver commands, including commands that change the model or Adams Solver settings.

Extended Definition:

1. You can run five types of simulations in Adams View
Dynamic
A time-history solution for all displacements, velocities, accelerations, and internal reaction forces in your model driven by a set of external forces and excitations. A dynamic simulation is also known as a kinetic simulation.
Kinematic
Determines the range of values for the displacement, velocity, and acceleration of any point of interest in the model, independent of forces applied to it. During a kinematic simulation, Adams Solver solves only the reduced set of algebraic equations. This type of simulation, therefore, is only available for models with zero degrees of freedom.
Static
Finds the state of the model in which all internal and external forces are balanced in the absence of any system motions or inertial forces. It sets all system velocities and accelerations to zero, so inertial forces are not taken into consideration. A static simulation is for use with models that have one or more degrees of freedom so Adams Solver can move parts around as it seeks to balance all the forces acting on the model.
Initial conditions
An initial conditions simulation ensures the proper assembly of your model before other simulations. It checks to ensure that all constraints and initial conditions are allowable and consistent. If it finds any discrepancies, it corrects them so that there is a consistent set of values representing the state of the model and assembles the model in a more appropriate way.
Linear
Linearizes your nonlinear dynamic equations of motion about a particular operating point in order to determine natural frequencies and corresponding mode shapes. You must purchase Adams Linear to perform a linear simulation.
2. As an example for the number_of_steps parameter, specifying 50 steps over a one-second simulation interval to define an output period of 0.02 seconds per step, which yields an output frequency of 50 steps/second.
3. The step_size parameter represents the amount of time, in current model units, between output steps.
4. The output frequency remains constant even if you change your simulation end time or duration. For example, enter a step size of 0.01 seconds to specify an output period of 0.01 seconds per step, which yields an output frequency of 100 steps/second.
5. If you enter commands to change the model or Adams Solver settings, they do not affect a simulation that is in progress. For example, if you run a simulation to 5 seconds, then change the model, then continue the simulation, the continuation uses the original model. You must restart the simulation to use the changes during a simulation. The best way to get started with the Adams View commands is to use the interactive controls to perform a simulation, then look at the script that Adams View creates, called Last_Sim. You can then modify and rename it.
6. Unlike an Adams View command script, you can use an Adams Solver command script to change your model or Adams Solver settings during the simulation.