repo.or.cz
/
OpenFOAM-2.0.x.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ENH: autoLayerDriver: better layering information message
[OpenFOAM-2.0.x.git]
/
applications
/
solvers
/
lagrangian
/
LTSReactingParcelFoam
/
setPressureWork.H
blob
c5dd4b745152e5ba46b6c2db65ee98b3c861e0b8
1
DpDt == dimensionedScalar("zero", DpDt.dimensions(), 0.0);
2
3
if (pressureWork)
4
{
5
surfaceScalarField phiU("phiU", phi/fvc::interpolate(rho));
6
7
DpDt += fvc::div(phiU*fvc::interpolate(p)) - p*fvc::div(phiU);
8
9
if (pressureWorkTimeDerivative)
10
{
11
DpDt += fvc::ddt(p);
12
}
13
}