STYLE: formatting, remove unused file(s)

This commit is contained in:
OpenFOAM bot
2020-06-24 10:44:23 +02:00
parent ca540320df
commit f6deaeef33
6 changed files with 11 additions and 424 deletions

View File

@ -286,10 +286,10 @@ void Foam::externalCoupledTemperatureMixedFvPatchScalarField::writeData
// Heat transfer coefficient [W/m2/K]
// This htc needs to be always larger or equal to zero
//const scalarField htc(qDot/max(Twall - Tfluid, 1e-3));
scalarField htc(qDot.size(), 0);
forAll (qDot, i)
scalarField htc(qDot.size(), Zero);
forAll(qDot, i)
{
scalar deltaT = mag(Twall[i] - Tfluid[i]);
const scalar deltaT = mag(Twall[i] - Tfluid[i]);
if (deltaT > 1e-3)
{
htc[i] = sign(qDot[i])*qDot[i]/deltaT;