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

Go to the source code of this file.


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::turbulenceModel > turbulence (incompressible::turbulenceModel::New(U, phi, laminarTransport))
volScalarField mu (IOobject("mu", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), *rhoInfValue)
const word kinematicCloudName (args.getOrDefault< word >("cloud", "kinematicCloud"))
 if (Hheader.typeHeaderOk< volVectorField >(true))
IOobject HdotGradHheader ("HdotGradH", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE)
 if (HdotGradHheader.typeHeaderOk< volVectorField >(true))


Info<< "Constructing kinematicCloud "<< kinematicCloudName<< endl;basicKinematicCollidingCloud kinematicCloud(kinematicCloudName, 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::turbulenceModel> turbulence ( incompressible::turbulenceModel::New(U, phi, laminarTransport )

◆ mu()

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

◆ kinematicCloudName()

const word kinematicCloudName ( args.getOrDefault< word >  "cloud", "kinematicCloud")

◆ if() [1/2]

if ( Hheader.typeHeaderOk< volVectorField >  true)

Definition at line 86 of file createFields.H.

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

Here is the call graph for this function:

◆ HdotGradHheader()

IOobject HdotGradHheader ( "HdotGradH"  ,
runTime.  timeName(),
mesh  ,
IOobject::MUST_READ  ,

Referenced by if().

Here is the caller graph for this function:

◆ if() [2/2]

if ( HdotGradHheader.typeHeaderOk< volVectorField >  true)

Definition at line 104 of file createFields.H.

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

Here is the call graph for this function:

Variable Documentation

◆ HPtr

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

Definition at line 84 of file createFields.H.

Referenced by if().

◆ HdotGradHPtr

autoPtr<volVectorField> HdotGradHPtr

Definition at line 102 of file createFields.H.

Referenced by if().