cubic equation of state More...
#include <cl_GM_EoS_Cubic.hpp>
Public Member Functions | |
| EoS_Cubic (Gas &aParent, const GasModel aGasModel) | |
| ~EoS_Cubic () | |
| void | remix () |
| call the remix function of the equation of state | |
| real | p (const real T, const real v) const |
| pressure in Pa | |
| real | v (const real T, const real p) const |
| specific volume in m^3/kg | |
| real | T (const real p, const real v) const |
| temperature in K | |
| real | dpdT (const real T, const real v) const |
| \( \frac{\partial p}{\partial T } = \frac{R}{ v - b} - \frac{a \,\frac{\partial \alpha}{\partial T }}{ \left( v-b \, r_1\right) \, \left( v-b \, r_2\right)} \) | |
| real | d2pdT2 (const real T, const real v) const |
| \( \frac{\partial^2 p}{\partial T^2} = - \frac{a \, \frac{\partial^2 \alpha}{\partial T^2}}{ \left( v-b \, r_1\right) \, \left( v-b \, r_2\right)}
\) | |
| real | dpdv (const real T, const real v) const |
| \( \frac{\partial p}{\partial v} = -\frac{R \, T }{\left( v - b\right)^2} - \frac{a \, \alpha \left[ b \, \left( r_1 + r_2 \right) - 2 \, v \right] }{ \left[\left( v-b \, r_1\right) \, \left( v-b \,r_2\right) \right]^2}
\) | |
| real | d2pdv2 (const real T, const real v) const |
| \( \frac{\partial^2 p}{\partial v^2} = 2 \, \left\{ \frac{R \, T }{\left( v - b\right)^3} - \frac{a \, \alpha \left[ b^2 \, \left( r_1^2 + r_1\,r_2 + r_2^2 \right) - 3 \, b \, \left(r_1 + r_2 \right) \, v + 3 \, v^2 \right] }{ \left[\left( v-b \, r_1\right) \, \left( v-b \,r_2\right) \right]^3} \right\}
\) | |
| real | alpha (const real T, const real p) const |
| thermal expansion coefficient | |
| real | beta (const real T, const real p) const |
| isochoric stress coefficient | |
| real | kappa (const real T, const real p) const |
| isothermal compressibility coefficient | |
| real | hdep (const real T, const real p) const |
| enthalpy departure \( h - h^{\circ} = p\, v - R\,T + \frac{T \, \frac{\partial a}{\partial T} - a}{b \, \left( r_2 - r_1\right)} \, \ln \left[ \frac{v - b \, r_1}{v - b \, r_2}\right] \) | |
| real | cpdep (const real T, const real p) const |
| real | sdep (const real T, const real p) const |
| real | dhdepdp (const real T, const real p) const |
| real | dsdepdT (const real T, const real p) const |
| real | dsdepdp (const real T, const real p) const |
| real | hdep0 (const real T) const |
| real | cpdep0 (const real T) const |
| real | sdep0 (const real T) const |
| real | dsdepdT0 (const real T) const |
| void | eval_critical_point (real &T, real &p, real &v) const |
| real | v (const uint aIndex, const real T, const real p) const |
| real | hdep (const uint aIndex, const real T, const real p) const |
| real | cpdep (const uint aIndex, const real T, const real p) const |
| Public Member Functions inherited from belfem::gasmodels::EoS | |
| EoS (Gas &aParent) | |
| virtual | ~EoS ()=default |
| virtual real | dvdT (const real T, const real v) const |
| virtual real | h (const real T, const real p) const |
| virtual real | hvap (const real T, const real p) const |
| virtual real | cv (const real T, const real p) const |
| virtual real | cp (const real T, const real p) const |
| virtual real | s (const real T, const real p) const |
| virtual real | dsdT (const real T, const real p) const |
| virtual real | dsdp (const real T, const real p) const |
| virtual real | w (const real T, const real p) const |
| speed of sound in m/s ( helmholtz only ) | |
| virtual real | pi (const real T, const real p) const |
| virtual real | dpidp (const real T, const real p) const |
| virtual real | p_vap (const real T) const |
| virtual real | T_vap (const real p) const |
| Gas * | parent () |
| expose the parent of this EoS | |
Additional Inherited Members | |
| Protected Attributes inherited from belfem::gasmodels::EoS | |
| Gas & | mParent |
| gas object that owns this class | |
| Statevals & | mStatevals |
| statevals object | |
| const real & | mR |
| specific gas constant | |
| const real & | mM |
| molar mass in kg/Mol | |
cubic equation of state
\( p = \frac{R \, T }{ v - b} - \frac{a \, \alpha}{ \left( v-b \, r_1\right) \, \left( v-b \, r_2\right)} \)
| belfem::gasmodels::EoS_Cubic::~EoS_Cubic | ( | ) |
thermal expansion coefficient
\( \alpha = \frac{1}{v} \left( \frac{\partial v}{\partial T}\right)_p \)
| T | temperature in K |
| p | pressure in Pa |
Reimplemented from belfem::gasmodels::EoS.
isochoric stress coefficient
\( \beta = \frac{1}{p} \left( \frac{\partial p}{\partial T}\right)_v \)
| T | temperature in K |
| p | pressure in Pa |
Reimplemented from belfem::gasmodels::EoS.
Reimplemented from belfem::gasmodels::EoS.
|
virtual |
Reimplemented from belfem::gasmodels::EoS.
Reimplemented from belfem::gasmodels::EoS.
\( \frac{\partial^2 p}{\partial T^2} = - \frac{a \, \frac{\partial^2 \alpha}{\partial T^2}}{ \left( v-b \, r_1\right) \, \left( v-b \, r_2\right)} \)
Reimplemented from belfem::gasmodels::EoS.
\( \frac{\partial^2 p}{\partial v^2} = 2 \, \left\{ \frac{R \, T }{\left( v - b\right)^3} - \frac{a \, \alpha \left[ b^2 \, \left( r_1^2 + r_1\,r_2 + r_2^2 \right) - 3 \, b \, \left(r_1 + r_2 \right) \, v + 3 \, v^2 \right] }{ \left[\left( v-b \, r_1\right) \, \left( v-b \,r_2\right) \right]^3} \right\} \)
Reimplemented from belfem::gasmodels::EoS.
Reimplemented from belfem::gasmodels::EoS.
\( \frac{\partial p}{\partial T } = \frac{R}{ v - b} - \frac{a \,\frac{\partial \alpha}{\partial T }}{ \left( v-b \, r_1\right) \, \left( v-b \, r_2\right)} \)
Implements belfem::gasmodels::EoS.
\( \frac{\partial p}{\partial v} = -\frac{R \, T }{\left( v - b\right)^2} - \frac{a \, \alpha \left[ b \, \left( r_1 + r_2 \right) - 2 \, v \right] }{ \left[\left( v-b \, r_1\right) \, \left( v-b \,r_2\right) \right]^2} \)
Implements belfem::gasmodels::EoS.
Reimplemented from belfem::gasmodels::EoS.
Reimplemented from belfem::gasmodels::EoS.
Reimplemented from belfem::gasmodels::EoS.
|
virtual |
Implements belfem::gasmodels::EoS.
enthalpy departure \( h - h^{\circ} = p\, v - R\,T + \frac{T \, \frac{\partial a}{\partial T} - a}{b \, \left( r_2 - r_1\right)} \, \ln \left[ \frac{v - b \, r_1}{v - b \, r_2}\right] \)
Reimplemented from belfem::gasmodels::EoS.
|
virtual |
Reimplemented from belfem::gasmodels::EoS.
Reimplemented from belfem::gasmodels::EoS.
isothermal compressibility coefficient
\( \kappa = -\frac{1}{v} \left( \frac{\partial v}{\partial p}\right)_T \)
| T | temperature in K |
| p | pressure in Pa |
Reimplemented from belfem::gasmodels::EoS.
pressure in Pa
Implements belfem::gasmodels::EoS.
|
virtual |
call the remix function of the equation of state
Reimplemented from belfem::gasmodels::EoS.
Reimplemented from belfem::gasmodels::EoS.
Reimplemented from belfem::gasmodels::EoS.
temperature in K
Implements belfem::gasmodels::EoS.
specific volume in m^3/kg
Implements belfem::gasmodels::EoS.
|
virtual |
Reimplemented from belfem::gasmodels::EoS.