-
Notifications
You must be signed in to change notification settings - Fork 273
Expand file tree
/
Copy pathonset_of_convection.prm
More file actions
93 lines (76 loc) · 2.41 KB
/
onset_of_convection.prm
File metadata and controls
93 lines (76 loc) · 2.41 KB
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
# This setup is a copy of the
# benchmarks/onset-of-convection/convection-box-base.prm
# contributed by Max Rudolph, with the difference that
# parameter values are specified explicitly in the input file
# (rather than through an ipython notebook).
set Dimension = 2
set Use years instead of seconds = true
set Output directory = output
set Pressure normalization = surface
set Surface pressure = 0
set Use conduction timestep = true
subsection Termination criteria
set Termination criteria = end step
set End step = 100
end
subsection Formulation
set Formulation = Boussinesq approximation
end
subsection Geometry model
set Model name = box
subsection Box
set X extent = 9.424777e6 # pi * 3e6
set Y extent = 3e6
set X repetitions = 3
set Y repetitions = 1
end
end
subsection Initial temperature model
set Model name = function
subsection Function
set Variable names = x,z
set Function constants = p=1, L=9.424777e6, H=3.0e6, pi=3.1415926536, k=2
set Function expression = 2500 * (1.0-z/H) - p*cos(k*pi*x/L)*sin(pi*z/H)
end
end
subsection Boundary temperature model
set Fixed temperature boundary indicators = bottom, top
set List of model names = box
subsection Box
set Bottom temperature = 2500
set Left temperature = 0
set Right temperature = 0
set Top temperature = 0
end
end
subsection Boundary velocity model
set Tangential velocity boundary indicators = left, right, bottom, top
end
subsection Gravity model
set Model name = vertical
subsection Vertical
set Magnitude = 10.0
end
end
subsection Material model
set Model name = simple
subsection Simple model
set Reference density = 4000
set Reference specific heat = 1250
set Reference temperature = 0
set Thermal conductivity = 4.0
set Thermal expansion coefficient = 3e-5
set Viscosity = 1e23
end
end
subsection Mesh refinement
set Initial global refinement = 4
set Initial adaptive refinement = 0
set Time steps between mesh refinement = 0
end
subsection Postprocess
set List of postprocessors = velocity statistics, visualization
subsection Visualization
set Time steps between graphical output = 5
end
end