-
Notifications
You must be signed in to change notification settings - Fork 21
Solver/two phase semi implicit #5
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
Merged
Merged
Conversation
This file contains hidden or 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
…-geo/mpm into refactor/particles
…into solver/navier-stokes-parallel
…two-phase-explicit
…into solver/navier-stokes-parallel
yliang-sn
previously approved these changes
Aug 16, 2021
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5 +/- ##
==========================================
- Coverage 96.77% 95.68% -1.10%
==========================================
Files 130 168 +38
Lines 25920 34544 +8624
==========================================
+ Hits 25083 33050 +7967
- Misses 837 1494 +657 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
yliang-sn
approved these changes
Sep 2, 2021
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe the PR
This PR is to implement the two-phase one-layer solvers for fully saturated soil simulation. One particle includes both solid phase and liquid phase, which are defined by the corresponding volume fractions (
n_sandn_w). The theory of porous media is adopted to set up the governing equations (momentum balance and mass balance). All implementations work coherently with the current MPI and OpenMP parallelization features. Two solvers are presented in this PR: explicit and semi-implicit.New implementation
TwoPhase Particle
ParticleTwoPhasederived fromParticle, which include all necessary functions for two-phase computation and new variables for two-phase (etc. pore pressure, porosity)ParticleTwoPhase(also includes refactoring of base hdf5 class)MPMExplicitTwoPhase
MPMExplicitTwoPhasederived fromMPMBase, which includes the main loop for two-phase computation.MPMBaseto read the new types of input files for two-phase.MPMSemiImplicitTwoPhase
MPMSemiImplicitTwoPhasederived fromMPMBase, which includes the main loop for two-phase computation.TwoPhase functions for nodes
Nodeclass directly (seenode_multiphase.tcc)Free surface detection functions in mesh
Meshclass (seemesh_multiphase.tcc)Unit tests and benchmarks
All new implementations are validated by corresponding test functions, and the unit-test for two-phase computation is also included. Related 2D and 3D one-dimensional consolidation tests can be found here: cb-geo/mpm-benchmarks#19.