From a76cf6d6741dc2a8b237c2f0ff43a9fad213f294 Mon Sep 17 00:00:00 2001 From: Nils Deppe Date: Wed, 21 Feb 2024 07:06:28 -0800 Subject: [PATCH] Document more quantities in polytropic EOS --- .../Hydro/EquationsOfState/PolytropicFluid.hpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/PointwiseFunctions/Hydro/EquationsOfState/PolytropicFluid.hpp b/src/PointwiseFunctions/Hydro/EquationsOfState/PolytropicFluid.hpp index a838e38f6baa..8304d414095e 100644 --- a/src/PointwiseFunctions/Hydro/EquationsOfState/PolytropicFluid.hpp +++ b/src/PointwiseFunctions/Hydro/EquationsOfState/PolytropicFluid.hpp @@ -34,12 +34,15 @@ namespace EquationsOfState { * polytropic exponent is related to the polytropic index \f$N_p\f$ by * \f$N_p=1/(\Gamma-1)\f$. * - * \f{align} - * \epsilon&=\frac{K}{\Gamma-1}\rho^{\Gamma-1} \\ + * We also have + * + * \f{align}{ + * \epsilon&=\frac{K\rho^{\Gamma-1}}{\Gamma-1}\\ * h&=1+\epsilon+\frac{p}{\rho}=1+\frac{K\Gamma}{\Gamma-1}\rho^{\Gamma-1} \\ + * T&=0 \\ * c_s^2&=\frac{\Gamma p}{\rho h} - * =\frac{\Gamma(\Gamma-1)p}{\rho(\Gamma-1)+\Gamma p} - * =\left(\frac{1}{K\Gamma\rho^{\Gamma-1}}+\frac{1}{\Gamma-1}\right)^{-1} + * =\frac{\Gamma(\Gamma-1)p}{\rho(\Gamma-1)+\Gamma p} + * =\left(\frac{1}{\Gamma K\rho^{\Gamma-1}}+\frac{1}{\Gamma-1}\right)^{-1} * \f} */ template