-
Notifications
You must be signed in to change notification settings - Fork 244
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] Extract a static utility function for the calculation of the Compressibility Matrix (C) #12232
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.
This is a neat PR and moves all instances of the formula to a single location, very nice! I just have a few suggestions, but only minor ones.
applications/GeoMechanicsApplication/custom_conditions/U_Pw_normal_flux_FIC_condition.cpp
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_conditions/U_Pw_normal_flux_FIC_condition.cpp
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_utilities/transport_equation_utilities.hpp
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_utilities/transport_equation_utilities.hpp
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/cpp_tests/test_compressibility_matrix.cpp
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/cpp_tests/test_compressibility_matrix.cpp
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/cpp_tests/test_compressibility_matrix.cpp
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/cpp_tests/test_compressibility_matrix.cpp
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.
Richard, thank you very much for the quick review and useful suggestions.
applications/GeoMechanicsApplication/custom_conditions/U_Pw_normal_flux_FIC_condition.cpp
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_utilities/transport_equation_utilities.hpp
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_utilities/transport_equation_utilities.hpp
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/cpp_tests/test_compressibility_matrix.cpp
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/cpp_tests/test_compressibility_matrix.cpp
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/cpp_tests/test_compressibility_matrix.cpp
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/tests/cpp_tests/test_compressibility_matrix.cpp
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.
This cleans up nicely again. Thank you very much for the time and effort you have put into this. I only have a few very minor remarks and a question.
applications/GeoMechanicsApplication/custom_elements/transient_Pw_interface_element.cpp
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_elements/transient_Pw_interface_element.cpp
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_utilities/transport_equation_utilities.hpp
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_utilities/README.md
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_utilities/transport_equation_utilities.hpp
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.
Anne, thank you very much for your comment. DtPressureCoefficient has been removed from CalculateCompressibilityMatrix function that makes the function simpler.
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 for incorporating the changes! Looks good to go from my perspective!
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 have just one small suggestion as a result of your most recent changes. Apart from that, we're ready to go if you'd ask me :-)
applications/GeoMechanicsApplication/custom_utilities/transport_equation_utilities.hpp
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.
This looks good to me, so please merge :-)
📝 Description
A utility function which can calculate the compressibility matrix, such that this can be re-used and steps are taken towards the addition of the #12067.
🆕 Changelog