mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Removed reference to tmp
This commit is contained in:
@ -50,7 +50,7 @@ inline tmp<scalarField> thermoBaffle2D::hs
|
|||||||
const label patchI
|
const label patchI
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
const scalarField& Cp = thermo_->Cp()().boundaryField()[patchI];
|
const scalarField Cp(thermo_->Cp(patchI));
|
||||||
return Cp*(T - 298.15);
|
return Cp*(T - 298.15);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user