Skip to content

Commit dfd7e7d

Browse files
committed
add gmg gc test
1 parent 8c79340 commit dfd7e7d

File tree

2 files changed

+125
-0
lines changed

2 files changed

+125
-0
lines changed

tests/shell_2d_gmg_gc.prm

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# 2d shell with no flux top boundary to test GMG
2+
3+
4+
set Dimension = 2
5+
set Use years instead of seconds = true
6+
set End time = 1.0e5
7+
set Output directory = output-shell_2d_gmg
8+
9+
subsection Material model
10+
set Model name = simple
11+
set Material averaging = harmonic average only viscosity
12+
13+
subsection Simple model
14+
set Thermal expansion coefficient = 4e-5
15+
set Viscosity = 1e22
16+
end
17+
end
18+
19+
subsection Geometry model
20+
set Model name = spherical shell
21+
22+
subsection Spherical shell
23+
set Inner radius = 3481000
24+
set Outer radius = 6336000
25+
set Opening angle = 360
26+
end
27+
end
28+
29+
subsection Boundary velocity model
30+
set Zero velocity boundary indicators = inner
31+
set Tangential velocity boundary indicators = top
32+
end
33+
34+
subsection Heating model
35+
set List of model names = shear heating
36+
end
37+
38+
subsection Boundary temperature model
39+
set Fixed temperature boundary indicators = top, bottom
40+
set List of model names = spherical constant
41+
42+
subsection Spherical constant
43+
set Inner temperature = 4273
44+
set Outer temperature = 973
45+
end
46+
end
47+
48+
subsection Initial temperature model
49+
set Model name = spherical hexagonal perturbation
50+
end
51+
52+
subsection Gravity model
53+
set Model name = ascii data
54+
end
55+
56+
subsection Mesh refinement
57+
set Initial global refinement = 2
58+
set Initial adaptive refinement = 2
59+
set Strategy = temperature
60+
set Time steps between mesh refinement = 15
61+
end
62+
63+
subsection Postprocess
64+
set List of postprocessors = visualization, velocity statistics, temperature statistics, heat flux statistics, depth average
65+
66+
subsection Visualization
67+
set Output format = vtu
68+
set Time between graphical output = 1e6
69+
set Number of grouped files = 0
70+
end
71+
72+
subsection Depth average
73+
set Time between graphical output = 1e5
74+
end
75+
end
76+
77+
subsection Solver parameters
78+
subsection Stokes solver parameters
79+
set Stokes solver type = block GMG
80+
set Stokes GMG type = global coarsening
81+
end
82+
end
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
2+
Number of active cells: 192 (on 3 levels)
3+
Number of degrees of freedom: 2,832 (1,728+240+864)
4+
5+
*** Timestep 0: t=0 years, dt=0 years
6+
Solving temperature system... 0 iterations.
7+
Solving Stokes system (GMG)... 15+0 iterations.
8+
9+
Number of active cells: 300 (on 4 levels)
10+
Number of degrees of freedom: 4,782 (2,928+390+1,464)
11+
12+
*** Timestep 0: t=0 years, dt=0 years
13+
Solving temperature system... 0 iterations.
14+
Solving Stokes system (GMG)... 20+0 iterations.
15+
16+
Number of active cells: 480 (on 4 levels)
17+
Number of degrees of freedom: 7,200 (4,416+576+2,208)
18+
19+
*** Timestep 0: t=0 years, dt=0 years
20+
Solving temperature system... 0 iterations.
21+
Solving Stokes system (GMG)... 17+0 iterations.
22+
23+
Postprocessing:
24+
Writing graphical output: output-shell_2d_gmg/solution/solution-00000
25+
RMS, max velocity: 0.0795 m/year, 0.129 m/year
26+
Temperature min/avg/max: 973 K, 2463 K, 4273 K
27+
Heat fluxes through boundary parts: 1.16e+06 W, 2.184e+06 W
28+
Writing depth average: output-shell_2d_gmg/depth_average
29+
30+
*** Timestep 1: t=100000 years, dt=100000 years
31+
Solving temperature system... 8 iterations.
32+
Solving Stokes system (GMG)... 13+0 iterations.
33+
34+
Postprocessing:
35+
RMS, max velocity: 0.0856 m/year, 0.139 m/year
36+
Temperature min/avg/max: 973 K, 2463 K, 4273 K
37+
Heat fluxes through boundary parts: -3.236e+05 W, 4.077e+06 W
38+
Writing depth average: output-shell_2d_gmg/depth_average
39+
40+
Termination requested by criterion: end time
41+
42+
43+

0 commit comments

Comments
 (0)