Files
openfoam/applications/solvers/combustion/reactingFoam/UEqn.H
andy 40f141e2c9 ENH: Updated enthalpy equations for solvers with chemistry using updated
sensible enthalpy thermo packages

- Enthalpy source term now retrieved from the chemistry model (scaled by
  kappa for the PaSR model)
2010-02-12 17:05:15 +00:00

16 lines
243 B
C

fvVectorMatrix UEqn
(
fvm::ddt(rho, U)
+ fvm::div(phi, U)
+ turbulence->divDevRhoReff(U)
==
rho*g
);
UEqn.relax();
if (momentumPredictor)
{
solve(UEqn == -fvc::grad(p));
}