36 const coeffList& coeffs
82 return 1/(C_[0] + (C_[1] + C_[2]*
T - C_[4]*
p)*
T - C_[3]*
p);
100template<
class Specie>
107template<
class Specie>
114template<
class Specie>
121template<
class Specie>
128template<
class Specie>
135template<
class Specie>
144template<
class Specie>
150 const scalar Y1 = this->
Y();
151 Specie::operator+=(
rp);
153 if (
mag(this->
Y()) > SMALL)
155 C_ = (Y1*C_ +
rp.Y()*
rp.C_)/this->
Y();
160template<
class Specie>
163 Specie::operator*=(
s);
169template<
class Specie>
178 static_cast<const Specie&
>(rp1)
179 +
static_cast<const Specie&
>(rp2)
182 if (
mag(sp.Y()) < SMALL)
191 return rPolynomial<Specie>
194 (rp1.Y()*rp1.C_ + rp2.Y()*rp2.C_)/sp.Y()
199template<
class Specie>
203 const rPolynomial<Specie>&
rp
206 return rPolynomial<Specie>
208 s*
static_cast<const Specie&
>(
rp),
214template<
class Specie>
217 const rPolynomial<Specie>& rp1,
218 const rPolynomial<Specie>& rp2
223 static_cast<const Specie&
>(rp1)
224 ==
static_cast<const Specie&
>(rp2)
227 return rPolynomial<Specie>
230 (rp1.Y()*rp1.C_ - rp2.Y()*rp2.C_)/sp.Y()
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.
Reciprocal polynomial equation of state for liquids and solids.
scalar CpMCv(scalar p, scalar T) const
Return (Cp - Cv) [J/(kg K].
autoPtr< rPolynomial > clone() const
Construct and return a clone.
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
regionProperties rp(runTime)
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))
dimensionedSymmTensor sqr(const dimensionedVector &dv)
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.