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

Go to the source code of this file.

Functions

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

Variables

volScalarField & p = _p()
 
 _p0
 
volVectorField & U = _U()
 
 _U0
 
label pRefCell = 0
 
scalar 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 )

◆ setRefCell()

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

◆ U0()

volVectorField U0 ( U )

Variable Documentation

◆ _laminarTransport

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

Definition at line 82 of file createFields.H.

◆ _MRF

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

Definition at line 93 of file createFields.H.

◆ _p0

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

Definition at line 45 of file createFields.H.

◆ _U0

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

Definition at line 70 of file createFields.H.

◆ laminarTransport

singlePhaseTransportModel& laminarTransport = _laminarTransport()

Definition at line 86 of file createFields.H.

◆ p

volScalarField& p = _p()

Definition at line 41 of file createFields.H.

◆ pRefCell

label pRefCell = 0

Definition at line 78 of file createFields.H.

◆ pRefValue

scalar pRefValue = 0.0

Definition at line 79 of file createFields.H.

◆ turbulence

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

Definition at line 88 of file createFields.H.

◆ U

volVectorField& U = _U()

Definition at line 66 of file createFields.H.