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
22 lines
414 B
C
22 lines
414 B
C
tmp<fv::convectionScheme<scalar> > mvConvection
|
|
(
|
|
fv::convectionScheme<scalar>::New
|
|
(
|
|
mesh,
|
|
fields,
|
|
phi,
|
|
mesh.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->muEff(), ft)
|
|
);
|
|
}
|