STYLE: turbulentTemperatureCoupledBaffleMixed : renamed alpha to alpaEff

This commit is contained in:
mattijs
2010-05-17 15:49:47 +01:00
parent 052ef89a17
commit 1c5a97458d

View File

@ -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_))