User: bmundim Date: 2012/03/13 12:06 PM
Modified: /trunk/ param.ccl /trunk/doc/ documentation.tex
Log: epsilon: specific internal energy (ie energy/mass)
File Changes:
Directory: /trunk/doc/ ======================
File [modified]: documentation.tex Delta lines: +6 -6 =================================================================== --- trunk/doc/documentation.tex 2012-02-16 23:18:45 UTC (rev 314) +++ trunk/doc/documentation.tex 2012-03-13 17:06:08 UTC (rev 315) @@ -204,11 +204,11 @@
For the equations of state, two ``types'' are recognized, controlled by the parameter {\tt GRHydro_eos_type}. These are {\tt "Polytype"} -where the pressure is a function of the density, $P=P(\rho)$, and the +where the pressure is a function of the rest-mass density, $P=P(\rho)$, and the more generic {\tt "General"} type where the pressure is a function -of the density and the internal energy, $P=P(\rho, \epsilon)$. For the +of the rest-mass density and the specific internal energy, $P=P(\rho, \epsilon)$. For the {\tt Polytype} equations of state one fewer equation is evolved and -the specific internal energy is set directly from the density. The +the specific internal energy is set directly from the rest-mass density. The actual equation of state used is controlled by the parameter {\tt GRHydro_eos_table}. Polytype equations of state include {\tt "2D_Polytrope"} and general equations of state include {\tt @@ -312,8 +312,8 @@ $D$ is the generalized particle number density, $S^i$ are the generalized momenta in each direction, and $\tau$ is an internal energy term. These conserved variables are composed from a set of {\it primitive variables}, -which are $\rho$, the density, $p$, the -pressure, $v^i$, the fluid 3-velocities, $\epsilon$, the internal +which are $\rho$, the rest-mass density, $p$, the +pressure, $v^i$, the fluid 3-velocities, $\epsilon$, the specific internal energy, and $W$, the Lorentz factor, via the following relations % from GRHydro/src/Prim2con.F90 % w = 1.d0 / sqrt(1.d0 - (gxx*dvelx*dvelx + gyy*dvely*dvely + gzz & @@ -342,7 +342,7 @@ Only five of the primitive variables are independent. Usually the Lorentz factor is defined in terms of the velocities and the metric as $W = (1-\gamma_{ij}v^i v^j)^{-1/2}$. -Also one of the pressure, density or internal energy terms is given in +Also one of the pressure, rest-mass density or specific internal energy terms is given in terms of the other two by an {\it equation of state}.
The fluxes are usually defined in terms of both the conserved
Directory: /trunk/ ==================
File [modified]: param.ccl Delta lines: +1 -1 =================================================================== --- trunk/param.ccl 2012-02-16 23:18:45 UTC (rev 314) +++ trunk/param.ccl 2012-03-13 17:06:08 UTC (rev 315) @@ -322,7 +322,7 @@ 0: :: "greater than zero" } 1.e-20
-real GRHydro_eps_min "Minimum value of internal energy - this is now only used in GRHydro_InitData's GRHydro_Only_Atmo routine" +real GRHydro_eps_min "Minimum value of specific internal energy - this is now only used in GRHydro_InitData's GRHydro_Only_Atmo routine" { 0: :: "Positive" } 1.e-10
commits@lists.einsteintoolkit.org