simulation set

Allows you to set the type of Adams Solver to be run.

Format:

 
simulation set
solver_preference =
solver_pref
file_prefix =
string
save_files =
yes/no
load_analysis =
yes/no
user_solver_executable =
string
remote_compute =
yes /no
node_name =
string
mdi_directory_remote =
string
directory_remote =
string
verify_first =
yes /no
show_all_messages =
yes /no
hold_solver_license =
yes /no
model_update =
on_off_auto
choice_for_solver =
fortran_cplusplus

Example:

 
simulation set &
solver_preference =
internal &
file_prefix =
"sol_" &
save_files =
yes &
load_analysis =
yes &
remote_compute =
yes &
node_name =
"terminal1" &
mdi_directory_remote =
"analysis" &
directory_remote =
"dir1" &
verify_first =
yes &
show_all_messages =
yes &
hold_solver_license =
no &
model_update =
auto &
choice_for_solver =
cplusplus

Description:

 
Parameter
Value Type
Description
solver_preference
Solver_pref
Selects the solver for the simulation
save_file
Yes/No
Set to Yes to create Adams Solver analysis files in the directory from which you ran Adams View. Adams View saves the files after each simulation.
file_prefix
String
After setting Save Files to Yes, enter the prefix you want added to the name of each saved analysis file to help identify it
load_analysis
Yes/No
 
user_solver_executable
String
Set it to use the standard Adams Solver executable (leave it blank) or a user-defined or customized Adams Solver library.
remote_compute
Yes/No
(Linux only parameter) Enter the name of the remote host where you run Adams Solver or leave blank to use local machine. The option you select depends on where the Adams Solver is licensed at your site.
node_name
String
Enter the node ID of the remote computer
mdi_directory_remote
String
Enter the name of the Adams Solver installation directory on the remote machine.
directory_remote
String
Specifies a directory that Adams Solver uses to write out its files and search for input files
verify_first
Yes/No
Set to yes to verify your model before running a simulation
show_all_messages
Yes/No
If you are running Adams Solver externally, set to Yes to display the messages that Adams Solver generates into an Information window
hold_solver_license
Yes/No
Set whether or not the Adams Solver license is checked back in once the simulation is complete.
model_update
On_off_auto
Select when the model is updated during simulation
choice_for_solver
Fortran/cplusplus
Select from one of the available solver versions

Extended Definition:

1. For the solver_preference parameter, one can select,
Internal - Run Adams Solver from within Adams View and animate the results as they are calculated, which is the default
External - Perform a simulation with Adams Solver while in Adams View, but without seeing the model update on your screen during the simulation. Adams View automatically plays an animation of the simulation when the simulation is complete.
Write Files Only - Instruct Adams View to write out the files that are needed to run a simulation using Adams Solver from outside of Adams View. The files include the:
Dataset (.adm) file
Command (.acf) file, which contains the commands necessary to run the desired simulation.
If you select Internal, you can perform either an interactiveor a scripted simulation. If you select External or Write Files Only, you can only perform a scripted simulation. Adams View issues an error if you try to perform an interactive simulation after choosing either of these options.
2. The directory specified by the remote_directory parameter is optional. You need to specify it only if the user’s file system is not automounted on the remote machine upon log in.
3. The displayed messages include the diagnostic messages that Adams Solver generates during a simulation, as well as warnings and errors, which are always displayed. Adams View displays all messages output during a simulation to the message window and to its log file.
4. By default, Adams View does not check the license back in for another user. You must exit Adams View before other users can use the Adams Solver license.
If you set Hold License to Yes, then Adams View checks out the necessary licenses when you perform a model verify operation (because of the degrees of freedom calculation, which uses Adams Solver) or any type of simulation using the internal Adams Solver. It only releases the licenses when you exit Adams View or when you run a simulation using the external Adams Solver.
If you set Hold License to No, Adams View releases all Adams Solver licenses (static, kinematic, and dynamic), and all module licenses (Adams Tire, Adams Linear and Adams SmartDriver) in these cases:
You run a simulation using the external Adams Solver (as before).
After a model verify operation.
When you reset after a single simulation using the internal Adams Solver.
After a parametric analysis (licenses are held throughout the parametric analysis).
5. Set to one of the options below to indicate when you want your model updated during the simulation. The options are listed from the option that sets the fewest updates to the option that sets the most.
Yes: Update your model display.
NO : Use this option only when you are sure that your simulation will run to completion without difficulty, and you want to maximize the efficiency of the simulation.
Auto: Select Auto to allow Adams PostProcessor to automatically update the model.
6. For the choice_of_solver parameter, select either:
FORTRAN - Our existing version of Adams Solver.
C++ - Our new, C++-based version of Adams Solver, which promises to be faster, provide new linear analysis capabilities, and have an improved methodology for identifying and handling redundant constraints. Currently, it supports several new capabilities that Adams Solver (FORTRAN) does not support, though not all modeling elements that the Adams Solver (FORTRAN) supports are included.
As you create modeling objects in Adams View, it lets you know whether or not they are compatible with the C++ version or the FORTRAN.

Cautions:

1. A customized Adams Solver library is required if you used subroutines to define any objects in your model, such as motions or forces
2. The remote_compute parameter is available only on Linux and not on windows.