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);singlePhaseTransportModel laminarTransport(U, phi);dimensionedScalar rhoInfValue("rhoInf", dimDensity, laminarTransport);volScalarField rhoInf(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, rhoInfValue);autoPtr< incompressible::momentumTransportModel > turbulence (incompressible::momentumTransportModel::New(U, phi, laminarTransport))
 
volScalarField mu (IOobject("mu", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), laminarTransport.nu() *rhoInfValue)
 
 if (Hheader.typeHeaderOk< volVectorField >(true))
 
IOobject HdotGradHheader ("HdotGradH", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE)
 
 if (HdotGradHheader.typeHeaderOk< volVectorField >(true))
 

Variables

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

Function Documentation

◆ turbulence()

Info<< "Reading field U\n" << endl;volVectorField U( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);singlePhaseTransportModel laminarTransport(U, phi);dimensionedScalar rhoInfValue( "rhoInf", dimDensity, laminarTransport);volScalarField rhoInf( IOobject ( "rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), mesh, rhoInfValue);autoPtr<incompressible::momentumTransportModel> turbulence ( incompressible::momentumTransportModel::New(U, phi, laminarTransport )

◆ mu()

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

◆ if() [1/2]

if ( Hheader.typeHeaderOk< volVectorField >  true)

Definition at line 74 of file createFields.H.

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

Here is the call graph for this function:

◆ HdotGradHheader()

IOobject 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.typeHeaderOk< volVectorField >  true)

Definition at line 92 of file createFields.H.

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

Here is the call graph for this function:

Variable Documentation

◆ HPtr

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

Definition at line 72 of file createFields.H.

◆ HdotGradHPtr

autoPtr<volVectorField> HdotGradHPtr

Definition at line 90 of file createFields.H.