mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
solidRegionDiffNo: Include the boundary faces in the calculation of the diffusion number
Patch contributed by Mattijs Janssens Resolves bug-report http://bugs.openfoam.org/view.php?id=2303
This commit is contained in:
@ -46,7 +46,7 @@ Foam::scalar Foam::solidRegionDiffNo
|
|||||||
/ fvc::interpolate(Cprho)
|
/ fvc::interpolate(Cprho)
|
||||||
);
|
);
|
||||||
|
|
||||||
DiNum = gMax(kapparhoCpbyDelta.primitiveField())*runTime.deltaT().value();
|
DiNum = max(kapparhoCpbyDelta).value()*runTime.deltaT().value();
|
||||||
|
|
||||||
meanDiNum = (average(kapparhoCpbyDelta)).value()*runTime.deltaT().value();
|
meanDiNum = (average(kapparhoCpbyDelta)).value()*runTime.deltaT().value();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user