Alneos / vega

Finite element format converter
GNU General Public License v2.0
23 stars 9 forks source link

Distinguishing OPTISTRUCT from NASTRAN in VEGA #7

Closed ThomasAbballe closed 6 years ago

ThomasAbballe commented 8 years ago

A lot of NASTRAN files used in the industry don't come from NASTRAN but from other programs based on NASTRAN, like OPTISTRUCT. However, there are some differences between the OPTISTRUCT and the NASTRAN format. One, among others, is the default value of the SOL command: 101 for NASTRAN (meaning only static mechanical problems are available), 200 for OPTISTRUCT (all mechanical problems available).

VEGA read OPTISTRUCT file as NASTRAN ones and, of course, misunderstanding ensues. On our example, without SOL command, the dynamic problems are translated as static ones.

We should develop a way for VEGA to distinguish OPTISTRUCT files from NASTRAN files. A solution may be to treat OPTISTRUCT has a separate language, inherited (as in C++ inherited) from NASTRAN.

While awaiting developments, users should provide NASTRAN compatible files (i.e manually adding SOL 200 to their files, and so on)

ThomasAbballe commented 6 years ago

Done by @ldallolio-irt in 1fa12aecbc9d6a0c8dc617eb1437b71c98ec4159