Skip to content
Snippets Groups Projects
Commit 46de2009 authored by andy's avatar andy
Browse files

BUG: Removed reference to tmp

parent 0f3f5773
Branches
Tags
No related merge requests found
...@@ -50,7 +50,7 @@ inline tmp<scalarField> thermoBaffle2D::hs ...@@ -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);
} }
......
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