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/incompressible/createPhi.H"
#include "applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/readTransportProperties.H"
Include dependency graph for createFields.H:

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_rgh\n"
<< endl;volScalarField p_rgh(IOobject("p_rgh",
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))
volScalarField  rhok (IOobject("rhok", runTime.timeName(), mesh), 1.0-beta *(T-TRef))

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_rgh\n" << endl; volScalarField p_rgh ( IOobject ( "p_rgh", 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  )
volScalarField rhok ( IOobject("rhok", runTime.timeName(), mesh)   ,
1.0-beta *   T-TRef  
)