-
Notifications
You must be signed in to change notification settings - Fork 112
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
GMSH curved meshes support #1847
Comments
Can you post the The issue is with the creation of the connectivity versus the curvature. The connectivity is handled by |
Here a gist with Here is a gist with
I see, thanks for sharing that! |
This strategy of having |
That would actually be a nice student project for which relatively little knowledge on math is required! |
Thanks to Daniel and everyone involved for bringing the wonderful GMSH mesh support to Trixi in #1799!!
I am unable to get the current parser to handle a GMSH generated mesh with curved boundaries. Here is how I generate a curved mesh with GMSH (I only know how to do it with GUI at this moment). I tried this with
NACA6412.geo
available here and another one hereIf I skip step 3, the parser can handle it fine and I am able to run the available elixir https://github.com/trixi-framework/Trixi.jl/blob/main/examples/p4est_2d_dgsem/elixir_euler_NACA6412airfoil_mach2.jl. However, if I try to run same the elixir when I did the above step 3 to curve the mesh, I get a segmentation fault in the line that reads the mesh, i.e.,
mesh = P4estMesh{2}(mesh_file, polydeg = polydeg, boundary_symbols = boundary_symbols)
It starts with
Full error message
P4est segmentation fault
Note that the
.geo
file does have enough information to curve the mesh, see images in spoilers below. Here isgmsh
showing a straight sided meshStraight sided GMSH mesh
The curved airfoil already indicates that it is possible to curve the mesh. And, by setting a high order with
Set order 3
, I getGMSH mesh of order 3
Here is a gist with
.inp
file generated with curved boundaries - https://gist.githubusercontent.com/Arpit-Babbar/d9238c194b3e87574fdcbbd39fa59180/raw/6c985a65b58e5eda38630b6a8d3e54652293650a/NACA6412_curved.inpHere is a gist with
.inp
file generated with straight sided boundaries - https://gist.githubusercontent.com/Arpit-Babbar/f4271dc9c57724bf62681c725aa16cd6/raw/e83e50d4f67ee1853f189d6b7269e8fb1cde5ab0/NACA6412.inpThe text was updated successfully, but these errors were encountered: