This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/applications/solvers/surfaceTracking/include/freeSurfaceContinuityErrs.H

16 lines
542 B
C
Raw Normal View History

// 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;
// }