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

createFields.H File Reference

Go to the source code of this file.


Functions

Info<< "Reading thermophysical
properties\n"<< endl;Info
<< "Reading field T\n"<< endl;volScalarField
T(IOobject("T",
runTime.timeName(), mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE), mesh);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);Info
<< "Creating turbulence model\n"
<< endl;autoPtr
< incompressible::RASModel > 
turbulence (incompressible::RASModel::New(U, phi, laminarTransport))
 setRefCell (p, mesh.solutionDict().subDict("PISO"), pRefCell, pRefValue)
volScalarField rhok (IOobject("rhok", runTime.timeName(), mesh), 1.0-beta *(T-TRef))

Variables

label pRefCell = 0
scalar pRefValue = 0.0

Function Documentation

Info<< "Reading thermophysical properties\n" << endl; Info<< "Reading field T\n" << endl; volScalarField T ( IOobject ( "T", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); 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 ); Info<< "Creating turbulence model\n" << endl; autoPtr<incompressible::RASModel> turbulence ( incompressible::RASModel::  NewU, phi, laminarTransport  ) 

setRefCell ( p  ,
mesh.  solutionDict).subDict("PISO",
pRefCell  ,
pRefValue   
)

volScalarField rhok ( IOobject("rhok", runTime.timeName(), mesh)  ,
1.0-beta *  T-TRef 
)

Referenced by if().

Here is the caller graph for this function:


Variable Documentation

label pRefCell = 0

Definition at line 55 of file createFields.H.

Referenced by for(), and if().

scalar pRefValue = 0.0

Definition at line 56 of file createFields.H.

Referenced by for(), and if().

Copyright © 2000-2009 OpenCFD Ltd