FreeFOAM The Cross-Platform CFD Toolkit
createFields.H
Go to the documentation of this file.
1 Info<< "Reading field U\n" << endl;
3 (
4  IOobject
5  (
6  "U",
7  runTime.timeName(),
8  mesh,
9  IOobject::MUST_READ,
10  IOobject::NO_WRITE
11  ),
12  mesh
13 );
14 
15 #include <finiteVolume/createPhi.H>
16 
17 singlePhaseTransportModel laminarTransport(U, phi);
18 
19 autoPtr<incompressible::LESModel> sgsModel
20 (
21  incompressible::LESModel::New(U, phi, laminarTransport)
22 );
23 
24 volScalarField::GeometricBoundaryField d = nearWallDist(mesh).y();
25 
26 // ************************ vim: set sw=4 sts=4 et: ************************ //