ENH: Bounding htc for qDot close to zero
This commit is contained in:
parent
49ba6a8e94
commit
968b95d0cf
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user