Functions | Variables
createFields.H File Reference
Include dependency graph for createFields.H:

Go to the source code of this file.


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::turbulenceModel > turbulence (incompressible::turbulenceModel::New(U, phi, laminarTransport))
volScalarField mu (IOobject("mu", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), *rhoInfValue)
word kinematicCloudName ("kinematicCloud")
args optionReadIfPresent ("cloudName", kinematicCloudName)
 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 

Referenced by if().

Here is the caller graph for this function:

◆ kinematicCloudName()

word kinematicCloudName ( "kinematicCloud"  )

◆ optionReadIfPresent()

args optionReadIfPresent ( "cloudName"  ,

◆ if() [1/2]

if ( Hheader.typeHeaderOk< volVectorField >  true)

Definition at line 84 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  ,

Referenced by if().

Here is the caller graph for this function:

◆ if() [2/2]

if ( HdotGradHheader.typeHeaderOk< volVectorField >  true)

Definition at line 102 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 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 82 of file createFields.H.

◆ HdotGradHPtr

autoPtr<volVectorField> HdotGradHPtr

Definition at line 100 of file createFields.H.