Laminar flame speed obtained from Ravi and Petersen's correlation. More...
Public Member Functions | |
TypeName ("RaviPetersen") | |
Runtime type information. More... | |
RaviPetersen (const dictionary &, const psiuReactionThermo &) | |
Construct from dictionary and psiuReactionThermo. More... | |
virtual | ~RaviPetersen () |
Destructor. More... | |
tmp< volScalarField > | operator() () const |
Return the laminar flame speed [m/s]. More... | |
![]() | |
TypeName ("laminarFlameSpeed") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, laminarFlameSpeed, dictionary,(const dictionary &dict, const psiuReactionThermo &ct),(dict, ct)) | |
laminarFlameSpeed (const dictionary &, const psiuReactionThermo &) | |
Construct from dictionary and psiuReactionThermo. More... | |
virtual | ~laminarFlameSpeed () |
Destructor. More... | |
Private Member Functions | |
void | checkPointsMonotonicity (const word &name, const List< scalar > &x) const |
Check that input points are ordered. More... | |
void | checkCoefficientArrayShape (const word &name, const List< List< List< scalar > > > &x) const |
Check that the coefficient arrays are of the correct shape. More... | |
bool | interval (const List< scalar > &xPoints, const scalar x, label &xIndex, scalar &xXi, scalar &xLim) const |
Find and interpolate a value in the data point arrays. More... | |
scalar | polynomial (const List< scalar > &coeffs, const scalar x) const |
Evaluate a polynomial. More... | |
scalar | dPolynomial (const List< scalar > &coeffs, const scalar x) const |
Evaluate a polynomial differential. More... | |
scalar | THatPowB (const label EqRIndex, const label pIndex, const scalar EqR, const scalar Tu) const |
Calculate normalised temperature to the power of the B polynomial. More... | |
scalar | correlationInRange (const label EqRIndex, const label pIndex, const scalar EqR, const scalar Tu) const |
Return the flame speed within the correlation range. More... | |
scalar | correlationOutOfRange (const label EqRIndex, const label pIndex, const scalar EqR, const scalar EqRLim, const scalar Tu) const |
Extrapolate the flame speed correlation outside its range. More... | |
scalar | speed (const scalar EqR, const scalar p, const scalar Tu) const |
Return the laminar flame speed [m/s]. More... | |
RaviPetersen (const RaviPetersen &) | |
Construct as copy (not implemented) More... | |
void | operator= (const RaviPetersen &) |
Private Attributes | |
dictionary | coeffsDict_ |
List< scalar > | pPoints_ |
Correlation pressure values. More... | |
List< scalar > | EqRPoints_ |
Correlation equivalence ratios. More... | |
List< List< List< scalar > > > | alpha_ |
Correlation alpha coefficients. More... | |
List< List< List< scalar > > > | beta_ |
Correlation beta coefficients. More... | |
scalar | TRef_ |
Reference temperature. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< laminarFlameSpeed > | New (const psiuReactionThermo &) |
![]() | |
const psiuReactionThermo & | psiuReactionThermo_ |
word | fuel_ |
Fuel. More... | |
scalar | equivalenceRatio_ |
Equivalence ratio of a homogeneous mixture. More... | |
Laminar flame speed obtained from Ravi and Petersen's correlation.
The correlation for the laminar flame speed is of the following form:
Where is the equivalence ratio, and
and
are polynomial coefficients given for a number of pressure and equivalence ratio points.
Definition at line 61 of file RaviPetersen.H.
|
private |
Construct as copy (not implemented)
RaviPetersen | ( | const dictionary & | dict, |
const psiuReactionThermo & | ct | ||
) |
Construct from dictionary and psiuReactionThermo.
Definition at line 50 of file RaviPetersen.C.
|
virtual |
Destructor.
Definition at line 72 of file RaviPetersen.C.
Check that input points are ordered.
Definition at line 79 of file RaviPetersen.C.
References Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, Foam::name(), and x.
|
private |
Check that the coefficient arrays are of the correct shape.
Definition at line 100 of file RaviPetersen.C.
References Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, forAll, Foam::name(), and x.
|
inlineprivate |
Find and interpolate a value in the data point arrays.
Definition at line 131 of file RaviPetersen.C.
References List::size(), and x.
|
inlineprivate |
|
inlineprivate |
Evaluate a polynomial differential.
Definition at line 185 of file RaviPetersen.C.
References List::size(), x, and y.
|
inlineprivate |
Calculate normalised temperature to the power of the B polynomial.
Definition at line 202 of file RaviPetersen.C.
References Foam::pow().
|
inlineprivate |
Return the flame speed within the correlation range.
Definition at line 219 of file RaviPetersen.C.
|
inlineprivate |
Extrapolate the flame speed correlation outside its range.
Definition at line 235 of file RaviPetersen.C.
References A(), Foam::log(), and Foam::max().
|
inlineprivate |
Return the laminar flame speed [m/s].
Definition at line 254 of file RaviPetersen.C.
References p, s(), and Foam::fvc::Su().
|
private |
TypeName | ( | "RaviPetersen" | ) |
Runtime type information.
|
virtual |
Return the laminar flame speed [m/s].
Implements laminarFlameSpeed.
Definition at line 293 of file RaviPetersen.C.
References Foam::dimless, Foam::dimVelocity, forAll, Foam::max(), IOobject::NO_READ, IOobject::NO_WRITE, and p.
|
private |
Definition at line 67 of file RaviPetersen.H.
|
private |
Correlation pressure values.
Definition at line 70 of file RaviPetersen.H.
|
private |
Correlation equivalence ratios.
Definition at line 73 of file RaviPetersen.H.
Correlation alpha coefficients.
Definition at line 76 of file RaviPetersen.H.
Correlation beta coefficients.
Definition at line 79 of file RaviPetersen.H.
|
private |
Reference temperature.
Definition at line 82 of file RaviPetersen.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.