SteveDoyle2 / pyNastran

A Python-based interface tool for Nastran's file formats
Other
386 stars 148 forks source link

HDF5 writer #472

Open EmanueleCannizzaro opened 6 years ago

EmanueleCannizzaro commented 6 years ago

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

SteveDoyle2 commented 6 years ago

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).

EmanueleCannizzaro commented 6 years ago

Steve, Thank you the reply.

What format/approach do you suggest for result export?

Emanuele

On 22 Jan 2018 8:54 am, "SteveDoyle2" notifications@github.com 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 .

mjredmond commented 6 years ago

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.

SteveDoyle2 commented 6 years ago

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 commented 6 years ago

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.

EmanueleCannizzaro commented 6 years ago

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

On 23 Jan 2018 6:11 pm, "SteveDoyle2" notifications@github.com 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 .

SteveDoyle2 commented 5 years ago

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