forked from 1b-agent/fieldcraft-upstream
* Nastran bulk data writer: fixed-format entries, exact large-field reals, SOL 101/103 decks Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm * Nastran writer tests: golden decks, a re-reader of our output, node order against Nastran's conventions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm * docs: Nastran writer in the roadmap, parity table and deck notes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm * Nastran writer: simplify planning (subcases, one property table), stream cards into the deck, write through the VFS ElementKind::corner_count/is_quadratic and Dofs::bits/from_bits join the model. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm * Nastran joins the shared deck formats; deck.write chooses steps for every format nastran::write_resolved is the FORMATS row; Format::write_steps and with_steps write a subset of steps (a Nastran run is static or frequency steps); problems go through the shared unsupported(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm --------- Co-authored-by: jyviko <2501648+jyviko@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
79 lines
3.0 KiB
Plaintext
79 lines
3.0 KiB
Plaintext
$ Nastran bulk data written by ModelCraft
|
|
$ units: mm-t-s-N-MPa
|
|
SOL 101
|
|
CEND
|
|
TITLE = ModelCraft model
|
|
ECHO = NONE
|
|
SUBCASE 1
|
|
SUBTITLE = Bend
|
|
SPC = 1
|
|
LOAD = 2
|
|
DISPLACEMENT = ALL
|
|
SPCFORCES = ALL
|
|
STRESS = ALL
|
|
STRAIN = ALL
|
|
BEGIN BULK
|
|
PARAM POST -1
|
|
PARAM AUTOSPC YES
|
|
$ nodes
|
|
GRID* 1 0. 0.
|
|
* 0.
|
|
GRID* 2 0. 0.
|
|
* 1.
|
|
GRID* 3 0. 1.
|
|
* 0.
|
|
GRID* 4 0. 1.
|
|
* 1.
|
|
GRID* 5 1. 0.
|
|
* 0.
|
|
GRID* 6 1. 0.
|
|
* 1.
|
|
GRID* 7 1. 1.
|
|
* 0.
|
|
GRID* 8 1. 1.
|
|
* 1.
|
|
GRID* 9 2. 0.
|
|
* 0.
|
|
GRID* 10 2. 0.
|
|
* 1.
|
|
GRID* 11 2. 1.
|
|
* 0.
|
|
GRID* 12 2. 1.
|
|
* 1.
|
|
GRID* 13 3. 0.
|
|
* 0.
|
|
GRID* 14 3. 0.
|
|
* 1.
|
|
GRID* 15 3. 1.
|
|
* 0.
|
|
GRID* 16 3. 1.
|
|
* 1.
|
|
$ materials
|
|
$ material Steel: MAT1 1
|
|
MAT1* 1 210000. 0.3
|
|
* 7.85E-9
|
|
$ properties
|
|
$ section bar: PSOLID 1
|
|
PSOLID 1 1 TWO FULL
|
|
$ elements
|
|
CHEXA 1 1 1 5 7 3 2 6
|
|
8 4
|
|
CHEXA 2 1 5 9 11 7 6 10
|
|
12 8
|
|
CHEXA 3 1 9 13 15 11 10 14
|
|
16 12
|
|
$ boundary conditions
|
|
$ step Bend: SPC 1
|
|
SPC1 1 123456 1 2 3 4
|
|
$ loads
|
|
$ load tip: FORCE 2
|
|
FORCE* 2 13 1.
|
|
* 0. 0. -25.
|
|
FORCE* 2 14 1.
|
|
* 0. 0. -25.
|
|
FORCE* 2 15 1.
|
|
* 0. 0. -25.
|
|
FORCE* 2 16 1.
|
|
* 0. 0. -25.
|
|
ENDDATA
|