-
Notifications
You must be signed in to change notification settings - Fork 250
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
Edge/face ordering of high order geometries seem inconsistent with corresponding 1D ordering #9422
Comments
This is an important observation, I agree that this is a problem! |
In my opinion, we only need to change |
that makes sense to me |
@philbucher I am checking now. |
@philbucher What is the ordering number for surface loads in 3D? Is there a documentation? |
hm not sure |
We consider gid criteria... |
Then the ordering that I get from GenerateFaces of 3D geometries are not consistent. They are defined in reverse order. So, they have to be changed, I think. |
makes sense to me. No more comments from my side @KratosMultiphysics/technical-committee ? |
@KratosMultiphysics/technical-committee also agrees ... just we are a little afraid of things that can get broken. In any case if you have a PR please go ahead and see if it passes the tests. Is so...green light on our side |
Thanks @RiccardoRossi! At the moment, I do not have a PR for this issue but I will make it as soon as I find some time. |
Issue shoud be solved after #10668 |
Introduction
If we consider a high order 2D geometry, for example quadrilateral2D8 or quadirlateral2D9, the nodal ordering is as follows:
If we consider a high order 1D geometry, i.e. Line2D3 or Line3D3, the ordering is as follows:
Line2D3/
Line3D3:
0-----2----1
So, (in all geometries) we get first the corner nodes and then the middle nodes which are consistent.
Problem
Now if we look at
GenerateEdges()
functions which return edge or face node numbers, I found that the node numbers that I get in these elements:Triangle2D6/Triangle3D6
,Quadrilateral2D8/Quadrilateral3D8
andQuadrilateral2D9/Quadrilateral3D9
are inconsistent with node numbering ofLine2D3/Line3D3
. These functions return the first, the middle and the last nodes instead of the first, the last and the middle. This implies that in order to check if a line belongs to a face, we need to do a redundant sorting.This also the case in
GenerateEdges
ofHexahedron3D20
Hexahedron3D27
,Prism3D15
.Questions
The text was updated successfully, but these errors were encountered: