Functions | Variables
createFields.H File Reference
#include "readGravitationalAcceleration.H"
#include "compressibleCreatePhi.H"
Include dependency graph for createFields.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

autoPtr< hydroThermo > pThermo (hydroThermo::New(mesh))
 
thermo validate (args.executable(), "h","T")
 
volVectorField U (IOobject("U", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), mesh, dimensionedVector("U", dimensionSet(0, 1,-1, 0, 0, 0, 0), vector::zero))
 
volScalarField permeability (IOobject("permeability", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh)
 
volVectorField heatFlux (IOobject("heatFlux", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), -kr *fvc::grad(T))
 
volScalarField porosity (IOobject("porosity", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), mesh, porosity0)
 
volScalarField rho (IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho())
 
volScalarField mu (IOobject("mu", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), thermo.mu())
 
volScalarField Cp (IOobject("Cp", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), thermo.Cp())
 
volScalarField enthalpy (IOobject("enthalpy", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), thermo.enthalpy())
 
volScalarField alphaP (IOobject("alphaP", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), thermo.alphaP())
 
volScalarField betaT (IOobject("betaT", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), thermo.betaT())
 

Variables

hydroThermo & thermo = pThermo()
 
volScalarField & p =thermo.p()
 
volScalarField & T =thermo.T()
 
dimensionedScalar rho_rock =thermo.rho_rock()
 
dimensionedScalar cp_rock = thermo.cp_rock()
 
dimensionedScalar porosity0 = thermo.porosity()
 
dimensionedScalar kr = thermo.kr()
 

Function Documentation

◆ alphaP()

volScalarField alphaP ( IOobject("alphaP", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE)  ,
thermo.  alphaP() 
)

◆ betaT()

volScalarField betaT ( IOobject("betaT", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE)  ,
thermo.  betaT() 
)

◆ Cp()

volScalarField Cp ( IOobject("Cp", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE)  ,
thermo.  Cp() 
)

◆ enthalpy()

volScalarField enthalpy ( IOobject("enthalpy", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE)  ,
thermo.  enthalpy() 
)

◆ heatFlux()

volVectorField heatFlux ( IOobject("heatFlux", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE)  ,
-kr fvc::grad
)

◆ mu()

volScalarField mu ( IOobject("mu", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE)  ,
thermo.  mu() 
)

◆ permeability()

volScalarField permeability ( IOobject("permeability", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE)  ,
mesh   
)

◆ porosity()

volScalarField porosity ( IOobject("porosity", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE)  ,
mesh  ,
porosity0   
)

◆ pThermo()

autoPtr< hydroThermo > pThermo ( hydroThermo::New(mesh)  )

◆ rho()

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

◆ U()

volVectorField U ( IOobject("U", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE)  ,
mesh  ,
dimensionedVector("U", dimensionSet(0, 1,-1, 0, 0, 0, 0), vector::zero)   
)

◆ validate()

thermo validate ( args.  executable(),
"h"  ,
"T"   
)

Variable Documentation

◆ cp_rock

dimensionedScalar cp_rock = thermo.cp_rock()

Definition at line 44 of file createFields.H.

◆ kr

dimensionedScalar kr = thermo.kr()

Definition at line 46 of file createFields.H.

◆ p

volScalarField& p =thermo.p()

Definition at line 8 of file createFields.H.

◆ porosity0

dimensionedScalar porosity0 = thermo.porosity()

Definition at line 45 of file createFields.H.

◆ rho_rock

dimensionedScalar rho_rock =thermo.rho_rock()

Definition at line 43 of file createFields.H.

◆ T

volScalarField& T =thermo.T()

Definition at line 10 of file createFields.H.

◆ thermo

hydroThermo& thermo = pThermo()

Definition at line 2 of file createFields.H.