Skip to content

Commit fa944db

Browse files
committed
Fix equation and typo
1 parent 1a6ca69 commit fa944db

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

cookbooks/CPO_induced_anisotropic_viscosity/plugin/anisotropic_stress.cc

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,17 @@ namespace aspect
112112
{
113113
ASPECT_REGISTER_VISUALIZATION_POSTPROCESSOR(AnisotropicStress,
114114
"Anisotropic stress",
115-
"A visualization output "
116-
"object that generates "
117-
"adiabatic temperature, pressure, "
118-
"density, and density derivative (with regard to depth)"
119-
"as produced by the \\texttt{AdiabaticConditions} class."
120-
"\n\n"
121-
"Physical units: $\\text{K}$, $\\text{Pa}$, "
122-
"$\\frac{\\text{kg}}{\\text{m}^3\\text{m}}$}, "
123-
"respectively, for the four components.")
115+
"A visualization output object that generates "
116+
"the 3 or 6 independent components (in 2d and 3d, respectively) "
117+
"of the anisotropic stress tensor. "
118+
"The anisotropic stress is defined as $2 \\eta "
119+
"(\\varepsilon(\\mathbf u) - \\tfrac 13 \\text{trace} "
120+
"\\varepsilon(\\mathbf u) \\mathbf 1) = 2\\eta (\\varepsilon(\\mathbf u) - "
121+
"\\frac 13 (\\nabla \\cdot \\mathbf u) \\mathbf I)$ * stress_strain_directors, "
122+
"and differs from the full stress by the absence of the pressure. "
123+
"The second term in the difference is zero if the model is incompressible. "
124+
"This particle property plugin should only be activated when using "
125+
"the CPO induced anisotropic viscosity material model from the cookbook.")
124126
}
125127
}
126128
}

0 commit comments

Comments
 (0)