Elem::orient(), MeshTools::Modification::orient_elements()#3435
Elem::orient(), MeshTools::Modification::orient_elements()#3435roystgnr merged 8 commits intolibMesh:develfrom
Conversation
|
Job Coverage on 3c4e048 wanted to post the following: Coverage
Warnings
This comment will be updated on new commits. |
||||||||||||||||||||||||||
|
Sure. I have the symmetry and the extrusion to try. I ll report back |
| // give them different local child numbers. | ||
| unsigned int n_levels = MeshTools::n_levels(mesh); | ||
| if (n_levels > 1) | ||
| libmesh_error(); |
There was a problem hiding this comment.
so if you leave this without a message we'll need to catch it upstream in moose
|
The symmetry generator works well with the set and gives the right solution on a diffusion problem with QUADs. The (advanced)extruder returns different sidelists with this flipping compared to the manual flipping logic we had. Figures show the case. The extrusion direction is in the depth of the figure. The left and right (brown, green) are the sidesets that got broken. left is reference. Left and right exist as 1D sidesets, and becomes 2D sidesets in the extruded mesh, probably because the nodes are in the relevant nodeset and the sideset is created off of this nodeset I think it s just a convention in the nodes selected for the swaps at this point? |
Ah! I swapped the |
|
Huh. Actually, I'm still not understanding the bug. I was already swapping both side and edge entries ... and for node entries there's nothing to swap - we associate those with the |
|
Can you point me to the branch + input file to reproduce this? |
|
https://github.com/RocksSavage/moose/tree/create-SymmetryTransformerGenerator I complexified it locally but it s not needed to show the problem |
|
is this still correct with an element flip? |
|
Okay, that is the problem. That Why do |
|
doing it that other way works. Thanks for looking into it. |



This ought to close #3424
@GiudGiud - you've got a MOOSE MeshGenerator test case you can try this out on, make sure it handles bad extrusion vectors properly, before we merge here?