BUG: UListIO: byteSize overflowing on really big faceLists
[OpenFOAM-2.0.x.git] / applications / solvers / compressible / sonicFoam / sonicDyMFoam / pEqn.H
blob98cc22d15a50bec727f9b81389bc3a80404efcbb
1 rho = thermo.rho();
3 volScalarField rAU(1.0/UEqn.A());
4 U = UEqn.H()/UEqn.A();
6 surfaceScalarField phid
8     "phid",
9     fvc::interpolate(psi)
10    *(
11         (fvc::interpolate(U) & mesh.Sf())
12       - fvc::meshPhi(rho, U)
13     )
16 for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
18     fvScalarMatrix pEqn
19     (
20         fvm::ddt(psi, p)
21       + fvm::div(phid, p)
22       - fvm::laplacian(rho*rAU, p)
23     );
25     pEqn.solve();
27     phi = pEqn.flux();
30 #include "compressibleContinuityErrs.H"
32 U -= rAU*fvc::grad(p);
33 U.correctBoundaryConditions();