Skip to content
Snippets Groups Projects
Commit b06c4280 authored by Henry Weller's avatar Henry Weller
Browse files

Revert "twoPhaseEulerFoam::EEqns: Updated pressure-work"

This reverts commit f7996e45.
parent f7996e45
Branches
Tags
No related merge requests found
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
- contErr1*K1 - contErr1*K1
+ ( + (
he1.name() == thermo1.phasePropertyName("e") he1.name() == thermo1.phasePropertyName("e")
? fvc::div(fvc::absolute(alphaPhi1, alpha1, U1), p) ? fvc::ddt(alpha1)*p + fvc::div(alphaPhi1, p)
: -fvc::ddt(alpha1, p) - alpha1*(dpdt - fvc::ddt(p)) : -alpha1*dpdt
) )
- fvm::laplacian - fvm::laplacian
...@@ -48,8 +48,8 @@ ...@@ -48,8 +48,8 @@
- contErr2*K2 - contErr2*K2
+ ( + (
he2.name() == thermo2.phasePropertyName("e") he2.name() == thermo2.phasePropertyName("e")
? fvc::div(fvc::absolute(alphaPhi2, alpha2, U2), p) ? fvc::ddt(alpha2)*p + fvc::div(alphaPhi2, p)
: -fvc::ddt(alpha2, p) - alpha2*(dpdt - fvc::ddt(p)) : -alpha2*dpdt
) )
- fvm::laplacian - fvm::laplacian
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment