Merge lp://staging/~ctjacobs-multiphase/fluidity/ctjacobs-multiphase into lp://staging/fluidity
Status: | Merged |
---|---|
Approved by: | Christian Jacobs |
Approved revision: | 3460 |
Merged at revision: | 3520 |
Proposed branch: | lp://staging/~ctjacobs-multiphase/fluidity/ctjacobs-multiphase |
Merge into: | lp://staging/fluidity |
Diff against target: |
11791 lines (+10472/-504) 29 files modified
assemble/Momentum_CG.F90 (+35/-13) assemble/Momentum_DG.F90 (+259/-78) assemble/Momentum_Equation.F90 (+21/-4) assemble/Multiphase.F90 (+307/-13) manual/bibliography.bib (+21/-2) manual/configuring_fluidity.tex (+45/-4) manual/model_equations.tex (+20/-2) schemas/fluidity_options.rnc (+5/-10) schemas/fluidity_options.rng (+3/-14) tests/Stokes_3d_busse_1a_p2p1/Makefile (+2/-3) tests/Stokes_3d_busse_1a_p2p1/src/Busse_C1.msh (+5690/-0) tests/mphase_divergence_free_velocity/mphase_divergence_free_velocity.xml (+3/-3) tests/mphase_identical_velocities/Makefile (+5/-6) tests/mphase_identical_velocities/mphase_identical_velocities.xml (+46/-26) tests/mphase_identical_velocities/single_phase_results.vtu (+27/-0) tests/mphase_identical_velocities/src/mphase_identical_velocities.msh (+1027/-0) tests/mphase_identical_velocities_dg/Makefile (+17/-0) tests/mphase_identical_velocities_dg/mphase_identical_velocities_dg.flml (+471/-0) tests/mphase_identical_velocities_dg/mphase_identical_velocities_dg.xml (+73/-0) tests/mphase_identical_velocities_dg/single_phase_results.vtu (+27/-0) tests/mphase_identical_velocities_dg/src/mphase_identical_velocities_dg.geo (+16/-0) tests/mphase_identical_velocities_dg/src/mphase_identical_velocities_dg.msh (+1399/-0) tests/mphase_sedimentation/mphase_sedimentation.flml (+1/-1) tests/mphase_sedimentation/mphase_sedimentation.xml (+77/-3) tests/mphase_stokes_law/Makefile (+17/-0) tests/mphase_stokes_law/mphase_stokes_law.flml (+683/-0) tests/mphase_stokes_law/mphase_stokes_law.xml (+62/-0) tests/mphase_stokes_law/src/mphase_stokes_law.geo (+19/-0) tests/mphase_tephra_settling/mphase_tephra_settling.flml (+94/-322) |
To merge this branch: | bzr merge lp://staging/~ctjacobs-multiphase/fluidity/ctjacobs-multiphase |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christian Jacobs | Approve | ||
Stephan Kramer | Approve | ||
Cian Wilson | Approve | ||
Review via email: mp+65971@code.staging.launchpad.net |
Description of the change
Proposing merge of ctjacobs-multiphase branch revisions r3410 to r3445 (inclusive) into trunk.
All unit, short and medium tests passed at branch revision r3443 - I'm re-running the build queue now to include Cian's changes to vtktools.py (trunk r3504) and Tim's changes to configure (trunk r3505), just in case.
Summary of changes:
===================
- Extended Momentum_DG.F90 to handle multi-phase flows. bassi_rebay and compact_
- Changed the form of the viscosity term from vfrac*div(T) to div(vfrac*T).
- Added multi-phase support for integrate_
- Removed unused variables from Momentum_
- Capped the non-linear approximation to the volume fraction that gets used in the momentum equation, rather than chopping bits off the actual PhaseVolumeFraction field.
- Added four new multi-phase test cases:
1) 'mphase_stokes_law' demonstrates that the particle phase's terminal velocity is the same as the one predicted by Stokes' law when using the fluid-particle drag term: http://
2) 'mphase_
3 & 4) 'mphase_
- In the mphase_
- In the mphase_
- In the mphase_
- In the mphase_
Note: This merge will contain Cian's fix (r3497 of branch lp:~fluidity-core/fluidity/parallel_periodic_adaptive) for the Stokes_
Looks good to me.
Only one small fix I'd suggest. In the calls to construct_ momentum_ interface_ dg and construct_ momentum_ element_ dg in Momentum_DG.F90 you shouldn't add extra required arguments (in this case nvfrac) after optional arguments (ib_min_grad etc.). Optional arguments should be the last things in the call list.