abaqus
abaqus chooses the Abaqus input file as the format of the files that the next write makes.
Syntax
abaqus
The command takes no argument. The command line spells the same format --format abaqus.
What it does
abaqus sets the format. It stays in force for every later write until another format command replaces it. The command line flag --format is only a fallback: James uses it when the script names no format.
The file is a free-format keyword deck. It holds the title under *HEADING, the nodes under *NODE with 17 significant digits, one *ELEMENT, TYPE=C3D8 block per part whose element set is named PART_ and the part’s number, an element set MAT_ and the number for every material the mesh uses, and for each material a *SOLID SECTION and a *MATERIAL with *DENSITY and *ELASTIC. The material cards are placeholders, density 1.0, modulus 1.0 and Poisson’s ratio 0.3, each marked placeholder material N: replace before use. The merge and output chapter gives the layout line by line.
When James applies it
At the next write. abaqus is legal in the Control, Part and Merge phases.
Rules James adds
- A second format command that names a different format, before any
writehas used the first, is a warning (E1104). The later command governs. - The title is written cut to 80 characters, with a warning when it was longer. A title whose first character is
*is written behind one blank, so the reader never takes it for a keyword; such a title holds 79 characters.
Diagnostics
- E1104: a format command replaces a different format that no
writehas used.
Example
The script tests/corpus/189-abaqus-dyna3d-writes/input.tg, which make test runs:
block 1 2;1 2;1 2;0 1;0 1;0 1;
endpart
merge
abaqus
write
dyna3d
write
One cube, written twice: trugrdo as an Abaqus input file, then, after dyna3d, trugrdo.0001 as a DYNA3D deck. No warning appears, because a write used the first format before the second command came.
See also
- lsdyna, dyna3d: the other solver decks.
- mate: the material numbers the sets carry.
- write: makes the file.
- Merge and output: the layout.