Skip to content

Commit eb674ff

Browse files
add test case
1 parent 9c600e1 commit eb674ff

File tree

5 files changed

+719
-0
lines changed

5 files changed

+719
-0
lines changed
Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
set Dimension = 3
2+
set Pressure normalization = surface
3+
set Surface pressure = 0
4+
set Nonlinear solver scheme = single Advection, no Stokes
5+
set End time = 1e5
6+
set Use years in output instead of seconds = false
7+
set Output directory = cpo_karato_simple_shearbox
8+
set Maximum time step = 1e4
9+
10+
subsection Compositional fields
11+
set Number of fields = 1
12+
set Names of fields = water
13+
set Compositional field methods = static
14+
end
15+
16+
subsection Initial composition model
17+
set Model name = function
18+
19+
subsection Function
20+
set Variable names = x,y,z
21+
set Function expression = 1000*x + 500
22+
end
23+
end
24+
25+
subsection Gravity model
26+
set Model name = vertical
27+
28+
subsection Vertical
29+
set Magnitude = 10
30+
end
31+
end
32+
33+
subsection Geometry model
34+
set Model name = box
35+
36+
subsection Box
37+
set X extent = 1
38+
set Y extent = 1
39+
set Z extent = 1
40+
set Box origin X coordinate = -0.500
41+
set Box origin Y coordinate = -0.500
42+
set Box origin Z coordinate = -0.500
43+
end
44+
end
45+
46+
subsection Initial temperature model
47+
set Model name = function
48+
49+
subsection Function
50+
set Function expression = 1200 ## Annotation: Temperature function
51+
end
52+
end
53+
54+
subsection Boundary temperature model
55+
set List of model names = box
56+
set Fixed temperature boundary indicators = bottom, top, left, right, front, back
57+
58+
subsection Box
59+
set Bottom temperature = 1200
60+
set Left temperature = 1200
61+
set Right temperature = 1200
62+
set Top temperature = 1200
63+
set Front temperature = 1200
64+
set Back temperature = 1200
65+
end
66+
end
67+
68+
subsection Prescribed Stokes solution
69+
set Model name = function
70+
71+
subsection Velocity function
72+
set Variable names = x,y,z,t
73+
set Function expression = z*1e-5;0;0 ## Annotation set velocity condition
74+
end
75+
end
76+
77+
78+
# Set the viscosity to be 1.75e13, which results in a differential stress
79+
# of 350 MPa when combined with the prescribed shear conditions.
80+
subsection Material model
81+
set Model name = visco plastic
82+
subsection Visco Plastic
83+
set Maximum viscosity = 1.75e13
84+
set Minimum viscosity = 1.75e13
85+
set Densities = 3300
86+
end
87+
end
88+
89+
# No need to refine the mesh in this case
90+
subsection Mesh refinement
91+
set Initial global refinement = 0
92+
set Initial adaptive refinement = 0
93+
set Time steps between mesh refinement = 10000
94+
end
95+
96+
97+
98+
subsection Solver parameters
99+
set Temperature solver tolerance = 1e-10
100+
end
101+
102+
subsection Particles
103+
set List of particle properties = crystal preferred orientation
104+
set Particle generator name = reference cell
105+
106+
subsection Generator
107+
subsection Reference cell
108+
set Number of particles per cell per direction = 5
109+
end
110+
end
111+
112+
subsection Crystal Preferred Orientation
113+
set Random number seed = 301
114+
set Number of grains per particle = 5
115+
set Property advection method = Backward Euler
116+
set Property advection tolerance = 1e-15
117+
set CPO derivatives algorithm = D-Rex 2004
118+
119+
subsection Initial grains
120+
set Minerals = Olivine: Karato 2008
121+
set Volume fractions minerals = 1.0
122+
end
123+
124+
subsection D-Rex 2004
125+
set Mobility = 125
126+
set Stress exponents = 3.5
127+
set Exponents p = 1.5
128+
set Nucleation efficiency = 5
129+
set Threshold GBS = 0.3
130+
end
131+
end
132+
133+
subsection CPO Bingham Average
134+
set Random number seed = 200
135+
end
136+
end
137+
138+
139+
subsection Postprocess
140+
set List of postprocessors = particles
141+
142+
subsection Particles
143+
set Time between data output = 1e5
144+
set Data output format = gnuplot
145+
set Exclude output properties = a_cosine_matrix, volume fraction, integrated strain invariant, crystal preferred orientation, cpo elastic tensor, cpo bingham average, elastic tensor decomposition
146+
end
147+
end

0 commit comments

Comments
 (0)