Adams Basic Package > Adams View > View Command Language > simulation > simulation single_run nastran_export current_time

simulation single_run nastran_export current_time

Export a linearized NASTRAN model from Adams at the current time operating point.

Format:

 
simulation single_run nastran_export current_time
model_name =
an existing model
type =
open_box/closed_box
config_file =
string
output_file_prefix =
string
write_to_terminal =
on/off
reset_after_export =
yes/no
export_all_graphics =
on/off

Example:

 
simulation single_run nastran_export current_time &
model_name =
.MODEL_1 &
type =
open_box &
output_file =
"out" &
write_to_terminal =
on &
reset_after_export =
no &
export_all_graphics =
on

Description:

 
Parameter
Value Type
Description
model_name
an existing model
The model to be exported.
type
open_box/closed_box
The type of export, that is low fidelity (open box) or high fidelity (closed box)
config_file
string
A configuration file to control the export
output_file_prefix
string
The file prefix to be used for the exported Nastran file(s).
write_to_terminal
on/off
Specify whether the output file is to be displayed in the info window after the export operation
reset_after_export
yes/no
Specify if the simulation has to be reset automatically after the export operation
export_all_graphics
on/off
Specify if you would like to export or not export all the graphics

Extended Definition:

1. The command exports a Nastran data deck corresponding to a linearized Adams model. The export operation is performed immediately at the current time with no further analysis.
2. There are two types of exports that can be performed,
open_box
Using this option, the model will be exported with linearized constraints, forces and equations of motion for all parts (rigid, point, flexible). The value of this approach is that each modeling element exports a corresponding set of NASTRAN cards making the model fully editable.
closed_box
In this option, the full model is exported. The exported model is not editable.
3. A configuration file will be honored to export NASTRAN objects (e.g. GRIDs) using user defined numbers.
 
Tip:  
The write to terminal option can be used to display the output file contents in the info window, for quick reference.