mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: Added backwards compatibility for old keywords
This commit is contained in:
@ -73,17 +73,37 @@ Foam::laminarFlameSpeedModels::SCOPE::SCOPE
|
|||||||
(
|
(
|
||||||
dictionary
|
dictionary
|
||||||
(
|
(
|
||||||
IFstream
|
IFstream
|
||||||
(
|
(
|
||||||
fileName
|
fileName
|
||||||
(
|
(
|
||||||
dict.lookup("fuelFile")
|
dict.lookup("fuelFile")
|
||||||
)
|
)
|
||||||
)()
|
)()
|
||||||
).optionalSubDict(typeName + "Coeffs")
|
).optionalSubDict(typeName + "Coeffs")
|
||||||
),
|
),
|
||||||
LFL_(readScalar(coeffsDict_.lookup("lowerFlammabilityLimit"))),
|
LFL_
|
||||||
UFL_(readScalar(coeffsDict_.lookup("upperFlammabilityLimit"))),
|
(
|
||||||
|
readScalar
|
||||||
|
(
|
||||||
|
coeffsDict_.lookupCompat
|
||||||
|
(
|
||||||
|
"lowerFlammabilityLimit",
|
||||||
|
{{"lowerFlamabilityLimit", 1712}}
|
||||||
|
)
|
||||||
|
)
|
||||||
|
),
|
||||||
|
UFL_
|
||||||
|
(
|
||||||
|
readScalar
|
||||||
|
(
|
||||||
|
coeffsDict_.lookupCompat
|
||||||
|
(
|
||||||
|
"upperFlammabilityLimit",
|
||||||
|
{{"upperFlamabilityLimit", 1712}}
|
||||||
|
)
|
||||||
|
)
|
||||||
|
),
|
||||||
SuPolyL_(coeffsDict_.subDict("lowerSuPolynomial")),
|
SuPolyL_(coeffsDict_.subDict("lowerSuPolynomial")),
|
||||||
SuPolyU_(coeffsDict_.subDict("upperSuPolynomial")),
|
SuPolyU_(coeffsDict_.subDict("upperSuPolynomial")),
|
||||||
Texp_(readScalar(coeffsDict_.lookup("Texp"))),
|
Texp_(readScalar(coeffsDict_.lookup("Texp"))),
|
||||||
|
|||||||
Reference in New Issue
Block a user