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/incompressible/createPhiv.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 field U\n"
<< endl;volVectorField U(IOobject("U",
runTime.timeName(), mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE), mesh);Info
<< "Reading
transportProperties\n"<< endl;twoPhaseMixture
twoPhaseProperties(U, phiv,"gamma");autoPtr
< incompressible::turbulenceModel >  
turbulence (incompressible::turbulenceModel::New(U, phiv, twoPhaseProperties))

Variables

Info<< "Reading field p\n"
<< endl;volScalarField p(IOobject("p",
runTime.timeName(), mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE), mesh);volScalarField
rho(IOobject("rho",
runTime.timeName(), mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE), mesh);volScalarField
gamma(IOobject("gamma",
runTime.timeName(), mesh,
IOobject::NO_READ,
IOobject::AUTO_WRITE), max(min((rho-rholSat)/(rhovSat-rholSat),
scalar(1)), scalar(0)));gamma.oldTime();Info
<< "Creating
compressibilityModel\n"<< endl;autoPtr
< barotropicCompressibilityModel >  
psiModel
const volScalarField &  psi = psiModel->psi()
 rho

Function Documentation

Info<< "Reading field U\n" << endl; volVectorField U ( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Info<< "Reading transportProperties\n" << endl; twoPhaseMixture twoPhaseProperties(U, phiv, "gamma"); autoPtr<incompressible::turbulenceModel> turbulence ( incompressible::turbulenceModel::   NewU, phiv, twoPhaseProperties  )

Variable Documentation

Info<< "Reading field p\n" << endl; volScalarField p ( IOobject ( "p", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); volScalarField rho ( IOobject ( "rho", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); volScalarField gamma ( IOobject ( "gamma", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), max(min((rho - rholSat)/(rhovSat - rholSat), scalar(1)), scalar(0)) ); gamma.oldTime(); Info<< "Creating compressibilityModel\n" << endl; autoPtr<barotropicCompressibilityModel> psiModel
Initial value:
        barotropicCompressibilityModel::New
        (
            thermodynamicProperties,
            gamma
        )

Definition at line 43 of file createFields.H.

const volScalarField& psi = psiModel->psi()

Definition at line 50 of file createFields.H.

rho
Initial value:
= max
    (
        psi*p
      + (1.0 - gamma)*rhol0
      + ((gamma*psiv + (1.0 - gamma)*psil) - psi)*pSat,
        rhoMin
    )

Definition at line 52 of file createFields.H.