NX Nastran basic keywords


The following table contains a partial list of the basic keywords that may be used on the command line or placed into .rcf files as appropriate.

Note:

For a complete list of all keywords and their syntax, refer to Appendix B, Keywords and Environment Variables, in the NX Nastran Installation and Operations Guide.pdf. This document is not delivered with QY CAD Simulation.

Keyword

Usage

Description

append

append=yes,no

Default: No

Combines the .f06, .f04, and .log files into a single file after the run completes.

If “no” is specified, the files are not combined.

If “yes” is specified, the files are combined into one file with the type .out.

Example:

append=yes

Result: The .f06, .f04, and .log files are combined into a file named example.out.

dbs

dbs=pathname

Default: (current directory)

Creates database files using an alternate prefix.

If “dbs” is not specified, database files are created in the current directory using the base name of the input data file as the prefix.

If the “dbs” value is a directory, database files are created in the specified directory using the base name of the input data file as the file name.

memory

memory=size

Default: estimate

Specifies the amount of core memory to allocate to a processing job. If memory=estimate is specified, ESTIMATE will be used to determine size. Otherwise, the size is specified as a memory size.

If you do not assign a value to the memory keyword, and ESTIMATE runs but fails to provide an estimate, the value specified by the “memorydefault” keyword will be used. If “memorydefault” is null, NX Nastran will issue a fatal error and the job will end.

Example:
  • If memory=0.5xPhysical, the job is run using an open core memory size of half the computer’s physical memory.

  • If memory=1 gb, the job is run using an open core memory size of one gigabyte, 1024 megabytes, 1048576 kilobytes, 1073741824 bytes, or 268435436 words.

memorydefault

memorydefault=size

Default: 10mw

Specifies the default memory size if a null value was defined for the “memory” keyword, or “memory=estimate” was defined and the ESTIMATE utility failed to provide an estimate.

Note:

If a null value is defined for memorydefault and it is used as described above, the job will not start.

old

old=yes,no

Default: Yes

Example:

If old=yes, renames existing output files with version numbers:

v2401.log
v2401.f04.1
v2401.f06

v2401.log.1
v2401.f04.2
v2401.f06.1

If old=no, deletes existing output files.

out

out=pathname

Default: (current directory)

Saves the output files using a different file prefix or in a different directory.

If “out” is not specified, the output files are saved in the current directory using the base name of the input data file as a prefix.

If the “out” value is a directory, output files are created in the specified directory using the base name of the input data file as the file name.

Example:
  • If out=myfile, output files are created in the current directory with the name “myfile”, for example, .\myfile.f06 on Windows.

  • If out=mydir/myfile, output files are created in the mydir directory with the name “myfile,” e.g., .\mydir\myfile.f06 on Windows.

rcf

rcf=pathname

Default: None

Specifies the name for the local .rcf file.

If this keyword is not specified, the SEnastr*.rcf located in the input data file’s directory is used.

Example:

rcf=newfile.rcf processes .\newfile.rcf.

scratch

scratch=yes, no, mini

Default: No

Indicates whether databases are to be deleted when a job completes.

Example:
  • If the database files are not required, scratch=yes can be used to remove them. This prevents cluttering the directory with unwanted files.

  • If scratch=mini is specified, a reduced size database that can only be used for data recovery restarts will be created.

sdirectory

sdirectory=directory

Default: from the Windows TEMP environment variable.

Specifies the directory to use for temporary scratch files created during job.

NX Nastran can create very large scratch files; the scratch directory should contain sufficient space to store them. You must have read, write, and execute privileges to the directory.

Example:

sdirectory=d:\scratch