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/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::READ_IF_PRESENT, IOobject::AUTO_WRITE), thermo.rho())
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);dimensionedScalar
pMin(mesh.solutionDict().subDict("SIMPLE").lookup("pMin"));Info
<< "Creating turbulence model\n"
<< endl;autoPtr
< compressible::RASModel >  
turbulence (compressible::RASModel::New(rho, U, phi, thermo))
porousZones  pZones (mesh)
Switch  pressureImplicitPorosity (false)
 if (pZones.size())

Variables

basicPsiThermo &  thermo = pThermo()
volScalarField &  p = thermo.p()
volScalarField &  h = thermo.h()
const volScalarField &  psi = thermo.psi()
dimensionedScalar  initialMass = fvc::domainIntegrate(rho)
int  nUCorr = 0

Function Documentation

Info<< "Reading thermophysical properties\n" << endl; autoPtr<basicPsiThermo> pThermo ( basicPsiThermo::   Newmesh  )
volScalarField rho ( IOobject("rho", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE)   ,
thermo.   rho()  
)
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); dimensionedScalar pMin ( mesh.solutionDict().subDict("SIMPLE").lookup("pMin") ); Info<< "Creating turbulence model\n" << endl; autoPtr<compressible::RASModel> turbulence ( compressible::RASModel::   Newrho, U, phi, thermo  )
porousZones pZones ( mesh    )

Referenced by if().

Switch pressureImplicitPorosity ( false    )

Referenced by for(), and if().

if ( pZones.   size()  )

Definition at line 71 of file createFields.H.

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


Variable Documentation

basicPsiThermo& thermo = pThermo()

Definition at line 7 of file createFields.H.

volScalarField& p = thermo.p()

Definition at line 22 of file createFields.H.

volScalarField& h = thermo.h()

Definition at line 23 of file createFields.H.

const volScalarField& psi = thermo.psi()

Definition at line 24 of file createFields.H.

dimensionedScalar initialMass = fvc::domainIntegrate(rho)

Definition at line 65 of file createFields.H.

Referenced by if().

int nUCorr = 0

Definition at line 70 of file createFields.H.

Referenced by if().