mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
rhoPimpleDyMFoam: correct dpdt for mesh-motion
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user