alphatWallBoilingWallFunction: Fix for clang

Patch contributed by Juho Peltola, VTT.
This commit is contained in:
Will Bainbridge
2018-12-04 12:11:33 +00:00
parent 8d8369a5e7
commit c39816f032

View File

@ -491,7 +491,7 @@ void alphatWallBoilingWallFunctionFvPatchScalarField::updateCoeffs()
const fvPatchScalarField& hew
= liquid.thermo().he().boundaryField()[patchi];
const scalarField hw =
const scalarField hw
(
liquid.thermo().he().member() == "e"
? hew.patchInternalField() + pw/rhoLiquidw.patchInternalField()