Bulk Deck to Free Format
|
Engineering Tools — Bulk Deck to Free Format (00229) What this tool doesConverts a Nastran short-format bulk-data deck (8-character fixed-width
fields) to free format (comma-separated fields). Reads any
Free format is easier on the eyes when reading bulk decks in a text editor — commas separate fields, no need to count to column 16 to find field 2. Some preprocessors also produce cleaner diffs against free-format decks. v1.03 — QRG-compliant continuation handlingThe 1.03 revision rewrites the continuation logic to match the Nastran Quick Reference Guide's free-format rules exactly:
Pre-1.03 versions emitted Nastran-style continuation IDs in the free-format output, which some downstream preprocessors choked on. v1.03 emits true free format and is QRG-compliant. v1.03 — tolerates bare card extractsIf the input file is a fragment that lacks the How to use it
Worked exampleInput (short format): GRID 1 0.0 0.0 0.0 GRID 2 1.0 0.0 0.0 CBAR 100 1 1 2 0.0 0.0 1.0 $ PBAR 1 1 1.0 0.0833 0.0833 0.0 $ MAT1 1 3.0E+7 0.30 Output (free format): GRID, 1, , 0.0, 0.0, 0.0 GRID, 2, , 1.0, 0.0, 0.0 CBAR, 100, 1, 1, 2, 0.0, 0.0, 1.0 $ PBAR, 1, 1, 1.0, 0.0833, 0.0833, 0.0 $ MAT1, 1, 3.0E+7, , 0.30 Failure modes
Related tools
|
