/
solitary_wave.prm
170 lines (138 loc) · 5.41 KB
/
solitary_wave.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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
# Listing of Parameters
# ---------------------
# Set up the solitary wave benchmark
# (Barcilon & Richter, 1986; Simpson & Spiegelman, 2011;
# Keller et al., 2013; Schmeling, 200
set Additional shared libraries = ./libsolitary_wave.so
set Adiabatic surface temperature = 1623
set CFL number = 1.0
set Nonlinear solver scheme = iterated Advection and Stokes
set Output directory = output
set Max nonlinear iterations = 10
set Nonlinear solver tolerance = 1e-5
# The number of space dimensions you want to run this program in.
set Dimension = 2
# The end time of the simulation. Units: years if the 'Use years in output
# instead of seconds' parameter is set; seconds otherwise.
# This end time is chosen in such a way that the solitary wave travels
# approximately 5 times its wavelength during the model time.
set End time = 6e6
set Pressure normalization = surface
set Surface pressure = 0
set Resume computation = false
set Start time = 0
set Use years in output instead of seconds = true
subsection Discretization
subsection Stabilization parameters
set beta = 0.001
end
end
subsection Compositional fields
set Number of fields = 1
set Names of fields = porosity
end
subsection Boundary temperature model
set Fixed temperature boundary indicators = top, bottom
set List of model names = initial temperature
subsection Initial temperature
# Temperature at the inner boundary (core mantle boundary). Units: K.
set Maximal temperature = 3773
# Temperature at the outer boundary (lithosphere water/air). Units: K.
set Minimal temperature = 273
end
end
subsection Boundary composition model
set Fixed composition boundary indicators = top, bottom
set List of model names = initial composition
end
# we apply the phase speed of the wave here, so that it always stays in the same place in our model
# the phase speed is c = 5.25e-11 m/s, but we have to convert it to m/years using the same conversion
# that is used internally in ASPECT: year_in_seconds = 60*60*24*365.2425
subsection Boundary velocity model
set Tangential velocity boundary indicators = left, right
set Prescribed velocity boundary indicators = top:function, bottom:function
subsection Function
# set Function expression = 0;-8.2836999e-5
set Function expression = 0;-1.65673998e-4
# set Function expression = 0;-3.31347996e-4
# set Function expression = 0;-6.62695992e-4
end
end
subsection Geometry model
set Model name = box
subsection Box
set X extent = 10
set Y extent = 400
set Y repetitions = 40
end
end
subsection Gravity model
set Model name = vertical
subsection Vertical
# Magnitude of the gravity vector in $m/s^2$. The direction is always
# radially outward from the center of the earth.
set Magnitude = 10.0
end
end
subsection Initial temperature model
set Model name = function
subsection Function
set Function expression = 0
end
end
subsection Initial composition model
set Model name = Solitary wave initial condition
subsection Solitary wave initial condition
set Offset = 200
set Read solution from file = true
set Amplitude = 0.01
set Background porosity = 0.001
end
end
subsection Material model
set Model name = Solitary Wave
subsection Solitary wave
set Reference permeability = 5e-9
end
end
subsection Mesh refinement
set Coarsening fraction = 0.0
set Refinement fraction = 0.0
set Initial adaptive refinement = 0
set Initial global refinement = 4
set Strategy = composition
set Time steps between mesh refinement = 0
end
subsection Melt settings
set Include melt transport = true
end
subsection Postprocess
set List of postprocessors = visualization,composition statistics,velocity statistics,solitary wave statistics
subsection Visualization
set List of output variables = density, viscosity, thermal expansivity, melt material properties
# VTU file output supports grouping files from several CPUs into one file
# using MPI I/O when writing on a parallel filesystem. Select 0 for no
# grouping. This will disable parallel file output and instead write one
# file per processor in a background thread. A value of 1 will generate
# one big file containing the whole solution.
set Number of grouped files = 0
# The file format to be used for graphical output.
set Output format = vtu
# The time interval between each generation of graphical output files. A
# value of zero indicates that output should be generated in each time
# step. Units: years if the 'Use years in output instead of seconds'
# parameter is set; seconds otherwise.
set Time between graphical output = 5e5
subsection Melt material properties
set List of properties = fluid density, permeability, fluid viscosity, compaction viscosity
end
end
end
subsection Solver parameters
set Composition solver tolerance = 1e-14
set Temperature solver tolerance = 1e-14
subsection Stokes solver parameters
set Linear solver tolerance = 1e-10
set Number of cheap Stokes solver steps = 0
end
end