db7fac3f24
git-svn-id: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev@1731 e4e07f05-0c2f-0410-a05a-b8ba57e0c909
18 lines
524 B
C
18 lines
524 B
C
if (ign.ignited())
|
|
{
|
|
solve
|
|
(
|
|
fvm::ddt(rho, hu)
|
|
+ mvConvection->fvmDiv(phi, hu)
|
|
- fvm::laplacian(turbulence->alphaEff(), 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)
|
|
|
|
==
|
|
DpDt*rho/thermo->rhou()
|
|
);
|
|
}
|