-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interface with meshio #405
Comments
One problem I see here is that human-readable names (e.g. https://victorsndvg.github.io/FEconv/formats/bdf/MD_Nastran_2006_Quick_Reference_Guide.pdf |
(Compared to just the property numbers, i.e. the things defined by |
I use the names as tags to apply the boundaries in my driver, so while the actual name isn't important, I still need some way of telling the driver which boundary is which. Gmsh has an extra section that defines all the names and their assignments. This is an updated version of what I sent last week. To get the names I just read all the comment lines in the property section to figure out what the names are. https://gist.github.com/anderson2981/1fb6d9d7d79002e3b3430af9c55c3a20 |
A bit unrelated, but is |
as far as i can tell, meshio does not appear to be an export format supported by coreform. Which is driving this development. |
|
@lukeolson and I discussed that a bit a few years ago, and at the time
which led us to dismiss the possibility. At the same time, 🤷 if it gets closed up, we can just continue life with a fork. (e.g. https://github.com/inducer/meshio) So... maybe this is less bad than hacking our own half-broken NASTRAN reader. |
Some progress on this is in #411. |
Coreform Cubit can write mesh files in NASTRAN format, I have created a simple translation tool to go from NASTRAN to GMSH, which meshmode can already read, but it would be better to directly read in NASTRAN.
Here is my script that converts a NASTRAN file into a gmsh format.
https://gist.github.com/anderson2981/a16c045288401a55d450e3a831896cd9
Here an example 2D NASTRAN example.
https://gist.github.com/anderson2981/97f9a16c3f2828cae9e0c1e039beedbc
The text was updated successfully, but these errors were encountered: