OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

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::AUTO_WRITE
00011         ),
00012         mesh
00013     );
00014 
00015 #   include "createPhi.H"
00016 
00017     singlePhaseTransportModel laminarTransport(U, phi);
00018 
00019     autoPtr<incompressible::RASModel> RASModel
00020     (
00021         incompressible::RASModel::New(U, phi, laminarTransport)
00022     );
Copyright © 2000-2009 OpenCFD Ltd