dyna3d

dyna3d chooses the DYNA3D input deck as the format of the files that the next write makes.

Syntax

dyna3d

The command takes no argument. The command line spells the same format --format dyna3d.

What it does

dyna3d 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 deck of fixed 80-column cards in the large format of the public DYNA3D user’s manual: the title card, the control cards with the counts, one material block for every number from 1 to the highest material the mesh uses, the node cards with 13 significant digits, and the element cards with each element’s material number. The material blocks are placeholders, elastic with density 1.0, modulus 1.0 and Poisson’s ratio 0.3, each titled placeholder material N: replace before use; a shell block’s material carries the three cross-section cards the manual requires after them, titled placeholder section N shells: replace before use, with the block’s first shell’s thicknesses. The deck has no field for the James part; the elements are in part order. The merge and output chapter gives the layout card by card.

When James applies it

At the next write. dyna3d is legal in the Control, Part and Merge phases.

Rules James adds

  • The deck’s fields are five columns wide for a material number and eight for a node or element number. A mesh with a material number above 99999, more than 99999999 nodes or more than 99999999 elements is refused at the write (E1106).
  • Material numbers are made dense: a number the script never used, below the highest one, gets a placeholder block too, marked unused.
  • A second format command that names a different format, before any write has used the first, is a warning (E1104). The later command governs.
  • The title is written cut to 72 characters, with a warning when it was longer.

Diagnostics

  • E1106: a count or a material number does not fit the deck’s fields.
  • E1104: a format command replaces a different format that no write has 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: first as an Abaqus input file, then, after dyna3d, as the DYNA3D deck trugrdo.0001: the title card, the control cards counting 1 material, 8 nodes and 1 element, the placeholder block for material 1, eight node cards and one element card.

See also


James 0.8.0.

This site uses Just the Docs, a documentation theme for Jekyll.