createFields.H
Go to the documentation of this file.
1Info<< "Reading transportProperties\n" << endl;
2
3IOdictionary transportProperties
4(
5 IOobject
6 (
7 "transportProperties",
8 runTime.constant(),
9 mesh,
10 IOobject::MUST_READ_IF_MODIFIED,
11 IOobject::NO_WRITE
12 )
13);
14
16(
17 "nu",
18 dimViscosity,
20);
21
22Info<< "Reading field p\n" << endl;
24(
25 IOobject
26 (
27 "p",
28 runTime.timeName(),
29 mesh,
30 IOobject::MUST_READ,
31 IOobject::AUTO_WRITE
32 ),
33 mesh
34);
35
36
37Info<< "Reading field U\n" << endl;
39(
40 IOobject
41 (
42 "U",
43 runTime.timeName(),
44 mesh,
45 IOobject::MUST_READ,
46 IOobject::AUTO_WRITE
47 ),
48 mesh
49);
50
51
52#include "createPhi.H"
53
54
55label pRefCell = 0;
56scalar pRefValue = 0.0;
57setRefCell(p, mesh.solutionDict().subDict("PISO"), pRefCell, pRefValue);
58mesh.setFluxRequired(p.name());
const scalar pRefValue
const label pRefCell
U
Definition: pEqn.H:72
volScalarField & p
dynamicFvMesh & mesh
engineTime & runTime
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< vector, fvPatchField, volMesh > volVectorField
Definition: volFieldsFwd.H:83
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:82
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:372
volScalarField & nu
IOdictionary transportProperties(IOobject("transportProperties", runTime.constant(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
setRefCell(p, pimple.dict(), pRefCell, pRefValue)