Skip to content
Snippets Groups Projects
Commit 840d4353 authored by sergio's avatar sergio
Browse files

ENH: Bounding htc for qDot close to zero

parent 8aa454a1
No related merge requests found
......@@ -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();
......
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