diff --git a/src/phaseSystemModels/reactingEuler/multiphaseSystem/derivedFvPatchFields/alphatWallBoilingWallFunction/alphatWallBoilingWallFunctionFvPatchScalarField.C b/src/phaseSystemModels/reactingEuler/multiphaseSystem/derivedFvPatchFields/alphatWallBoilingWallFunction/alphatWallBoilingWallFunctionFvPatchScalarField.C index a613c2866cf5fc98e296cf6b73920338d0f0090f..6e449c5080dc315c46f06354fa8082639a1d6bb4 100644 --- a/src/phaseSystemModels/reactingEuler/multiphaseSystem/derivedFvPatchFields/alphatWallBoilingWallFunction/alphatWallBoilingWallFunctionFvPatchScalarField.C +++ b/src/phaseSystemModels/reactingEuler/multiphaseSystem/derivedFvPatchFields/alphatWallBoilingWallFunction/alphatWallBoilingWallFunctionFvPatchScalarField.C @@ -639,18 +639,19 @@ void alphatWallBoilingWallFunctionFvPatchScalarField::updateCoeffs() const fvPatchScalarField& hew = liquid.thermo().he().boundaryField()[patchi]; - const scalarField hw + const scalarField hwLiqSat ( liquid.thermo().he().member() == "e" - ? hew.patchInternalField() + pw/rhow.patchInternalField() - : hew.patchInternalField() + ? liquid.thermo().he(pw, Tsatc, patchi) + + pw/rhow.patchInternalField() + : liquid.thermo().he(pw, Tsatc, patchi) ); const scalarField L ( vapor.thermo().he().member() == "e" - ? vapor.thermo().he(pw, Tsatc, patchi) + pw/rhoVaporw - hw - : vapor.thermo().he(pw, Tsatc, patchi) - hw + ? vapor.thermo().he(pw, Tsatc, patchi) + pw/rhoVaporw - hwLiqSat + : vapor.thermo().he(pw, Tsatc, patchi) - hwLiqSat ); // Liquid phase fraction at the wall diff --git a/src/phaseSystemModels/reactingEuler/multiphaseSystem/derivedFvPatchFields/wallBoilingSubModels/MHFModels/Jeschar/Jeschar.C b/src/phaseSystemModels/reactingEuler/multiphaseSystem/derivedFvPatchFields/wallBoilingSubModels/MHFModels/Jeschar/Jeschar.C index d4f0d6f734ef2ad4674c4c82d2f07b9639104662..61419a6ef99864d3720c35c32079e17167b6028a 100644 --- a/src/phaseSystemModels/reactingEuler/multiphaseSystem/derivedFvPatchFields/wallBoilingSubModels/MHFModels/Jeschar/Jeschar.C +++ b/src/phaseSystemModels/reactingEuler/multiphaseSystem/derivedFvPatchFields/wallBoilingSubModels/MHFModels/Jeschar/Jeschar.C @@ -99,7 +99,7 @@ Foam::wallBoilingModels::CHFModels::Jeschar::MHF Kmhf_*rhoVapor*L *( pow(sigma/(mag(g.value())*(rhoLiq - rhoVapor)), 0.25) - * sqrt(mag(g.value())*(rhoLiq - rhoVapor)/(rhoLiq + rhoVapor)) + * sqrt(mag(g.value())*(rhoLiq - rhoVapor)/(rhoLiq + rhoVapor + VSMALL)) ); }