23 lines
414 B
C
23 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)
|
||
|
);
|
||
|
}
|