Commit 968b95d0 authored by sergio's avatar sergio Committed by Andrew Heather
Browse files

ENH: Bounding htc for qDot close to zero

parent 49ba6a8e
......@@ -281,7 +281,7 @@ void Foam::externalCoupledTemperatureMixedFvPatchScalarField::writeData
// Heat transfer coefficient [W/m2/K]
const scalarField htc(qDot/(Twall - Tfluid + 1e-3));
const scalarField htc(qDot/(max(Twall - Tfluid), 1e-3));
const Field<scalar>& magSf = this->patch().magSf();
......
Supports Markdown
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