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))
 
 Info<< "Reading field U\n"<< endl;_U=autoPtr< volVectorField > (new volVectorField(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh))
 
 setRefCell (p, simple.dict(), pRefCell, pRefValue)
 

Variables

volScalarField & p = _p()
 
volVectorField & U = _U()
 
 _nut
 
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)

◆ setRefCell()

setRefCell ( p ,
simple. dict(),
pRefCell ,
pRefValue  )

Variable Documentation

◆ _laminarTransport

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

Definition at line 85 of file createFields.H.

◆ _MRF

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

Definition at line 96 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 61 of file createFields.H.

◆ laminarTransport

singlePhaseTransportModel& laminarTransport = _laminarTransport()

Definition at line 89 of file createFields.H.

◆ p

volScalarField& p = _p()

Definition at line 41 of file createFields.H.

◆ pRefCell

label pRefCell = 0

Definition at line 81 of file createFields.H.

◆ pRefValue

scalar pRefValue = 0.0

Definition at line 82 of file createFields.H.

◆ turbulence

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

Definition at line 91 of file createFields.H.

◆ U

volVectorField& U = _U()

Definition at line 59 of file createFields.H.