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/XiFoam/ftEqn.H
2012-01-29 12:01:07 +00:00

22 lines
427 B
C++

tmp<fv::convectionScheme<scalar> > mvConvection
(
fv::convectionScheme<scalar>::New
(
mesh,
fields,
phi,
mesh.schemesDict().divScheme("div(phi,ft_b_h_hu)")
)
);
if (composition.contains("ft"))
{
volScalarField& ft = composition.Y("ft");
solve
(
fvm::ddt(rho, ft)
+ mvConvection->fvmDiv(phi, ft)
- fvm::laplacian(turbulence->alphaEff(), ft)
);
}