equationOfState::perfectFluid: Added enthalpy departure function
Updated steamInjection to solve for internal energy for the water.
This commit is contained in:
@ -95,7 +95,9 @@ inline Foam::scalar Foam::perfectFluid<Specie>::rho(scalar p, scalar T) const
|
|||||||
template<class Specie>
|
template<class Specie>
|
||||||
inline Foam::scalar Foam::perfectFluid<Specie>::H(scalar p, scalar T) const
|
inline Foam::scalar Foam::perfectFluid<Specie>::H(scalar p, scalar T) const
|
||||||
{
|
{
|
||||||
return 0;
|
const scalar RT = this->R()*T;
|
||||||
|
|
||||||
|
return -rho0_*RT/(rho0_ + p/RT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -23,11 +23,9 @@ thermoType
|
|||||||
thermo hRefConst;
|
thermo hRefConst;
|
||||||
equationOfState perfectFluid;
|
equationOfState perfectFluid;
|
||||||
specie specie;
|
specie specie;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleInternalEnergy;
|
||||||
}
|
}
|
||||||
|
|
||||||
dpdt yes;
|
|
||||||
|
|
||||||
pressureWorkAlphaLimit 0;
|
pressureWorkAlphaLimit 0;
|
||||||
|
|
||||||
mixture
|
mixture
|
||||||
|
|||||||
Reference in New Issue
Block a user