Functions | Variables
createFields.H File Reference
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);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), laminarTransport.nu()*rhoInfValue)
 
word kinematicCloudName ("kinematicCloud")
 
args optionReadIfPresent ("cloudName", kinematicCloudName)
 
 if (Hheader.headerOk())
 
IOobject HdotGradHheader ("HdotGradH", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE)
 
 if (HdotGradHheader.headerOk())
 

Variables

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

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)  ,
laminarTransport.nu()*  rhoInfValue 
)

Referenced by if().

Here is the caller graph for this function:

word kinematicCloudName ( "kinematicCloud"  )
args optionReadIfPresent ( "cloudName"  ,
kinematicCloudName   
)
if ( Hheader.  headerOk())

Definition at line 84 of file createFields.H.

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

Here is the call graph for this function:

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

Referenced by if().

Here is the caller graph for this function:

if ( HdotGradHheader.  headerOk())

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

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.

autoPtr<volVectorField> HdotGradHPtr

Definition at line 100 of file createFields.H.