Discussion:
structure of an .f06 NASTRAN output file
(too old to reply)
s***@gmail.com
2006-06-18 22:06:46 UTC
Permalink
Hi,

There is this problem I'm actually trying to tackle: to write a Fortran
module that can read in an F06 for at least SOL 101, SOL 103, and SOL
108. I've looked for F06 readers on the web but I couldn't find any. I
like a challange, so I'm just going to hack my own.

But I need to figure out what an .f06 file may look like. I can look
at my own outputs, but if I'm going to do this then I might as well try
to do it at least half right.

So...

Does anyone know if the structure of the .f06 NASTRAN output file is
documented somewhere? I'd like to know e.g. whether the order of the
requested output is always the same or dependent on the case control
section, and whether the precision of the results is always the same.

Is this a good news group to ask this kind of question, or is there
maybe another group you can recommend?

Hope someone can help.

Thanks,
Gr.
Steven
Jeff Finlayson
2006-06-19 00:13:56 UTC
Permalink
Post by s***@gmail.com
There is this problem I'm actually trying to tackle: to write a Fortran
module that can read in an F06 for at least SOL 101, SOL 103, and SOL
108. I've looked for F06 readers on the web but I couldn't find any. I
like a challange, so I'm just going to hack my own.
But I need to figure out what an .f06 file may look like. I can look
at my own outputs, but if I'm going to do this then I might as well try
to do it at least half right.
You should be reading Nastran Punch (text) files or OP2 (binary) files.
These are the Nastran formats usually dealt with.

You'll need to ask for Punch output to get the punch file, such as
Stress(Print,Punch, Sort1) = All, etc.

You'll have to set the right Param, Post to get a OP2 (output2) file.

Jeff
Greg Locock
2006-06-19 09:06:13 UTC
Permalink
Post by Jeff Finlayson
Post by s***@gmail.com
There is this problem I'm actually trying to tackle: to write a Fortran
module that can read in an F06 for at least SOL 101, SOL 103, and SOL
108. I've looked for F06 readers on the web but I couldn't find any. I
like a challange, so I'm just going to hack my own.
But I need to figure out what an .f06 file may look like. I can look
at my own outputs, but if I'm going to do this then I might as well try
to do it at least half right.
You should be reading Nastran Punch (text) files or OP2 (binary) files.
These are the Nastran formats usually dealt with.
You'll need to ask for Punch output to get the punch file, such as
Stress(Print,Punch, Sort1) = All, etc.
You'll have to set the right Param, Post to get a OP2 (output2) file.
I'm pretty sure (from a quick look only) the .f06 uses the same order as
the .dat dump of the input deck. To make it robust I'd read the whole
lot into arrays anyway. Hmm, no that might not be practical with a
modern FE model, I've got half a million lines here.

I wrote a pre and postprocessor for Nastran a long time ago, it wasn't
all that hard then, but I've drunk more than a few bottles of wine since
then.
Jeff Finlayson
2006-06-19 14:20:45 UTC
Permalink
Post by Greg Locock
Post by Jeff Finlayson
Post by s***@gmail.com
There is this problem I'm actually trying to tackle: to write a
Fortran module that can read in an F06 for at least SOL 101, SOL 103,
and SOL 108. I've looked for F06 readers on the web but I couldn't
find any. I like a challange, so I'm just going to hack my own.
But I need to figure out what an .f06 file may look like. I can
look at my own outputs, but if I'm going to do this then I might
as well try to do it at least half right.
You should be reading Nastran Punch (text) files or OP2 (binary)
files. These are the Nastran formats usually dealt with.
You'll need to ask for Punch output to get the punch file, such as
Stress(Print,Punch, Sort1) = All, etc.
You'll have to set the right Param, Post to get a OP2 (output2) file.
I'm pretty sure (from a quick look only) the .f06 uses the same order as
the .dat dump of the input deck. To make it robust I'd read the whole
lot into arrays anyway. Hmm, no that might not be practical with a
modern FE model, I've got half a million lines here.
I wrote a pre and postprocessor for Nastran a long time ago, it wasn't
all that hard then, but I've drunk more than a few bottles of wine since
then.
Reading in a f06 file can be done, sure. One FEA package can do that
(FEMAP I think). Pch and OP2 output files would be easier to handle.
Loading...