rhoPimpleDyMFoam: correct dpdt for mesh-motion

This commit is contained in:
Henry
2013-10-01 10:37:16 +01:00
parent 607309aa67
commit e53d830742

View File

@ -115,5 +115,5 @@ K = 0.5*magSqr(U);
if (thermo.dpdt()) if (thermo.dpdt())
{ {
dpdt = fvc::ddt(p); dpdt = fvc::ddt(p) - fvc::div(fvc::meshPhi(rho, U), p);
} }