/
stress_build-up_maxwell_2d.prm
151 lines (129 loc) · 4.15 KB
/
stress_build-up_maxwell_2d.prm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# Global parameters
set Dimension = 2
set Start time = 0
set End time = 1e6
set Use years in output instead of seconds = true
set Use direct solver for Stokes system = false
set Linear solver tolerance = 1e-7
set Nonlinear solver scheme = IMPES
set Nonlinear solver tolerance = 1e-4
set Max nonlinear iterations = 10
set Number of cheap Stokes solver steps = 500
set CFL number = 0.5
set Maximum time step = 1000
set Output directory = output
set Timing output frequency = 1
set Pressure normalization = surface
set Surface pressure = 0.
# Model geometry (100x100 km, 1 km spacing)
subsection Geometry model
set Model name = box
subsection Box
set X repetitions = 100
set Y repetitions = 100
set X extent = 100e3
set Y extent = 100e3
end
end
# Mesh refinement specifications
subsection Mesh refinement
set Initial adaptive refinement = 0
set Initial global refinement = 0
set Time steps between mesh refinement = 0
end
# Boundary classifications
subsection Model settings
set Fixed composition boundary indicators = bottom, top, left, right
set Fixed temperature boundary indicators = bottom, top, left, right
set Prescribed velocity boundary indicators = bottom y:function, right x:function
set Free surface boundary indicators =
set Tangential velocity boundary indicators = top, left
set Zero velocity boundary indicators =
set Enable elasticity = true
end
subsection Boundary velocity model
subsection Function
set Variable names = x,y
set Function constants = cm=0.01, year=1
set Function expression = if (x<50e3 , -3.154*cm/year, 0.); if (y<50e3 , -3.154*cm/year, 0.);
end
end
# Number and name of compositional fields
subsection Compositional fields
set Number of fields = 3
set Names of fields = s11, s22, s12
end
# Spatial domain of different compositional fields
subsection Initial composition model
set Model name = function
subsection Function
set Variable names = x,y
set Function constants =
set Function expression = 0; 0; 0;
end
end
# Composition boundary conditions
# (Note: should change boundary values to be defined using analytical solution)
subsection Boundary composition model
set Model name = initial composition
end
# Temperature boundary and initial conditions
subsection Boundary temperature model
set Model name = box
subsection Box
set Bottom temperature = 273
set Left temperature = 273
set Right temperature = 273
set Top temperature = 273
end
end
subsection Initial temperature model
set Model name = function
subsection Function
set Function expression = 273
end
end
# Material model
subsection Material model
set Model name = viscoelastic
subsection Viscoelastic
set Densities = 2800
set Viscosities = 1.e22
set Elastic shear moduli = 1.e10
set Elastic time step = 1e3
set Viscosity averaging scheme = harmonic
end
end
# Gravity model
subsection Gravity model
set Model name = vertical
subsection Vertical
set Magnitude = 0.
end
end
# Element types
subsection Discretization
set Composition polynomial degree = 2
set Stokes velocity polynomial degree = 2
set Temperature polynomial degree = 1
end
# Post processing
subsection Postprocess
set List of postprocessors = basic statistics, composition statistics, temperature statistics, velocity statistics, visualization
subsection Visualization
set List of output variables = material properties, strain rate
subsection Material properties
set List of material properties = density, viscosity
end
set Time between graphical output = 1e3
set Interpolate output = true
end
end
# Termination criteria
subsection Termination criteria
set End step = 1000
set Termination criteria = end time
end
subsection Checkpointing
set Time between checkpoint = 100
end