Commit b244cd1b authored by Andrew Heather's avatar Andrew Heather
Browse files

Merge remote-tracking branch 'origin/master' into develop

parents d1dae159 51dd8f1c
...@@ -81,10 +81,10 @@ Foam::heatTransferCoeffModels::ReynoldsAnalogy::Cp(const label patchi) const ...@@ -81,10 +81,10 @@ Foam::heatTransferCoeffModels::ReynoldsAnalogy::Cp(const label patchi) const
const label n = mesh_.boundary()[patchi].size(); const label n = mesh_.boundary()[patchi].size();
return tmp<Field<scalar>>::New(n, CpRef_); return tmp<Field<scalar>>::New(n, CpRef_);
} }
else if (mesh_.foundObject<fluidThermo>(fluidThermo::typeName)) else if (mesh_.foundObject<fluidThermo>(fluidThermo::dictName))
{ {
const fluidThermo& thermo = const fluidThermo& thermo =
mesh_.lookupObject<fluidThermo>(fluidThermo::typeName); mesh_.lookupObject<fluidThermo>(fluidThermo::dictName);
const scalarField& pp = thermo.p().boundaryField()[patchi]; const scalarField& pp = thermo.p().boundaryField()[patchi];
const scalarField& Tp = thermo.T().boundaryField()[patchi]; const scalarField& Tp = thermo.T().boundaryField()[patchi];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment