This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/applications/solvers/combustion/PDRFoam/huEqn.H

19 lines
515 B
C++
Raw Normal View History

if (ign.ignited())
{
solve
(
betav*fvm::ddt(rho, hu)
+ mvConvection->fvmDiv(phi, hu)
- fvm::laplacian(Db, hu)
// These terms cannot be used in partially-premixed combustion due to
// the resultant inconsistency between ft and hu transport.
// A possible solution would be to solve for ftu as well as ft.
//- fvm::div(muEff*fvc::grad(b)/(b + 0.001), hu)
//+ fvm::Sp(fvc::div(muEff*fvc::grad(b)/(b + 0.001)), hu)
==
2010-08-26 14:22:03 +00:00
betav*DpDt*rho/thermo.rhou()
);
}