COMP: phaseSystemModels: few compilation fixes

This commit is contained in:
mattijs
2019-06-10 13:59:26 +01:00
committed by Andrew Heather
parent 09c67d90de
commit 533410aab4
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ Foam::wallBoilingModels::CHFModels::Zuber::CHF
return
Cn_*rhoVapor*L*pow
(
sigma*mag(g.value())*(max(rhoLiq - rhoVapor, 0.0)/sqr(rhoVapor)),
sigma*mag(g.value())*(max(rhoLiq - rhoVapor, Zero)/sqr(rhoVapor)),
0.25
);
}

View File

@ -27,7 +27,7 @@ License
inline Foam::label Foam::diameterModels::populationBalanceModel::nCorr() const
{
return mesh_.solverDict(name_).lookupType<label>("nCorr");
return mesh_.solverDict(name_).get<label>("nCorr");
}