FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

ftEqn.H

Go to the documentation of this file.
00001 tmp<fv::convectionScheme<scalar> > mvConvection
00002 (
00003     fv::convectionScheme<scalar>::New
00004     (
00005         mesh,
00006         fields,
00007         phi,
00008         mesh.divScheme("div(phi,ft_b_h)")
00009     )
00010 );
00011 
00012 {
00013     fvScalarMatrix ftEqn
00014     (
00015         fvm::ddt(rho, ft)
00016       + mvConvection->fvmDiv(phi, ft)
00017       - fvm::laplacian(turbulence->alphaEff(), ft)
00018     );
00019 
00020     ftEqn.relax();
00021     ftEqn.solve();
00022 }
00023 
00024 Info<< "max(ft) = " << max(ft).value() << endl;
00025 Info<< "min(ft) = " << min(ft).value() << endl;
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines