ThermophysicalTransportModels: Corrected the documentation of the units of the q() function

heSolidThermo: Changed the q() function to return an intensive flux consistent
with ThermophysicalTransportModels.
This commit is contained in:
Henry Weller
2020-10-29 20:51:32 +00:00
parent aa4cb44b1e
commit ab12f38c2a
9 changed files with 9 additions and 10 deletions

View File

@ -79,13 +79,12 @@ Foam::functionObjects::wallHeatFlux::calcWallHeatFlux
twallHeatFlux.ref().boundaryFieldRef();
const surfaceScalarField::Boundary& qBf = q.boundaryField();
const surfaceScalarField::Boundary& magSf = mesh_.magSf().boundaryField();
forAllConstIter(labelHashSet, patchSet_, iter)
{
const label patchi = iter.key();
wallHeatFluxBf[patchi] = -qBf[patchi]/magSf[patchi];
wallHeatFluxBf[patchi] = -qBf[patchi];
}
if (foundObject<volScalarField>("qr"))