ENH: autoLayerDriver: better layering information message
[OpenFOAM-2.0.x.git] / applications / solvers / lagrangian / LTSReactingParcelFoam / setPressureWork.H
blobc5dd4b745152e5ba46b6c2db65ee98b3c861e0b8
1 DpDt == dimensionedScalar("zero", DpDt.dimensions(), 0.0);
3 if (pressureWork)
5     surfaceScalarField phiU("phiU", phi/fvc::interpolate(rho));
7     DpDt += fvc::div(phiU*fvc::interpolate(p)) - p*fvc::div(phiU);
9     if (pressureWorkTimeDerivative)
10     {
11         DpDt += fvc::ddt(p);
12     }