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:
parent
f6472568b3
commit
fe7c8b7d4e
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue