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

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))
 
volScalarField p0 (p)
 
 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)
 
surfaceScalarField phi0 (phi)
 
 setRefCell (p, mesh.solutionDict().subDict("SIMPLE"), pRefCell, pRefValue)
 

Variables

volScalarField & p = _p()
 
 _p0
 
volVectorField & U = _U()
 
 _U0
 
 _nu
 
dimensionedScalar & nu = _nu()
 
 _dt
 
 _phi
 
surfaceScalarField & phi = _phi()
 
 _phi0
 
 pRefCell = 0
 
 pRefValue = 0.0
 
 _laminarTransport
 
singlePhaseTransportModel & laminarTransport = _laminarTransport()
 
 turbulence
 
 _MRF
 

Function Documentation

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

◆ p0()

volScalarField p0 ( p )

◆ phi0()

surfaceScalarField phi0 ( phi )

◆ setRefCell()

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

◆ transportProperties()

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

◆ U0()

volVectorField U0 ( U )

Variable Documentation

◆ _dt

_dt
Initial value:
= autoPtr<dimensionedScalar>
(
new dimensionedScalar
(
"dt",
dimensionSet(0, 0, 1, 0, 0),
1.0
)
)

Definition at line 100 of file createFields.H.

◆ _laminarTransport

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

Definition at line 138 of file createFields.H.

◆ _MRF

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

Definition at line 149 of file createFields.H.

◆ _nu

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

Definition at line 89 of file createFields.H.

◆ _p0

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

Definition at line 58 of file createFields.H.

◆ _phi

_phi
Initial value:
= autoPtr<surfaceScalarField>
(
new surfaceScalarField
(
IOobject
(
"phi",
runTime.timeName(),
IOobject::READ_IF_PRESENT,
IOobject::AUTO_WRITE
),
)
)
Foam::Time & runTime
Definition createTime.H:33
Examples
06POD_RBF.C, 11UnsteadyBBOpen.C, 17YJunction.C, and 19UnsteadyNSExplicit.C.

Definition at line 110 of file createFields.H.

◆ _phi0

_phi0
Initial value:
= autoPtr<surfaceScalarField>
(
new surfaceScalarField(phi0)
)
surfaceScalarField phi0(phi)

Definition at line 129 of file createFields.H.

◆ _U0

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

Definition at line 83 of file createFields.H.

◆ laminarTransport

singlePhaseTransportModel& laminarTransport = _laminarTransport()

Definition at line 142 of file createFields.H.

◆ nu

dimensionedScalar& nu = _nu()

Definition at line 98 of file createFields.H.

◆ p

volScalarField& p = _p()

Definition at line 54 of file createFields.H.

◆ phi

surfaceScalarField& phi = _phi()

Definition at line 125 of file createFields.H.

◆ pRefCell

pRefCell = 0

Definition at line 134 of file createFields.H.

◆ pRefValue

pRefValue = 0.0

Definition at line 135 of file createFields.H.

◆ turbulence

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

Definition at line 144 of file createFields.H.

◆ U

volVectorField& U = _U()

Definition at line 79 of file createFields.H.