Input file syntax
Relevant module: edelweissfe.utils.inputfileparser.py
EdelweissFE uses an input file syntax similar to Abaqus, using human readable input files.
The general syntax makes use of *keywords
, possibly with option=values
in the same line and
supplemented by data lines.
In general, options and data entries are comma separated.
Indentations and blank lines have no effect.
*keyword, option1=value, option2=another_value
data, data, data, data
data, data, data, data
data, data, data, data
**this is a comment
**again a comment
*another_keyword, option1=value, option2=another_value
data, data, data, data
The available input syntax is defined in fe/utils/inputfileparser.py
,
and available keywords can be printed using
python edelweiss.py --keywords
Inputfileparser for inputfiles employing an Abaqus-like syntax.
- edelweissfe.utils.inputfileparser.parseInputFile(fileName, currentKeyword=None, existingFileDict=None)[source]
Parse an Abaqus-like input file to generate a dictionary with its content.
- Parameters
fileName (str) – The name of the file to parse.
currentKeyword (str) – If nested parsing is performed by using
*include
, this option tells which keyword is currently active.existingFileDict (CaseInsensitiveDict) – An existing dictionary to append. If Nonde, a new dictionary is created.
- Returns
The parsed input file.
- Return type
CaseInsensitiveDict
- edelweissfe.utils.inputfileparser.printKeywordsRST()[source]
Print the input file language set in an RST conform format.
Keywords
Option |
Type |
Description |
---|---|---|
|
|
definition |
|
|
name of analytical field |
|
|
type of analytical field (currently ‘expression’ only) |
Option |
Type |
Description |
---|---|---|
|
|
key=value pairs for configuration of figures and axes |
Option |
Type |
Description |
---|---|---|
|
|
definition of the constraint |
|
|
(optional) name of the constraint |
|
|
constraint type |
Option |
Type |
Description |
---|---|---|
|
|
Abaqus like element definiton lines |
|
|
name |
|
|
provider (library) for the element type. Default: Marmot |
|
|
assign one of the types definied in the elementlibrary |
Option |
Type |
Description |
---|---|---|
|
|
Abaqus like element set definiton lines |
|
|
name |
|
|
set True to generate from data line 1: start-element, end-element, step |
Option |
Type |
Description |
---|---|---|
|
|
key=value pairs for exporting of figures and axes |
Option |
Type |
Description |
---|---|---|
|
|
defintions lines for the output module |
|
|
(optional), name of job, standard=defaultJob |
Option |
Type |
Description |
---|---|---|
|
|
filename |
Option |
Type |
Description |
---|---|---|
|
|
define spatial domain: 1d, 2d, 3d |
|
|
(optional) define linear solver, standard = superlu |
|
|
(optional) name of job, standard = defaultJob |
|
|
(optional) define solver, standard = NIST |
|
|
(optional) start time of job, standard = 0.0 |
Option |
Type |
Description |
---|---|---|
|
|
material properties, multiline possible |
|
|
name of the property |
|
|
name of the property |
|
|
(deprecated and ignored) number of statevars |
Option |
Type |
Description |
---|---|---|
|
|
key=value pairs |
|
|
generator module |
|
|
(optional) name of the generator |
Option |
Type |
Description |
---|---|---|
|
|
Abaqus like node definiton lines: label, x, [y], [z] |
|
|
name |
Option |
Type |
Description |
---|---|---|
|
|
Abaqus like node set definiton lines |
|
|
set True to generate from data line 1: start-node, end-node, step |
|
|
name |
Option |
Type |
Description |
---|---|---|
|
|
defintions lines for the output module |
|
|
(optional), name of job, standard=defaultJob |
|
|
(optional), name of manager, standard=None |
|
|
output module |
Option |
Type |
Description |
---|---|---|
|
|
key=value pairs |
|
|
filename where identified parameters are written |
|
|
name of the property |
|
|
name of job |
|
|
True|False plot result with final parameters |
|
|
filename where xData is given |
|
|
filename where yData is given |
Option |
Type |
Description |
---|---|---|
|
|
list of associated element sets |
|
|
associated id of defined material |
|
|
name |
|
|
associated element set |
|
|
type of the section |
Option |
Type |
Description |
---|---|---|
|
|
maximum number of iterations to prevent from increasing the increment |
|
|
define step actions, which are handled by the corresponding stepaction modules |
|
|
(optional), name of job, standard=defaultJob |
|
|
maximum size of increment |
|
|
maximum number of iterations |
|
|
maximum number of increments |
|
|
minimum size of increment |
|
|
time period of step |
Option |
Type |
Description |
---|---|---|
|
|
Abaqus like definition. Type ‘element’: elSet, faceID |
|
|
name |
|
|
type of surface (currently ‘element’ only) |
Option |
Type |
Description |
---|---|---|
|
|
name of the modified settings category |
|
|
key=value pairs |