mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: turbulentTemperatureCoupledBaffleMixed : renamed alpha to alpaEff
This commit is contained in:
@ -151,13 +151,11 @@ turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::K() const
|
|||||||
const compressible::RASModel& model =
|
const compressible::RASModel& model =
|
||||||
db().lookupObject<compressible::RASModel>("RASProperties");
|
db().lookupObject<compressible::RASModel>("RASProperties");
|
||||||
|
|
||||||
tmp<volScalarField> talpha = model.alphaEff();
|
|
||||||
|
|
||||||
const basicThermo& thermo =
|
const basicThermo& thermo =
|
||||||
db().lookupObject<basicThermo>("thermophysicalProperties");
|
db().lookupObject<basicThermo>("thermophysicalProperties");
|
||||||
|
|
||||||
return
|
return
|
||||||
talpha().boundaryField()[patch().index()]
|
model.alphaEff()().boundaryField()[patch().index()]
|
||||||
*thermo.Cp()().boundaryField()[patch().index()];
|
*thermo.Cp()().boundaryField()[patch().index()];
|
||||||
}
|
}
|
||||||
else if (mesh.objectRegistry::foundObject<volScalarField>(KName_))
|
else if (mesh.objectRegistry::foundObject<volScalarField>(KName_))
|
||||||
|
|||||||
Reference in New Issue
Block a user