diff --git a/doc/Eqs/pair_sph_ideal.jpg b/doc/Eqs/pair_sph_ideal.jpg new file mode 100644 index 0000000000..ad9760d5ec Binary files /dev/null and b/doc/Eqs/pair_sph_ideal.jpg differ diff --git a/doc/Eqs/pair_sph_ideal.tex b/doc/Eqs/pair_sph_ideal.tex new file mode 100644 index 0000000000..91c64f00bc --- /dev/null +++ b/doc/Eqs/pair_sph_ideal.tex @@ -0,0 +1,9 @@ +\documentclass[12pt]{article} + +\begin{document} + +$$ + p = (\gamma - 1) \rho e +$$ + +\end{document} diff --git a/doc/Eqs/pair_sph_tait.jpg b/doc/Eqs/pair_sph_tait.jpg new file mode 100644 index 0000000000..96adab38e0 Binary files /dev/null and b/doc/Eqs/pair_sph_tait.jpg differ diff --git a/doc/Eqs/pair_sph_tait.tex b/doc/Eqs/pair_sph_tait.tex new file mode 100644 index 0000000000..4e1fa9cfed --- /dev/null +++ b/doc/Eqs/pair_sph_tait.tex @@ -0,0 +1,9 @@ +\documentclass[12pt]{article} + +\begin{document} + +$$ + p = B [(\frac{\rho}{\rho_0})^{\gamma} - 1] +$$ + +\end{document} diff --git a/doc/pair_sph_idealgas.html b/doc/pair_sph_idealgas.html index 8d5ac22a2d..4d45b2959c 100644 --- a/doc/pair_sph_idealgas.html +++ b/doc/pair_sph_idealgas.html @@ -25,10 +25,8 @@ pair_coeff * * 1.0 2.4
The sph/idealgas style computes pressure forces between particles according to the ideal gas equation of state:
-\beginequation -p = (\gamma - 1) \rho e, -\endequation -
+
+where gamma = 1.4 is the heat capacity ratio, rho is the local density, and e is the internal energy per unit mass. This pair style also computes Monaghan's artificial viscosity to prevent particles diff --git a/doc/pair_sph_idealgas.txt b/doc/pair_sph_idealgas.txt index ad8ef6a0c8..f28d26265e 100644 --- a/doc/pair_sph_idealgas.txt +++ b/doc/pair_sph_idealgas.txt @@ -22,9 +22,7 @@ pair_coeff * * 1.0 2.4 :pre The sph/idealgas style computes pressure forces between particles according to the ideal gas equation of state: -\begin{equation} -p = (\gamma - 1) \rho e, -\end{equation} +:c,image(Eqs/pair_sph_ideal.jpg) where gamma = 1.4 is the heat capacity ratio, rho is the local density, and e is the internal energy per unit mass. This pair style diff --git a/doc/pair_sph_taitwater.html b/doc/pair_sph_taitwater.html index 1d43a15374..7c350f2f37 100644 --- a/doc/pair_sph_taitwater.html +++ b/doc/pair_sph_taitwater.html @@ -25,10 +25,8 @@ pair_coeff * * 1000.0 1430.0 1.0 2.4
The sph/taitwater style computes pressure forces between SPH particles according to Tait's equation of state:
-\beginequation -p = B (\frac\rho\rho_0)^\gamma - 1, -\endequation -
+
+where gamma = 7 and B = c_0^2 rho_0 / gamma, with rho_0 being the reference density and c_0 the reference speed of sound.
diff --git a/doc/pair_sph_taitwater.txt b/doc/pair_sph_taitwater.txt index bb00aeffb1..5f6fbeb5b4 100644 --- a/doc/pair_sph_taitwater.txt +++ b/doc/pair_sph_taitwater.txt @@ -22,9 +22,7 @@ pair_coeff * * 1000.0 1430.0 1.0 2.4 :pre The sph/taitwater style computes pressure forces between SPH particles according to Tait's equation of state: -\begin{equation} -p = B [(\frac{\rho}{\rho_0})^{\gamma} - 1], -\end{equation} +:c,image(Eqs/pair_sph_tait.jpg) where gamma = 7 and B = c_0^2 rho_0 / gamma, with rho_0 being the reference density and c_0 the reference speed of sound. diff --git a/doc/pair_sph_taitwater_morris.html b/doc/pair_sph_taitwater_morris.html index 94b95fa71c..4abffb4c53 100644 --- a/doc/pair_sph_taitwater_morris.html +++ b/doc/pair_sph_taitwater_morris.html @@ -25,10 +25,8 @@ pair_coeff * * 1000.0 1430.0 1.0 2.4The sph/taitwater/morris style computes pressure forces between SPH particles according to Tait's equation of state:
-\beginequation -p = B (\frac\rho\rho_0)^\gamma - 1, -\endequation -
+
+where gamma = 7 and B = c_0^2 rho_0 / gamma, with rho_0 being the reference density and c_0 the reference speed of sound.
diff --git a/doc/pair_sph_taitwater_morris.txt b/doc/pair_sph_taitwater_morris.txt index 836440915f..8bedfd4991 100644 --- a/doc/pair_sph_taitwater_morris.txt +++ b/doc/pair_sph_taitwater_morris.txt @@ -22,9 +22,7 @@ pair_coeff * * 1000.0 1430.0 1.0 2.4 :pre The sph/taitwater/morris style computes pressure forces between SPH particles according to Tait's equation of state: -\begin{equation} -p = B [(\frac{\rho}{\rho_0})^{\gamma} - 1], -\end{equation} +:c,image(Eqs/pair_sph_tait.jpg) where gamma = 7 and B = c_0^2 rho_0 / gamma, with rho_0 being the reference density and c_0 the reference speed of sound.