diff --git a/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.C b/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.C index 07a70d651b..e6cee26e03 100644 --- a/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.C +++ b/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.C @@ -236,11 +236,11 @@ void thermoSingleLayer::correctAlpha() forAll(alpha_, i) { - if ((alpha_[i] < 0.5) && (delta_[i] > hydrophilicDry)) + if ((alpha_[i] < 0.5) && (delta_[i] > hydrophilicWet)) { alpha_[i] = 1.0; } - else if ((alpha_[i] > 0.5) && (delta_[i] < hydrophilicWet)) + else if ((alpha_[i] > 0.5) && (delta_[i] < hydrophilicDry)) { alpha_[i] = 0.0; } diff --git a/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.H b/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.H index 696728e7f9..b13c8ac3b0 100644 --- a/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.H +++ b/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.H @@ -132,10 +132,12 @@ protected: //- Activation flag bool hydrophilic_; - //- Length scale applied to deltaWet_ for dry faces, typically 0.5 + //- Length scale applied to deltaWet_ to determine when a wet + // surface becomes dry, typically 0.5 scalar hydrophilicDryScale_; - //- Length scale applied to deltaWet_ for wet faces, typically 0.001 + //- Length scale applied to deltaWet_ to determine when a dry + // surface becomes wet, typically 0.001 scalar hydrophilicWetScale_;