createFields.H File Reference
Include dependency graph for createFields.H:

Go to the source code of this file.

Functions

Info<< "Reading field U\"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);autoPtr< viscosityModel > viscosity (viscosityModel::New(mesh))
 
dimensionedScalar rhoInfValue ("rhoInf", dimDensity, viscosity)
 
volScalarField rhoInf (IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, rhoInfValue)
 
autoPtr< incompressible::momentumTransportModel > turbulence (incompressible::momentumTransportModel::New(U, phi, viscosity))
 
volScalarField mu (IOobject("mu", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), viscosity->nu() *rhoInfValue)
 
Info<< "Constructing clouds"<< endl;parcelCloudList clouds(rhoInf, U, mu, g);typeIOobject< volVectorField > Hheader ("H", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE)
 
 if (Hheader.headerOk())
 
typeIOobject< volVectorField > HdotGradHheader ("HdotGradH", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE)
 
 if (HdotGradHheader.headerOk())
 

Variables

autoPtr< volVectorField > HPtr
 
autoPtr< volVectorField > HdotGradHPtr
 

Function Documentation

◆ viscosity()

Info<< "Reading field U\n" << endl;volVectorField U( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);autoPtr<viscosityModel> viscosity ( viscosityModel::New(mesh )

◆ rhoInfValue()

dimensionedScalar rhoInfValue ( "rhoInf"  ,
dimDensity  ,
viscosity   
)

◆ rhoInf()

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

Referenced by standardPhaseChange::correctModel(), and waxSolventEvaporation::correctModel().

Here is the caller graph for this function:

◆ turbulence()

autoPtr<incompressible::momentumTransportModel> turbulence ( incompressible::momentumTransportModel::New(U, phi, viscosity )

◆ mu()

volScalarField mu ( IOobject("mu", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE)  ,
viscosity->nu() *  rhoInfValue 
)

◆ Hheader()

Info<< "Constructing clouds" << endl;parcelCloudList clouds(rhoInf, U, mu, g);typeIOobject<volVectorField> Hheader ( "H"  ,
runTime.  timeName(),
mesh  ,
IOobject::MUST_READ  ,
IOobject::AUTO_WRITE   
)

Referenced by if().

Here is the caller graph for this function:

◆ if() [1/2]

if ( Hheader.  headerOk())

Definition at line 70 of file createFields.H.

References Foam::endl(), HdotGradHheader(), Hheader(), Foam::Info, and mesh.

Here is the call graph for this function:

◆ HdotGradHheader()

typeIOobject<volVectorField> HdotGradHheader ( "HdotGradH"  ,
runTime.  timeName(),
mesh  ,
IOobject::MUST_READ  ,
IOobject::AUTO_WRITE   
)

Referenced by if().

Here is the caller graph for this function:

◆ if() [2/2]

if ( HdotGradHheader.  headerOk())

Definition at line 88 of file createFields.H.

References Foam::endl(), HdotGradHheader(), Foam::Info, and mesh.

Here is the call graph for this function:

Variable Documentation

◆ HPtr

autoPtr<volVectorField> HPtr

Definition at line 68 of file createFields.H.

◆ HdotGradHPtr

autoPtr<volVectorField> HdotGradHPtr

Definition at line 86 of file createFields.H.