setAlphaEff.H
Go to the documentation of this file.
1 Info<< "Creating turbulence model\n" << endl;
2 tmp<volScalarField> talphaEff;
3 
5 (
6  "turbulenceProperties",
7  runTime.constant(),
8  mesh,
9  IOobject::MUST_READ_IF_MODIFIED,
10  IOobject::NO_WRITE,
11  false
12 );
13 
15 {
16  autoPtr<compressible::turbulenceModel> turbulence
17  (
19  (
20  rho,
21  U,
22  phi,
23  thermo
24  )
25  );
26 
27  talphaEff = turbulence->alphaEff();
28 }
29 else
30 {
31  talphaEff = tmp<volScalarField>
32  (
33  new volScalarField
34  (
35  IOobject
36  (
37  "alphaEff",
38  runTime.timeName(),
39  mesh,
40  IOobject::NO_READ,
41  IOobject::NO_WRITE
42  ),
43  mesh,
45  )
46  );
47 }
autoPtr< compressible::turbulenceModel > turbulence
Definition: createFields.H:23
surfaceScalarField & phi
U
Definition: pEqn.H:83
Info<< "Creating turbulence model\n"<< endl;tmp< volScalarField > talphaEff
Definition: setAlphaEff.H:2
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:253
IOobject turbulencePropertiesHeader("turbulenceProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, false)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:52
psiReactionThermo & thermo
Definition: createFields.H:31
dynamicFvMesh & mesh
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
Definition: dimensionSets.H:50
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
Definition: dimensionSets.H:51
messageStream Info
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
Definition: dimensionSets.H:49