3
Environmental Variables for LS-DYNA ================================================= 1. LSTC_FILE: Defines the license file. The default filename is LSTC_FILE under SystemRoot directory, or same directory as LS-DYNA executable. To define the license file, use the following command: set LSTC_FILE= (license file path and name e.g. c:\lsdyna\program\lstc_file.dat) 2. LSTC_DEFGEO: Defines the format for ASCII file DEFGEO to be DaimlerChrsyler's format. If you do not define this variable, the program defaults to the standard LS-DYNA format. To output DaimlerChrsyler's format do the following: set LSTC_DEFGEO=chrysler 3. 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. For example, to define the CADFEM format, set LSTC_OUTPUT=cadfem Note that the default format is cadfem in ls960. To get the old format for ASCII files, set LSTC_OUTPUT=old 4. 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: set LSTC_FORMAT=ansys

setenv

Embed Size (px)

Citation preview

Page 1: setenv

Environmental Variables for LS-DYNA=================================================

1. LSTC_FILE: Defines the license file. The default filename is LSTC_FILE under SystemRoot directory, or same directory as LS-DYNA executable. To define the license file, use the following command:

set LSTC_FILE= (license file path and name e.g. c:\lsdyna\program\lstc_file.dat)

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

set LSTC_DEFGEO=chrysler

3. 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. For example, to define the CADFEM format,

set LSTC_OUTPUT=cadfem

Note that the default format is cadfem in ls960.

To get the old format for ASCII files,

set LSTC_OUTPUT=old

4. 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:

set LSTC_FORMAT=ansys

Page 2: setenv

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

set LSTC_FORMAT=taurus+ansys

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

5. LSTC_BINARY: Define 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 or any DOUBLE precision versions. By not defining this variable LS-DYNA defaults to the word size of the machine. To invoke this option, do the following:

set LSTC_BINARY=32ieee Note that the user also can control the output size in column 8 of the *CONTROL_OUTPUT command. For example,

*CONTROL_OUTPUT $NPOPT NEECHO NREFUP IACCOP OPTIFS IPRINT IKEDIT IBINARY , , , , , , , 1

6. LSTC_MEMORY: Controls memory extension. The user can set the default memory size by using the command line option "MEMORY" The "auto" option is useful for adaptive runs because it allows LS-DYNA to automatically extend memory. This option is for metal forming application only. Do not use it for the crash analysis.

set LSTC_MEMORY=auto

7. LSTC_ELENGTH: Controls minimum length of shell elements. If the length of any shell elements is less than the defined value, the program will be terminated.

set LSTC_ELENGTH=0.02

8. LSTC_D3DUMP: Cortrols the iutput of restart dump file.

Page 3: setenv

The "off" will disable the d3dump output.

set LSTC_D3DUMP=off

9. LSTC_LICENSE: Defines the LSTC license method. The default license file type is NETWORK or LOCAL(Node-locked) license. this can be set to network, local or both. If not set the license method defaults to ‘both’. To define the license file type, use the following command:

set LSTC_LICENSE=NETWORK

10. LSTC_LICENSE_SERVER: Defines LSTC_LICENSE_SERVER to be point to. It set to the hostname of the machine on which the server program is running. This can be a fully qualified domain name, a local machine name, or even just an IP address.

set LSTC_LICENSE_SERVER=node1.lstc.com