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 "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();
Copyright © 2000-2009 OpenCFD Ltd