db7fac3f24
git-svn-id: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev@1731 e4e07f05-0c2f-0410-a05a-b8ba57e0c909
24 lines
936 B
C
24 lines
936 B
C
if(Pstream::master())
|
|
{
|
|
Info<< "Free surface flux: sum local = "
|
|
<< sum(mag(phi.boundaryField()[interface.aPatchID()]))
|
|
<< ", global = "
|
|
<< sum(phi.boundaryField()[interface.aPatchID()]) << endl;
|
|
|
|
Info<< "Free surface continuity error : sum local = " <<
|
|
sum
|
|
(
|
|
mag
|
|
(
|
|
phiNet.boundaryField()[interface.aPatchID()]/
|
|
interface.rhoFluidA().value()
|
|
)
|
|
)
|
|
<< ", global = " <<
|
|
sum
|
|
(
|
|
phiNet.boundaryField()[interface.aPatchID()]/
|
|
interface.rhoFluidA().value()
|
|
)
|
|
<< endl << endl;
|
|
}
|