Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / applications / solvers / combustion / XiFoam / ftEqn.H
blob46d7aeae8228a9d47d3cc28eac64c8b5a65cfb3e
1 tmp<fv::convectionScheme<scalar> > mvConvection
3     fv::convectionScheme<scalar>::New
4     (
5         mesh,
6         fields,
7         phi,
8         mesh.divScheme("div(phi,ft_b_h_hu)")
9     )
12 if (composition.contains("ft"))
14     volScalarField& ft = composition.Y("ft");
16     solve
17     (
18         fvm::ddt(rho, ft)
19       + mvConvection->fvmDiv(phi, ft)
20       - fvm::laplacian(turbulence->alphaEff(), ft)
21     );