84 return pRef_/(this->
R()*
T);
110template<
class Specie>
121template<
class Specie>
132template<
class Specie>
143template<
class Specie>
154template<
class Specie>
165template<
class Specie>
178template<
class Specie>
184 scalar Y1 = this->
Y();
185 Specie::operator+=(ipg);
187 if (
mag(this->
Y()) > SMALL)
190 const scalar Y2 = ipg.Y()/this->
Y();
192 pRef_ = Y1*pRef_ + Y2*ipg.pRef_;
197template<
class Specie>
200 Specie::operator*=(
s);
206template<
class Specie>
215 static_cast<const Specie&
>(ipg1)
216 +
static_cast<const Specie&
>(ipg2)
219 if (
mag(sp.Y()) < SMALL)
229 const scalar Y1 = ipg1.Y()/sp.Y();
230 const scalar Y2 = ipg2.Y()/sp.Y();
232 return incompressiblePerfectGas<Specie>
235 Y1*ipg1.pRef_ + Y2*ipg2.pRef_
241template<
class Specie>
245 const incompressiblePerfectGas<Specie>& ipg
248 return incompressiblePerfectGas<Specie>
250 s*
static_cast<const Specie&
>(ipg),
256template<
class Specie>
259 const incompressiblePerfectGas<Specie>& ipg1,
260 const incompressiblePerfectGas<Specie>& ipg2
265 static_cast<const Specie&
>(ipg1)
266 ==
static_cast<const Specie&
>(ipg2)
269 const scalar Y1 = ipg1.Y()/sp.Y();
270 const scalar Y2 = ipg2.Y()/sp.Y();
272 return incompressiblePerfectGas<Specie>
275 Y2*ipg2.pRef_ - Y1*ipg1.pRef_
#define R(A, B, C, D, E, F, K, M)
compactSpatialTensor S
The joint motion sub-space (3-DoF)
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
tmp< GeometricField< Type, faPatchField, areaMesh > > H() const
Return the H operation source.
Incompressible gas equation of state using a constant reference pressure in the perfect gas equation ...
autoPtr< incompressiblePerfectGas > clone() const
Construct and return a clone.
scalar CpMCv(scalar p, scalar T) const
Return (Cp - Cv) [J/(kg K].
void operator*=(const scalar)
A class for handling words, derived from Foam::string.
PtrList< volScalarField > & Y
const volScalarField & psi
const volScalarField & Cv
const volScalarField & Cp
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.