22 lines
427 B
C++
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)
|
|
);
|
|
}
|