INCLUDE

Includes the contents of an external file.

Type

AcuSolve Command

Syntax

INCLUDE {parameters}

Qualifier

This command has no qualifier.

Parameters

file (string) [no default]
Name of the input file to be included.

Description

This functional command includes the content of an external file. For example,
ANALYSIS {
   title = "test problem"
}
...
INCLUDE {
  file = "material-model/air"
}
RUN {
}

At the time it is first read, the INCLUDE command is replaced by the contents of the material-model/ air file.

The file parameter points to the file to be included. This file may be either a relative file address, as in the above example, or an absolute file address, which starts with a "/".

This command is typically used for storing commonly used parameters (commands), such as a library of material models. It is also used for storing subsets of an input file which may be changed frequently.