Skip to content
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

Merged
merged 15 commits into from
Apr 2, 2024

Conversation

markelov208
Copy link
Contributor

@markelov208 markelov208 commented Mar 28, 2024

📝 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

  • The calculation of the compressibility matrix is available as a utility function, which takes the pressure shape function, integration coefficient and the inverse Biot Modulus for all integration points as input and returns the element matrix.
  • This calculation is defined once and re-used at all locations where this calculation is done in the geomechanics application.
  • The utility function is documented and unit-tested.

@markelov208 markelov208 self-assigned this Mar 29, 2024
Copy link
Contributor

@rfaasse rfaasse left a 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.

Copy link
Contributor Author

@markelov208 markelov208 left a 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.

Copy link
Contributor

@avdg81 avdg81 left a 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.

Copy link
Contributor Author

@markelov208 markelov208 left a 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.

rfaasse
rfaasse previously approved these changes Apr 2, 2024
Copy link
Contributor

@rfaasse rfaasse left a 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!

Copy link
Contributor

@avdg81 avdg81 left a 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 :-)

Copy link
Contributor

@avdg81 avdg81 left a 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 :-)

@markelov208 markelov208 merged commit 0c77a49 into master Apr 2, 2024
11 checks passed
@markelov208 markelov208 deleted the geo/extract-utility-function-C branch April 2, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants