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

createFields.H File Reference


Detailed Description

Definition in file createFields.H.

#include "src/finiteVolume/cfdTools/incompressible/createPhi.H"
Include dependency graph for createFields.H:

Go to the source code of this file.

Functions

Info<< "Reading field p\n"
<< endl;volScalarField p(IOobject("p",
runTime.timeName(), mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE), mesh);Info
<< "Reading field U\n"<< endl;volVectorField
U(IOobject("U",
runTime.timeName(), mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE), mesh);label
pRefCell=0;scalar pRefValue=0.0;setRefCell(p,
mesh.solutionDict().subDict("SIMPLE"),
pRefCell, pRefValue);singlePhaseTransportModel
laminarTransport(U, phi);autoPtr
< incompressible::RASModel >  
turbulence (incompressible::RASModel::New(U, phi, laminarTransport))
porousZones  pZones (mesh)
Switch  pressureImplicitPorosity (false)
 if (pZones.size())

Variables

int  nUCorr = 0

Function Documentation

Info<< "Reading field p\n" << endl; volScalarField p ( IOobject ( "p", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Info << "Reading field U\n" << endl; volVectorField U ( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); label pRefCell = 0; scalar pRefValue = 0.0; setRefCell(p, mesh.solutionDict().subDict("SIMPLE"), pRefCell, pRefValue); singlePhaseTransportModel laminarTransport(U, phi); autoPtr<incompressible::RASModel> turbulence ( incompressible::RASModel::   NewU, phi, laminarTransport  )
porousZones pZones ( mesh    )
Switch pressureImplicitPorosity ( false    )
if ( pZones.   size()  )

Definition at line 49 of file createFields.H.

References mesh, pressureImplicitPorosity(), and Foam::readInt().


Variable Documentation

int nUCorr = 0

Definition at line 48 of file createFields.H.