15 lines
542 B
C
15 lines
542 B
C
// if(Pstream::master())
|
|
// {
|
|
Info<< "Free surface flux: sum local = "
|
|
<< gSum(mag(phi.boundaryField()[interface.aPatchID()]))
|
|
<< ", global = "
|
|
<< gSum(phi.boundaryField()[interface.aPatchID()]) << endl;
|
|
|
|
scalarField netPhiA =
|
|
phi.boundaryField()[interface.aPatchID()]
|
|
- fvc::meshPhi(rho,U)().boundaryField()[interface.aPatchID()];
|
|
|
|
Info<< "Free surface continuity error : sum local = "
|
|
<< gSum(mag(netPhiA)) << ", global = " << gSum(netPhiA)
|
|
<< endl << endl;
|
|
// }
|