createFields.H
Go to the documentation of this file.
1 Info<< "Reading field p\n" << endl;
3 (
4  IOobject
5  (
6  "p",
7  runTime.timeName(),
8  mesh,
9  IOobject::MUST_READ,
10  IOobject::AUTO_WRITE
11  ),
12  mesh
13 );
14 
15 
16 Info<< "Reading field U\n" << endl;
18 (
19  IOobject
20  (
21  "U",
22  runTime.timeName(),
23  mesh,
24  IOobject::MUST_READ,
25  IOobject::AUTO_WRITE
26  ),
27  mesh
28 );
29 
30 
31 #include "createPhi.H"
32 
33 
34 singlePhaseTransportModel fluid(U, phi);
35 
36 
37 label pRefCell = 0;
38 scalar pRefValue = 0.0;
39 setRefCell(p, mesh.solutionDict().subDict("PISO"), pRefCell, pRefValue);
40 mesh.setFluxRequired(p.name());
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59
surfaceScalarField & phi
multiphaseSystem & fluid
Definition: createFields.H:11
setRefCell(p, p_rgh, pimple.dict(), pRefCell, pRefValue)
engineTime & runTime
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:256
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedVector("zero", dimVelocity, Zero))
GeometricField< vector, fvPatchField, volMesh > volVectorField
Definition: volFieldsFwd.H:55
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:52
dynamicFvMesh & mesh
volScalarField & p
Definition: createFields.H:23
label pRefCell
Definition: createFields.H:106
messageStream Info
scalar pRefValue
Definition: createFields.H:107