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;autoPtr
< basicPsiThermo > 
pThermo (basicPsiThermo::New(mesh))
volScalarField rho (IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho())
Info<< "\nReading 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
< compressible::turbulenceModel > 
turbulence (compressible::turbulenceModel::New(rho, U, phi, thermo))
word kinematicCloudName ("kinematicCloud")
args optionReadIfPresent ("cloudName", kinematicCloudName)

Variables

basicPsiThermo & thermo = pThermo()

Function Documentation

Info<< "Reading thermophysical properties\n" << endl; autoPtr<basicPsiThermo> pThermo ( basicPsiThermo::  Newmesh  ) 

volScalarField rho ( IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE)  ,
thermo.  rho() 
)

Info<< "\nReading 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<compressible::turbulenceModel> turbulence ( compressible::turbulenceModel::  Newrho, U, phi, thermo  ) 

word kinematicCloudName ( "kinematicCloud"   ) 

args optionReadIfPresent ( "cloudName"  ,
kinematicCloudName   
)


Variable Documentation

basicPsiThermo& thermo = pThermo()

Definition at line 7 of file createFields.H.

Copyright © 2000-2009 OpenCFD Ltd