-
Notifications
You must be signed in to change notification settings - Fork 1
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
Negatively oriented elements in oneX mesh #13
Comments
I'm seeing this for the other 3D meshes too. |
which meshes specifically? |
test_mesh/eager/eigthX/data/isolator.msh I haven't tested the others but they likely have the same problem. |
How/when were the meshes generated. Which version of gmsh? To my knowledge the meshes are not checked into the repo due to size. There was some issue that has been fixed when I switched to the OpenCascade generator inside gmsh. But that fix was made some time ago and as far as I know only pertained to 2D meshes, not 3D. |
I generated them right before running yesterday using gmsh 4.9.5. |
which platform? and what version of meshmode? I've rebuilt on Lassen and I do not see this issue, meshmode is pointing at 6bfe6a, pytato-array-context-transforms |
I'm running on Crusher. I just tried with that branch and I still see the problem. I can give it a try on Lassen to see if I can replicate the problem there. |
I also encounter this problem on Lassen. Output below.
|
I concur. The errors happen with fresh checkouts and builds of mirgecom on Lassen. I've just tested it this morning. |
What is the check in meshmode doing? https://github.com/inducer/meshmode/blob/48abe4bedf5e54e57fca392756423b6f45abff9a/meshmode/mesh/processing.py#L511 I think we can check the signed area/volume using the determinant (equivalent to curls): Look it over... I dumped a few tests in there and it appears to work, but it's not exhaustive. When I generate |
[mtcampbe@lassen709:data]$ python ~/check_mesh.py isolator.msh Checking 3D mesh Thanks! Now we can check meshes regardless of size before we try to run them in our allocations. |
I think there's an emerging consensus over in inducer/meshmode#314. I'd welcome thoughts in inducer/meshmode#315. |
When I run Luke's script on
However, when I run Checking the values in
|
@nchristensen does the new meshmode check throw an error? |
Yes, this is with the current meshmode HEAD, d63d12a840101d20737b18dd8dd78b30143297de. |
Ah, misinterpreted your question. I'll try the meshmode check. |
Using that check on
|
The problem appears to be in the boundary mesh. |
But that's very strange. Mathematically, if the volume is positively oriented, so are the faces...? |
|
Could upload one of the |
I just wanted to add another data point. I said I would re-try these yesterday. For me, with a fresh install using
|
The absence of |
The text was updated successfully, but these errors were encountered: