-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Towards element permeability matrices (#12408)
Precalculate relative permeability values as preparation for calculating element permeability matrices. When needed, modify these values by accounting for the permeability update factors (i.e. to account for volume changes in geometrically linear elements). Other changes include: - Members `CalculateRetentionResponse` no longer compute the relative permeability. It is now pre-calculated. - Extracted members that calculate the relative permeability values for all integration points of an element. - Moved the calculation of permeability update factors to the transport equation utilities. - Extracted a utility function that calculates fluid pressures at all integration points of an element. - Inlined the wrapper member functions that calculate and add the permeability matrix, to avoid needless levels of indirection. - Removed member `PermeabilityUpdateFactor` from two `ElementVariables` data structures. - Removed the unused `ProcessInfo` data member from the retention laws. - Removed several comments that had no additional value. - Miscellaneous cleanup: * Reduced the scope of some variables. * Don't use `noalias` if no performance benefit is to be expected. * Prefer to use `this->` to refer to base members rather than a `using` statement. * Removed some unnecessary `KRATOS_TRY` and `KRATOS_CATCH` statements. * Removed several empty statements. * Unnamed some unused function parameters.
- Loading branch information
Showing
32 changed files
with
326 additions
and
319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.