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

#include "src/finiteVolume/cfdTools/compressible/compressibleCreatePhi.H"
Include dependency graph for createFields.H:

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))

Variables

basicPsiThermo &  thermo = pThermo()
volScalarField &  p = thermo.p()
const volScalarField &  psi = thermo.psi()
volScalarField &  h = thermo.h()
const volScalarField &  T = thermo.T()

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  )

Variable Documentation

volScalarField& p = thermo.p()

Definition at line 22 of file createFields.H.

volScalarField& h = thermo.h()

Definition at line 24 of file createFields.H.