Personal tools

Environment variables

FOR UNIX VERSIONS ONLY In version ls940.1 of LS-DYNA, the following environment variables have been introduced:

LSTC_FILE

Defines the license file.

The default filename is /usr/local/lstc/LSTC_FILE. To define the license file use the following command:

setenv LSTC_FILE (license file name)

LSTC_SECURE

Defines the format for the license file.

We currently support 3 formats: old, new, eta. If you do not define this environmental variable then LS-DYNA will check for all three formats. However, you can force the program to to look for only one type by setting this variable as follows:

setenv LSTC_SECURE old

setenv LSTC_SECURE new

setenv LSTC_SECURE eta

LSTC_DEFGEO

Defines the format for ASCII file DEFGEO to be Chrsyler's format. If you do not define this variable the program defaults to the standard LS-DYNA format. To output Chrsyler's format do the following:

setenv LSTC_DEFGEO chrysler

LSTC_OUTPUT

Defines the format for the output files.

We support several formats besides the standard LS-DYNA format. This variable is only of interest to specific LS-DYNA users. The majority of LS-DYNA users will not need to set this variable, like: setenv LSTC_OUTPUT ge

LSTC_FORMAT

Defines the format for the d3plot and d3thdt output files.

This variable allows the user to output the binary plot files in ANSYS format as well as both ANYSYS and LS-DYNA format. By not defining this variable the output files will be in standard LS-DYNA format. To output ANSYS format do the following:

setenv LSTC_FORMAT ansys

To output ANSYS and LS-DYNA format do the following:

setenv LSTC_FORMAT taurus+ansys

Note that the user can also control the output format with the *DATABASE_FORMAT command.

LSTC_BINARY

Defines the word size of the d3plot and d3thdt files to be 32 bit IEEE.

By using this option one can reduce the size of the output files which are created by 64 bit machines such as CRAY. By not defining this variable LS-DYNA defaults to the word size of the machine. To invoke this option do the following:

setenv LSTC_BINARY 32ieee

Note that the user also can control the output size in column 8 of the *CONTROL_OUTPUT command.

LSTC_MEMORY

Controls memory extension.

The user can set the default memory size by using the command line option "MEMORY" There are two options with this variable. The "auto" option is useful for adaptive runs because it allows LS-DYNA to automatically extend memory. This option is for the metal forming application only. Do not use for the crash analysis.

The second option " heap" was designed for CRAY computers . It tells LS-DYNA to use heap memory which means that after initialization it will shrink the heap memory to a minimum.

setenv LSTC_MEMORY auto

setenv LSTC_MEMORY heap