Input deck format next up previous contents
Next: *AMPLITUDE Up: CalculiX CrunchiX USER'S MANUAL Previous: Output variables   Contents

Input deck format

This section describes the input of CalculiX.

The jobname is defined by the argument after the -i flag on the command line. When starting CalculiX, it will look for an input file with the name jobname.inp. Thus, if you called the executable ``CalculiX'' and the input deck is ``beam.inp'' then the program call looks like

CalculiX -i beam

The -i flag can be dropped provided the jobname follows immediately after the CalculiX call.

CalculiX will generate an output file with the name jobname.dat and an output file with the name jobname.frd. The latter can be viewed with cgx.

If the step is a *FREQUENCY step or a *HEAT TRANSFER,FREQUENCY step and the parameter STORAGE=YES is activated, CalculiX will generate a binary file containing the eigenfrequencies, the eigenmodes, the stiffness and the mass matrix with the name jobname.eig. If the step is a *MODAL DYNAMIC or *STEADY STATE DYNAMICS step, CalculiX will look for a file with that name. If any of the files it needs does not exist, an error message is generated and CalculiX will stop.

The input deck basically consists of a set of keywords, followed by data required by the keyword on lines underneath the keyword. The keywords can be accompanied by parameters on the same line, separated by a comma. If the parameters require a value, an equality sign must connect parameter and value. Blanks in the input have no significance and can be inserted as you like. The keywords and any other alphanumeric information can be written in upper case, lower case, or any mixture. The input deck is case insensitive: internally, all alphanumeric characters are changed into upper case. The data do not follow a fixed format and are to be separated by a comma. A line can only contain as many data as dictated by the keyword definition. The maximum length for user-defined names, e.g. for materials or sets, is 80 characters, unless specified otherwise.The structure of an input deck consists of geometric, topological and material data before the first step definition, and loading data (mechanical, thermal, or prescribed displacements) in one or more subsequent steps. The user must make sure that all data are given in consistent units (the units do not appear in the calculation).

A keyword can be of type step or model definition. Model Definition cards must be used before the first *STEP card. Step keywords can only be used within a step. Among the model definition keywords, the material ones occupy a special place: they define the properties of a material and should be grouped together following a *MATERIAL card.

Node and element sets can share the same name. Internally, the names are switched to upper case and a 'N' is appended after the name of a node set and a 'E' after the name of an element set. Therefore, set names printed in error or warning messages will be discovered to be written in upper case and to have a 'N' or 'E' appended.

Keyword cards in alphabetical order:

next up previous contents
Next: *AMPLITUDE Up: CalculiX CrunchiX USER'S MANUAL Previous: Output variables   Contents
guido dhondt 2012-10-06