pyNastran icon indicating copy to clipboard operation
pyNastran copied to clipboard

HDF5 writer

Open EmanueleCannizzaro opened this issue 7 years ago • 7 comments

Steve, Is it possible to create a new OP2 that combines other file results?

EmanueleCannizzaro avatar Jan 22 '18 07:01 EmanueleCannizzaro

That is not supported. The gui supports custom csv results. Patran has their own custom format as well (and I'd assume FEMAP does too).

SteveDoyle2 avatar Jan 22 '18 08:01 SteveDoyle2

Steve, Thank you the reply.

What format/approach do you suggest for result export?

Emanuele

On 22 Jan 2018 8:54 am, "SteveDoyle2" [email protected] wrote:

That is not supported. The gui supports custom csv results. Patran has their own custom format as well (and I'd assume FEMAP does too).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SteveDoyle2/pyNastran/issues/472#issuecomment-359360167, or mute the thread https://github.com/notifications/unsubscribe-auth/AChOqOpmNUIlI4RrnudIrMULcf0p2tIKks5tNEzegaJpZM4RmSOj .

EmanueleCannizzaro avatar Jan 22 '18 10:01 EmanueleCannizzaro

h5Nastran will have this feature in the future. I just added a feature, where searching the results tables returns a pandas DataFrame, and they are specially subclassed to know how to add/substract/multiply/divide correctly. It's still early in development though.

h5Nastran currently only supports converting punch files to h5, but I plan it supporting OP2 as well.

mjredmond avatar Jan 22 '18 13:01 mjredmond

For old Patran; I'd use *.nod or *.ele format. It's very customizable. There is no writer for ut, but it's a simple format. For modern patran, I'd use hdf5. It's in pynastran form with export_hdf5, but it's very simple. For pynastran, it's just a csv with a header line. For FEMAP, I don't know.

In the future there will be full HDF5 support with MSC's format.

SteveDoyle2 avatar Jan 22 '18 15:01 SteveDoyle2

What you can export is an F06, though I don't know if any of the major codes (e.g., Patran, FEMAP) will read that.

SteveDoyle2 avatar Jan 23 '18 18:01 SteveDoyle2

I think I will wait for the hdf5 writer. Thank you. Emanuele

On 23 Jan 2018 6:11 pm, "SteveDoyle2" [email protected] wrote:

What you can export is an F06, though I don't know if any of the major codes (e.g., Patran, FEMAP) will read that.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SteveDoyle2/pyNastran/issues/472#issuecomment-359879828, or mute the thread https://github.com/notifications/unsubscribe-auth/AChOqPsoQr7F4Tq33_n6Dm-IvxybT4i_ks5tNiDJgaJpZM4RmSOj .

EmanueleCannizzaro avatar Jan 23 '18 18:01 EmanueleCannizzaro

The OP2 is now supported, so I'm going to rename this ticket.

SteveDoyle2 avatar Mar 13 '19 05:03 SteveDoyle2