|
Engineering Tools — Bulk Deck to Free Format
Availability: this tool ships in customer and super-user packages of Engineering Tools, not in the standard download. Contact the admins if it would help your workflow.
Convert a fixed-format Nastran bulk data deck (small or large field) to free format, with
comma-separated fields — easier to read in a text editor and to diff.
What it does
- Reads a
.bdf, .nas, .dat or any other bulk deck
you pick and writes a converted copy next to it, named
<name>_free.<ext>. The original is not touched.
- Multi-line cards become free-format continuations: a trailing comma at the end of a line
continues the card, with no continuation IDs.
- Works on fragments too: a file of cards without
BEGIN BULK (a few GRIDs
pasted into a file, say) is converted as bulk data.
How to use it
- Open Custom Tools > File Processing > Bulk Deck to Free Format.
- Set the options and click OK:
- Preserve $ comment lines (recommended)
- Force keywords to UPPERCASE
- Maximum data fields per output line (4 to 8)
- Output filename suffix (default
_free)
- Pick the deck. The message window shows where the converted file was written.
Example
Input (small field):
GRID 1 0.0 0.0 0.0
CBAR 100 1 1 2 0.0 0.0 1.0
MAT1 1 3.0E+7 0.30
Output (free format):
GRID, 1, , 0.0, 0.0, 0.0
CBAR, 100, 1, 1, 2, 0.0, 0.0, 1.0
MAT1, 1, 3.0E+7, , 0.30
Notes
- Lines already in free format are left as they are, so mixed decks are fine.
- Case control and executive control (outside
BEGIN BULK /
ENDDATA) pass through unchanged.
Related tools
|