-
Notifications
You must be signed in to change notification settings - Fork 249
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
[GeoMechanicsApplication] Remove swapping faces in condition process #12227
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And thank you for also updating the existing README with the added thermal tests.
Remaining comment is only on consistency in formatting of mentioned units.
- The X, Y and Z displacements in the bottom four nodes (1, 2, 3 and 4) are fixed. | ||
- Material: | ||
- The material is described using a linear elastic material with a `LinearElastic3DLaw`, a Young's modulus | ||
of 3.0e7 kPa and a Poisson ratio of 0.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly we have put units between [ ].
See also line 19, 23 and 24
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mnabideltares and @rfaasse: thank you for taking out the work-around that was previously required. This helps to make the code more readable. And I'm pleased to see that you've added a few more tests. Great!
...ns/GeoMechanicsApplication/custom_conditions/surface_normal_load_3D_diff_order_condition.cpp
Outdated
Show resolved
Hide resolved
...ns/GeoMechanicsApplication/custom_conditions/surface_normal_load_3D_diff_order_condition.cpp
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/hexa_8n_normal_load/MaterialParameters.json
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/hexa_8n_normal_load/MaterialParameters.json
Show resolved
Hide resolved
"kratos_module": "KratosMultiphysics.GeoMechanicsApplication", | ||
"process_name": "ApplyScalarConstraintTableProcess", | ||
"Parameters": { | ||
"model_part_name": "PorousDomain.BottomFixed", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: is it intentional that only the bottom nodes have prescribed water pressures? Or should the fixed value be applied to all nodes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be enough (correct me if I'm wrong @WPK4FEM), since now we have a reference pressure (and also since ignore undrained is set to true)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to force the entire element to 0.0 water pressure
applications/GeoMechanicsApplication/tests/test_normal_load_on_hexa_element.py
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/test_normal_load_on_hexa_element.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I processed/replied to all that I could.
...ns/GeoMechanicsApplication/custom_conditions/surface_normal_load_3D_diff_order_condition.cpp
Outdated
Show resolved
Hide resolved
- The X, Y and Z displacements in the bottom four nodes (1, 2, 3 and 4) are fixed. | ||
- Material: | ||
- The material is described using a linear elastic material with a `LinearElastic3DLaw`, a Young's modulus | ||
of 3.0e7 kPa and a Poisson ratio of 0.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
"kratos_module": "KratosMultiphysics.GeoMechanicsApplication", | ||
"process_name": "ApplyScalarConstraintTableProcess", | ||
"Parameters": { | ||
"model_part_name": "PorousDomain.BottomFixed", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be enough (correct me if I'm wrong @WPK4FEM), since now we have a reference pressure (and also since ignore undrained is set to true)
applications/GeoMechanicsApplication/tests/test_normal_load_on_hexa_element.py
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/test_normal_load_on_hexa_element.py
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/hexa_8n_normal_load/MaterialParameters.json
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/hexa_8n_normal_load/MaterialParameters.json
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, I think this is good to go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many thanks for the final changes. I believe we're good to go :-)
📝 Description
We have identified that certain 3D conditions in GeoMechanicsApp are not functioning correctly due to the presence of edge and face swapping. These lines were originally introduced as a workaround for a bug that has since been fixed. See issues #9818 #9422.
However, it has come to our attention that these workarounds are now causing issues with our 3D boundary conditions, therefore they are removed, test cases adjusted and new test cases added.