Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lhy11009 committed Sep 13, 2023
1 parent 661cad0 commit c176ae3
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 4 deletions.
3 changes: 2 additions & 1 deletion tests/entropy_initial_lookup.prm
@@ -1,5 +1,6 @@
# Entropy field initiated with a constant temperature and a table lookup of
# (P, T) -> S.
# (P, T) -> S. In the initial step, the temperature outputs is compared with
# the constant temperature.

set Dimension = 2
set Use years in output instead of seconds = true
Expand Down
25 changes: 25 additions & 0 deletions tests/entropy_initial_lookup/screen-output
@@ -0,0 +1,25 @@

Loading shared library <./libentropy_initial_lookup.debug.so>

Number of active cells: 100 (on 1 levels)
Number of degrees of freedom: 3,217 (1,206+202+603+603+603)

*** Timestep 0: t=0 years, dt=0 years
Copying properties into prescribed temperature field... done.
Solving temperature system... 7 iterations.
Solving entropy system ... 3 iterations.
Copying properties into prescribed compositional field density_field... done.
Rebuilding Stokes preconditioner...
Solving Stokes system... 2+0 iterations.

Postprocessing:
Writing graphical output: output-entropy_initial_lookup/solution/solution-00000
RMS, max velocity: 0.01 m/year, 0.01 m/year
Temperature min/avg/max: 1596 K, 1600 K, 1603 K
Mass fluxes through boundary parts: 0 kg/yr, 0 kg/yr, 6.213e+05 kg/yr, -4.081e+05 kg/yr
Compositions min/max/mass: 2197/2533/3.957e+13 // 3140/4779/6.908e+13

Termination requested by criterion: end time



6 changes: 3 additions & 3 deletions tests/entropy_initial_lookup_wb.prm
@@ -1,5 +1,5 @@
# Entropy field initiated with a temperature field from the World builder
# and a table lookup of (P, T) -> S.
# Entropy field initiated with a temperature field of a subduction slab
# from the World builder and a table lookup of (P, T) -> S.

set Dimension = 2
set Use years in output instead of seconds = true
Expand All @@ -12,7 +12,7 @@ set Surface pressure = 0
set Adiabatic surface temperature = 1573.0
set Resume computation = false
set Nonlinear solver scheme = single Advection, single Stokes
set World builder file = entropy_initial_lookup_wb.wb
set World builder file = $ASPECT_SOURCE_DIR/tests/entropy_initial_lookup_wb.wb


subsection Discretization
Expand Down
54 changes: 54 additions & 0 deletions tests/entropy_initial_lookup_wb/screen-output
@@ -0,0 +1,54 @@

Loading shared library <./libentropy_initial_lookup_wb.debug.so>

Number of active cells: 384 (on 4 levels)
Number of degrees of freedom: 8,686 (3,298+441+1,649+1,649+1,649)

Postprocessing:
Writing graphical output: output-entropy_initial_lookup_wb/solution/solution-00000
RMS, max velocity: 0 m/year, 0 m/year
Temperature min/avg/max: 273 K, 2171 K, 3500 K
Mass fluxes through boundary parts: 0 kg/yr, 0 kg/yr, 0 kg/yr, 0 kg/yr
Compositions min/max/mass: 577.9/2758/1.077e+17 // 0/0/0

Number of active cells: 537 (on 5 levels)
Number of degrees of freedom: 12,720 (4,830+645+2,415+2,415+2,415)

Postprocessing:
Writing graphical output: output-entropy_initial_lookup_wb/solution/solution-00001
RMS, max velocity: 0 m/year, 0 m/year
Temperature min/avg/max: 273 K, 2183 K, 3500 K
Mass fluxes through boundary parts: 0 kg/yr, 0 kg/yr, 0 kg/yr, 0 kg/yr
Compositions min/max/mass: 577.9/2758/1.086e+17 // 0/0/0

Number of active cells: 864 (on 6 levels)
Number of degrees of freedom: 21,239 (8,066+1,074+4,033+4,033+4,033)

Postprocessing:
Writing graphical output: output-entropy_initial_lookup_wb/solution/solution-00002
RMS, max velocity: 0 m/year, 0 m/year
Temperature min/avg/max: 273 K, 2185 K, 3500 K
Mass fluxes through boundary parts: 0 kg/yr, 0 kg/yr, 0 kg/yr, 0 kg/yr
Compositions min/max/mass: 577.9/2758/1.089e+17 // 0/0/0

Number of active cells: 1,548 (on 7 levels)
Number of degrees of freedom: 39,001 (14,814+1,966+7,407+7,407+7,407)

*** Timestep 0: t=0 years, dt=0 years
Solving temperature system... 0 iterations.
Solving entropy system ... 0 iterations.
Copying properties into prescribed compositional field density_field... done.
Rebuilding Stokes preconditioner...
Solving Stokes system... 44+0 iterations.

Postprocessing:
Writing graphical output: output-entropy_initial_lookup_wb/solution/solution-00003
RMS, max velocity: 0.00826 m/year, 0.0272 m/year
Temperature min/avg/max: 273 K, 2184 K, 3500 K
Mass fluxes through boundary parts: 0.001044 kg/yr, 0.004262 kg/yr, 0 kg/yr, -8.375e-08 kg/yr
Compositions min/max/mass: 577.9/2758/1.089e+17 // 3228/5592/1.941e+17

Termination requested by criterion: end time



0 comments on commit c176ae3

Please sign in to comment.