mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user