Loading...
Searching...
No Matches
createFields.H File Reference
#include "createPhi.H"

Go to the source code of this file.

Functions

IOdictionary transportProperties (IOobject("transportProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE))
 
 Info<< "Reading field p\n"<< endl;_p=autoPtr< volScalarField > (new volScalarField(IOobject("p", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh))
 
 Info<< "Reading field U\n"<< endl;_U=autoPtr< volVectorField > (new volVectorField(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh))
 
 Info<< "Reading field T\n"<< endl;_T=autoPtr< volScalarField > (new volScalarField(IOobject("T", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh))
 
 Info<< "Reading field alphat\n"<< endl;_alphat=autoPtr< volScalarField > (new volScalarField(IOobject("alphat", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh))
 
 setRefCell (p, mesh.solutionDict().subDict("PISO"), pRefCell, pRefValue)
 

Variables

volScalarField & p = _p()
 
volVectorField & U = _U()
 
volScalarField & alphat = _alphat()
 
 _nut
 
volScalarField & nut = _nut()
 
 _nu
 
 _DT
 
label pRefCell = 0
 
scalar pRefValue = 0.0
 
 _laminarTransport
 
singlePhaseTransportModel & laminarTransport = _laminarTransport()
 
 turbulence
 
 _Pr
 
 _Prt
 
 _MRF
 

Function Documentation

◆ Info<< "Reading field alphat\n"<< endl;_alphat=autoPtr< volScalarField >()

Info<< "Reading field alphat\n"<< endl;_alphat=autoPtr< volScalarField > ( new volScalarFieldIOobject("alphat", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh)

◆ Info<< "Reading field p\n"<< endl;_p=autoPtr< volScalarField >()

Info<< "Reading field p\n"<< endl;_p=autoPtr< volScalarField > ( new volScalarFieldIOobject("p", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh)

◆ Info<< "Reading field T\n"<< endl;_T=autoPtr< volScalarField >()

Info<< "Reading field T\n"<< endl;_T=autoPtr< volScalarField > ( new volScalarFieldIOobject("T", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh)

◆ 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)

◆ setRefCell()

setRefCell ( p ,
mesh. solutionDict).subDict("PISO",
pRefCell ,
pRefValue  )

◆ transportProperties()

IOdictionary transportProperties ( IOobject("transportProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE) )

Variable Documentation

◆ _DT

_DT
Initial value:
= autoPtr<dimensionedScalar>
(
new dimensionedScalar
(
transportProperties.lookup("DT")
)
)
IOdictionary transportProperties(IOobject("transportProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE))

Definition at line 143 of file createFields.H.

◆ _laminarTransport

_laminarTransport
Initial value:
= autoPtr<singlePhaseTransportModel>
(
new singlePhaseTransportModel( U, phi )
)
surfaceScalarField & phi
volVectorField & U

Definition at line 155 of file createFields.H.

◆ _MRF

_MRF
Initial value:
= autoPtr<IOMRFZoneList>
(
new IOMRFZoneList(mesh)
)
Foam::fvMesh & mesh
Definition createMesh.H:47

Definition at line 181 of file createFields.H.

◆ _nu

_nu
Initial value:
= autoPtr<dimensionedScalar>
(
new dimensionedScalar
(
"nu",
dimViscosity,
transportProperties.lookup("nu")
)
)

Definition at line 131 of file createFields.H.

◆ _nut

_nut
Initial value:
= autoPtr<volScalarField>
(
new volScalarField
(
IOobject
(
"nut",
runTime.timeName(),
IOobject::MUST_READ,
IOobject::AUTO_WRITE
),
)
)
Foam::Time & runTime
Definition createTime.H:33

Definition at line 114 of file createFields.H.

◆ _Pr

_Pr
Initial value:
= autoPtr<dimensionedScalar>
(
new dimensionedScalar
(
transportProperties.lookup("Pr")
)
)

Definition at line 166 of file createFields.H.

◆ _Prt

_Prt
Initial value:
= autoPtr<dimensionedScalar>
(
new dimensionedScalar
(
transportProperties.lookup("Prt")
)
)

Definition at line 174 of file createFields.H.

◆ alphat

volScalarField& alphat = _alphat()

Definition at line 112 of file createFields.H.

◆ laminarTransport

singlePhaseTransportModel& laminarTransport = _laminarTransport()

Definition at line 159 of file createFields.H.

◆ nut

volScalarField& nut = _nut()

Definition at line 129 of file createFields.H.

◆ p

volScalarField& p = _p()

Definition at line 59 of file createFields.H.

◆ pRefCell

label pRefCell = 0

Definition at line 151 of file createFields.H.

◆ pRefValue

scalar pRefValue = 0.0

Definition at line 152 of file createFields.H.

◆ turbulence

turbulence
Initial value:
= autoPtr<incompressible::turbulenceModel>
(
incompressible::turbulenceModel::New(U, phi, laminarTransport)
)
singlePhaseTransportModel & laminarTransport

Definition at line 161 of file createFields.H.

◆ U

volVectorField& U = _U()

Definition at line 77 of file createFields.H.