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

createFields.H

Go to the documentation of this file.
00001 Info<< "Reading field U\n" << endl;
00002 volVectorField U
00003 (
00004     IOobject
00005     (
00006         "U",
00007         runTime.timeName(),
00008         mesh,
00009         IOobject::MUST_READ,
00010         IOobject::NO_WRITE
00011     ),
00012     mesh
00013 );
00014 
00015 #include <finiteVolume/createPhi.H>
00016 
00017 singlePhaseTransportModel laminarTransport(U, phi);
00018 
00019 autoPtr<incompressible::LESModel> sgsModel
00020 (
00021     incompressible::LESModel::New(U, phi, laminarTransport)
00022 );
00023 
00024 volScalarField::GeometricBoundaryField d = nearWallDist(mesh).y();
00025 
00026 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines