createFields.H
Go to the documentation of this file.
1Info<< "Reading field p_rgh\n" << endl;
3(
4 IOobject
5 (
6 "p_rgh",
7 runTime.timeName(),
8 mesh,
9 IOobject::MUST_READ,
10 IOobject::AUTO_WRITE
11 ),
12 mesh
13);
14
15Info<< "Reading field U\n" << endl;
17(
18 IOobject
19 (
20 "U",
21 runTime.timeName(),
22 mesh,
23 IOobject::MUST_READ,
24 IOobject::AUTO_WRITE
25 ),
26 mesh
27);
28
29#include "createPhi.H"
30
31Info<< "Constructing multiphaseMixtureThermo\n" << endl;
32multiphaseMixtureThermo mixture(U, phi);
33
35(
36 IOobject
37 (
38 "rho",
39 runTime.timeName(),
40 mesh,
41 IOobject::READ_IF_PRESENT
42 ),
43 mixture.rho()
44);
45
46dimensionedScalar pMin("pMin", dimPressure, mixture);
47
48mesh.setFluxRequired(p_rgh.name());
49
50
51#include "readGravitationalAcceleration.H"
52#include "readhRef.H"
53#include "gh.H"
54
55
56// Construct compressible turbulence model
57autoPtr<compressible::turbulenceModel> turbulence
58(
59 compressible::turbulenceModel::New
60 (
61 rho,
62 U,
63 mixture.rhoPhi(),
65 )
66);
67
68#include "createK.H"
volScalarField & p_rgh
surfaceScalarField & phi
const dimensionedScalar & pMin
U
Definition: pEqn.H:72
dynamicFvMesh & mesh
engineTime & runTime
compressible::turbulenceModel & turbulence
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
Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\n"<< endl;autoPtr< temperaturePhaseChangeTwoPhaseMixture > mixture
Definition: createFields.H:39