simulation script write_acf

The command is used to write an existing simulation script to a file.

Format:

 
simulation script write_acf &
sim_script_name =
an existing sim_script &
file_name =
string

Example:

simulation script write_acf &
sim_script_name =
script__1 &
file_name =
“C:\solver\solver1.acf”

Description:

 
Parameter
Value Type
Description
sim_script_name
An Existing Sim_script
Enter the name of the simulation script that is to be written to a file
file_name
String
Specify the file that the specified script will be written to.

Extended Definition:

1. The command writes an existing simulation script to the specified file. So in theory it is a command to export simulation scripts.
2. If the file name is not explicitly specified, the script will be written in the current working directory with the file name being same as the script name.

Tips:

1. The file->export dialog can also be used to export simulation scripts. Select the "Simulation Script" option in the 'file export' dialog and specify the file name. In the background, the dialog executes the 'simulation write_acf' command with the specified parameters.