mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Bounding htc for qDot close to zero
This commit is contained in:
@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user