You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cookbooks/CPO_induced_anisotropic_viscosity/shearbox_cpo_av.prm
+38-22Lines changed: 38 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,18 @@
1
-
#This cookbook demonstrate how CPO induced anisotropic viscosity evolves during simple shearing. The model consist of 1 cell and one particle in the middle. The particle includes 500 grains with initially random orientations (isotropic texture), which is then evolves into a CPO aligned with the shear direction
1
+
# This cookbook demonstrates how CPO induced anisotropic viscosity evolves during
2
+
# simple shearing. The model consists of 1 cell and one particle in the middle.
3
+
# The particle includes 500 grains with initially random orientations (isotropic
4
+
# texture), which then evolves into a CPO aligned with the shear direction.
5
+
2
6
set Additional shared libraries = ./plugin/libCPO_induced_anisotropic_viscosity.debug.so
3
-
set CFL number = 0.1 ##Annotation CFL number
7
+
set CFL number = 0.
4
8
set Timing output frequency = 10000
5
9
set Dimension = 3
6
10
set Pressure normalization = surface
7
11
set Surface pressure = 0
8
12
set Nonlinear solver scheme = single Advection, single Stokes
9
13
set End time = 0.1
10
-
# set Resume computation = true
11
14
set Use years instead of seconds = false
12
-
set Output directory = output_Shearbox_CPO_AV_1ts
15
+
set Output directory = output_Shearbox_CPO_AV
13
16
14
17
subsection Initial composition model
15
18
set List of model names = function
@@ -68,7 +71,10 @@ subsection Initial temperature model
68
71
set Model name = function
69
72
70
73
subsection Function
71
-
set Function expression = 1600 ## Annotation: Temperature function (note: anisotropic viscosity is not considered at T<1000K)
74
+
75
+
# Temperature function (anisotropic viscosity in this material is disabled at T<1000K)
76
+
77
+
set Function expression = 1600
72
78
end
73
79
end
74
80
@@ -87,10 +93,11 @@ subsection Boundary temperature model
set Prescribed velocity boundary indicators = top:function, bottom:function, left:function, right:function
97
+
91
98
subsection Function
92
99
set Variable names = x,y,z,t
93
-
set Function expression = (z-0.5);0;0 ## 13, top
100
+
set Function expression = (z-0.5);0;0
94
101
end
95
102
end
96
103
@@ -99,81 +106,90 @@ subsection Material model
99
106
set Model name = CPO-induced Anisotropic Viscosity
100
107
101
108
subsection CPO-induced Anisotropic Viscosity
102
-
set Reference viscosity = 1e9 # so that the initial stress is 0.3 MPa
109
+
# Chosen so that the initial stress is 0.3 MPa
110
+
111
+
set Reference viscosity = 1e9
103
112
end
104
113
end
105
114
106
115
subsection Mesh refinement
107
116
set Initial global refinement = 0
108
117
set Initial adaptive refinement = 0
109
-
set Time steps between mesh refinement = 10000
118
+
# For this single cell shear box test, there is no need for AMR
119
+
120
+
set Time steps between mesh refinement = 0
110
121
end
111
122
112
123
subsection Postprocess
113
124
set List of postprocessors = velocity statistics, composition statistics, memory statistics, visualization, particles, crystal preferred orientation
114
125
115
126
subsection Visualization
116
127
set Time between graphical output = 0.1
117
-
set List of output variables = material properties, strain rate, named additional outputs, shear stress, stress
128
+
set List of output variables = material properties, strain rate, named additional outputs, shear stress, stress
118
129
119
130
subsection Material properties
120
131
set List of material properties = density, viscosity
121
132
end
122
133
end
134
+
123
135
subsection Particles
124
136
set Time between data output = 0.1
125
137
set Data output format = gnuplot, vtu
126
138
set Exclude output properties = rotation_matrix, volume fraction
127
139
end
140
+
128
141
subsection Crystal Preferred Orientation
129
142
set Time between data output = 0.1
130
143
set Write in background thread = true
131
144
set Compress cpo data files = false
132
-
set Write out raw cpo data = mineral 0: volume fraction, mineral 0: Euler angles #, mineral 1: volume fraction, mineral 1: Euler angles
133
-
set Write out draw volume weighted cpo data = mineral 0: volume fraction, mineral 0: Euler angles #, mineral 1: volume fraction, mineral 1: Euler angles
145
+
set Write out raw cpo data = mineral 0: volume fraction, mineral 0: Euler angles
146
+
set Write out draw volume weighted cpo data = mineral 0: volume fraction, mineral 0: Euler angles
0 commit comments