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

Go to the source code of this file.

Functions

 if (!fluid.incompressible())
 
volScalarField rho (IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), fluid.rho())
 
rho oldTime ()
 
 setRefCell (p, p_rgh, pimple.dict(), pRefCell, pRefValue)
 
 if (p_rgh.needReference())
 
autoPtr< CompressibleTurbulenceModel< multiphaseInter::multiphaseSystem > > turbulence (CompressibleTurbulenceModel< multiphaseInter::multiphaseSystem >::New(rho, U, rhoPhi, fluid))
 
fluid setTurbulence (turbulence())
 
autoPtr< radiation::radiationModel > radiation (radiation::radiationModel::New(T))
 

Variables

Info<< "Reading field p_rgh\n"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field T\n"<< endl;volScalarField T(IOobject("T", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Calculating field g.h\n"<< endl;volScalarField p(IOobject("p", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), p_rgh);Info<< "Creating multiphaseSystem\n"<< endl;autoPtr< multiphaseInter::multiphaseSystem > fluidPtr
 
multiphaseInter::multiphaseSystem & fluid = fluidPtr()
 
 p = p_rgh + rho*gh
 
label pRefCell = 0
 
scalar pRefValue = 0.0
 
surfaceScalarField & rhoPhi = fluid.rhoPhi()
 

Function Documentation

◆ if() [1/2]

if ( !fluid.  incompressible())

Definition at line 71 of file createFields.H.

◆ rho()

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

◆ oldTime()

rho oldTime ( )

◆ setRefCell()

setRefCell ( p  ,
p_rgh  ,
pimple.  dict(),
pRefCell  ,
pRefValue   
)

◆ if() [2/2]

if ( p_rgh.  needReference())

Definition at line 107 of file createFields.H.

References gh, p, p_rgh, pRefCell, pRefValue, and rho.

◆ turbulence()

autoPtr< CompressibleTurbulenceModel< multiphaseInter::multiphaseSystem > > turbulence ( CompressibleTurbulenceModel< multiphaseInter::multiphaseSystem >  ::Newrho, U, rhoPhi, fluid)

◆ setTurbulence()

fluid setTurbulence ( turbulence()  )

◆ radiation()

autoPtr< radiation::radiationModel > radiation ( radiation::radiationModel::New(T )

Variable Documentation

◆ fluidPtr

Info<< "Reading field p_rgh\n" << endl; volScalarField p_rgh ( IOobject ( "p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Info<< "Reading field U\n" << endl; volVectorField U ( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Info<< "Reading field T\n" << endl; volScalarField T ( IOobject ( "T", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Info<< "Calculating field g.h\n" << endl; volScalarField p ( IOobject ( "p", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), p_rgh ); Info<< "Creating multiphaseSystem\n" << endl; autoPtr<multiphaseInter::multiphaseSystem> fluidPtr
Initial value:
=
multiphaseInter::multiphaseSystem::New(mesh)
dynamicFvMesh & mesh

Definition at line 66 of file createFields.H.

Referenced by multiphaseInterHtcModel::q(), and reactingEulerHtcModel::q().

◆ fluid

multiphaseInter::multiphaseSystem& fluid = fluidPtr()

Definition at line 69 of file createFields.H.

◆ p

p = p_rgh + rho*gh

Definition at line 94 of file createFields.H.

◆ pRefCell

label pRefCell = 0

Definition at line 96 of file createFields.H.

◆ pRefValue

scalar pRefValue = 0.0

Definition at line 97 of file createFields.H.

◆ rhoPhi

surfaceScalarField& rhoPhi = fluid.rhoPhi()

Definition at line 119 of file createFields.H.