-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cutoff for water fugacity calculation
- Loading branch information
1 parent
3483e3b
commit 0ae29c6
Showing
6 changed files
with
786 additions
and
1 deletion.
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
19 changes: 19 additions & 0 deletions
19
tests/hk04_olivine_composite_hydration_prefactor_cutoff.prm
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# A test case that checks the water fugacity viscous prefactor | ||
# multiplication scheme in combination with the visco plastic material model. | ||
# This test is almost identical to hk04_olivine_composite_hydration_prefactor.prm, | ||
# with the only difference being that the bound_fluid is 0. This test checks that | ||
# the HK04 olivine hydration Viscosity prefactor scheme will not divide by 0, but | ||
# will instead use the user input value set using 'Minimum weight percent bound | ||
# water content for fugacity'. The default value is 6.15e-6, and so following the | ||
# same calculation outlined in hk04_olivine_composite_hydration_prefactor.prm, the | ||
# material model should return 3.1724782150033374e22 Pa s for the viscosity. | ||
|
||
include $ASPECT_SOURCE_DIR/tests/hk04_olivine_composite_hydration_prefactor.prm | ||
|
||
# Set the bound water everywhere in the model to be 0. | ||
subsection Initial composition model | ||
set Model name = function | ||
subsection Function | ||
set Function expression = 0.0 | ||
end | ||
end |
30 changes: 30 additions & 0 deletions
30
tests/hk04_olivine_composite_hydration_prefactor_cutoff/screen-output
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
----------------------------------------------------------------------------- | ||
----------------------------------------------------------------------------- | ||
----------------------------------------------------------------------------- | ||
|
||
----------------------------------------------------------------------------- | ||
----------------------------------------------------------------------------- | ||
Number of active cells: 100 (on 1 levels) | ||
Number of degrees of freedom: 1,885 (882+121+441+441) | ||
|
||
*** Timestep 0: t=0 years, dt=0 years | ||
Solving temperature system... 0 iterations. | ||
Skipping bound_fluid composition solve because RHS is zero. | ||
Rebuilding Stokes preconditioner... | ||
Solving Stokes system... 14+0 iterations. | ||
Relative nonlinear residual (Stokes system) after nonlinear iteration 1: 1 | ||
|
||
|
||
Postprocessing: | ||
Average density / Average viscosity / Total mass: 3198 kg/m^3, 3.172e+22 Pa s, 3.198e+13 kg | ||
Writing graphical output: output-hk04_olivine_composite_hydration_prefactor_cutoff/solution/solution-00000 | ||
|
||
Termination requested by criterion: end time | ||
|
||
|
||
+----------------------------------------------+------------+------------+ | ||
+----------------------------------+-----------+------------+------------+ | ||
+----------------------------------+-----------+------------+------------+ | ||
|
||
----------------------------------------------------------------------------- | ||
----------------------------------------------------------------------------- |
Oops, something went wrong.