Commit a375d6b2 authored by Henry Weller's avatar Henry Weller
Browse files

solidRegionDiffNo: Include the boundary faces in the calculation of the diffusion number

Patch contributed by Mattijs Janssens
Resolves bug-report
parent d881d2af
......@@ -46,7 +46,7 @@ Foam::scalar Foam::solidRegionDiffNo
/ fvc::interpolate(Cprho)
DiNum = gMax(kapparhoCpbyDelta.primitiveField())*runTime.deltaT().value();
DiNum = max(kapparhoCpbyDelta).value()*runTime.deltaT().value();
meanDiNum = (average(kapparhoCpbyDelta)).value()*runTime.deltaT().value();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment