Loading...
Searching...
No Matches
createFields.H File Reference

Go to the source code of this file.

Functions

 Info<< "Reading thermophysical properties\n"<< endl;pThermo=autoPtr< fluidThermo > (fluidThermo::New(mesh))
 
thermo validate (args.executable(), "h", "e")
 
volScalarField p0 (thermo.p())
 
volScalarField rho0 (rho)
 
volScalarField E0 (_E())
 
 Info<< "Reading field U\n"<< endl;_U=autoPtr< volVectorField > (new volVectorField(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh))
 
volVectorField U0 (U)
 
mesh setFluxRequired (p.name())
 
 Info<< "Creating turbulence model\n"<< endl;turbulence=autoPtr< compressible::turbulenceModel > (compressible::turbulenceModel::New(rho, U, phi, thermo))
 

Variables

fluidThermo & thermo = pThermo()
 
 _p
 
volScalarField & p = _p()
 
 _p0
 
 _rho
 
volScalarField & rho = _rho()
 
 _rho0
 
 _E
 
 _E0
 
volVectorField & U = _U()
 
 _U0
 
 _pressureControl
 
 _initialMass
 
 _MRF
 
 _psi
 
 _fvOptions = autoPtr<fv::options>(new fv::options(mesh))
 

Function Documentation

◆ E0()

volScalarField E0 ( _E() )

◆ Info<< "Creating turbulence model\n"<< endl;turbulence=autoPtr< compressible::turbulenceModel >()

Info<< "Creating turbulence model\n"<< endl;turbulence=autoPtr< compressible::turbulenceModel > ( compressible::turbulenceModel::New(rho, U, phi, thermo) )

◆ Info<< "Reading field U\n"<< endl;_U=autoPtr< volVectorField >()

Info<< "Reading field U\n"<< endl;_U=autoPtr< volVectorField > ( new volVectorFieldIOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh)

◆ Info<< "Reading thermophysical properties\n"<< endl;pThermo=autoPtr< fluidThermo >()

Info<< "Reading thermophysical properties\n"<< endl;pThermo=autoPtr< fluidThermo > ( fluidThermo::New(mesh) )

◆ p0()

volScalarField p0 ( thermo. p())

◆ rho0()

volScalarField rho0 ( rho )

◆ setFluxRequired()

mesh setFluxRequired ( p. name())

◆ U0()

volVectorField U0 ( U )

◆ validate()

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

Variable Documentation

◆ _E

_E
Initial value:
= autoPtr<volScalarField>
(
new volScalarField(thermo.he())
)
fluidThermo & thermo

Definition at line 76 of file createFields.H.

◆ _E0

_E0
Initial value:
= autoPtr<volScalarField>
(
new volScalarField(E0)
)
volScalarField E0(_E())

Definition at line 83 of file createFields.H.

◆ _fvOptions

_fvOptions = autoPtr<fv::options>(new fv::options(mesh))

Definition at line 152 of file createFields.H.

◆ _initialMass

_initialMass
Initial value:
= autoPtr<dimensionedScalar>
(
new dimensionedScalar(fvc::domainIntegrate(rho))
)
volScalarField & rho

Definition at line 137 of file createFields.H.

◆ _MRF

_MRF
Initial value:
= autoPtr<IOMRFZoneList>
(
new IOMRFZoneList(mesh)
)
Foam::fvMesh & mesh
Definition createMesh.H:47
Examples
06POD_RBF.C, and 17YJunction.C.

Definition at line 142 of file createFields.H.

◆ _p

_p
Initial value:
= autoPtr<volScalarField>
(
new volScalarField(thermo.p())
)
Examples
04unsteadyNS.C, 06POD_RBF.C, 10UnsteadyBBEnclosed.C, 11UnsteadyBBOpen.C, 17YJunction.C, and 19UnsteadyNSExplicit.C.

Definition at line 37 of file createFields.H.

◆ _p0

_p0
Initial value:
= autoPtr<volScalarField>
(
new volScalarField(p0)
)
volScalarField p0(thermo.p())

Definition at line 46 of file createFields.H.

◆ _pressureControl

_pressureControl
Initial value:
= autoPtr<pressureControl>
(
new pressureControl(p, rho, simple.dict())
)
pressureControl & pressureControl
Definition NLsolve.H:30
simpleControl simple(mesh)
volScalarField & p

Definition at line 115 of file createFields.H.

◆ _psi

_psi
Initial value:
= autoPtr<volScalarField>
(
new volScalarField(thermo.psi())
)

Definition at line 147 of file createFields.H.

◆ _rho

_rho
Initial value:
= autoPtr<volScalarField>
(
new volScalarField
(
IOobject
(
"rho",
runTime.timeName(),
IOobject::READ_IF_PRESENT,
IOobject::AUTO_WRITE
),
thermo.rho()
)
)
Foam::Time & runTime
Definition createTime.H:33

Definition at line 51 of file createFields.H.

◆ _rho0

_rho0
Initial value:
= autoPtr<volScalarField>
(
new volScalarField(rho0)
)
volScalarField rho0(rho)

Definition at line 71 of file createFields.H.

◆ _U0

_U0
Initial value:
= autoPtr<volVectorField>
(
new volVectorField(U0)
)
volVectorField U0(U)

Definition at line 108 of file createFields.H.

◆ p

◆ rho

volScalarField& rho = _rho()

Definition at line 67 of file createFields.H.

◆ thermo

fluidThermo& thermo = pThermo()

Definition at line 33 of file createFields.H.

◆ U

volVectorField& U = _U()

Definition at line 104 of file createFields.H.