mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated heat transfer coefficient calculation
This commit is contained in:
@ -97,7 +97,7 @@ Foam::fv::constantHeatTransfer::constantHeatTransfer
|
||||
AoV_().dimensionedInternalField();
|
||||
dimensionedScalar interVol("V", dimVolume, meshInterp().V());
|
||||
|
||||
htc_.dimensionedInternalField() = htcConsti*AoVi*interVol/mesh.V();
|
||||
htc_.dimensionedInternalField() = htcConsti*AoVi;
|
||||
htc_.correctBoundaryConditions();
|
||||
}
|
||||
}
|
||||
|
||||
@ -130,7 +130,7 @@ Foam::fv::tabulatedHeatTransfer::calculateHtc()
|
||||
htcc[i] = hTable()(mag(U[i]), UMagNbrMapped[i]);
|
||||
}
|
||||
|
||||
htcc = htcc*AoV()*meshInterp().V()/mesh_.V();
|
||||
htcc = htcc*AoV();
|
||||
|
||||
return htc_;
|
||||
}
|
||||
|
||||
@ -120,7 +120,7 @@ Foam::fv::variableHeatTransfer::calculateHtc()
|
||||
|
||||
const scalarField htcNbrMapped(interpolate(htcNbr));
|
||||
|
||||
htc_.internalField() = htcNbrMapped*AoV_*meshInterp().V()/mesh_.V();
|
||||
htc_.internalField() = htcNbrMapped*AoV_;
|
||||
|
||||
return htc_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user