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  }
48 
49  const volScalarField& alphaEff = talphaEff();
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
Definition: dimensionSets.H:51
messageStream Info
autoPtr< compressible::turbulenceModel > turbulence
Definition: createFields.H:23
dynamicFvMesh & mesh
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
Definition: dimensionSets.H:50
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
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:251
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:52
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
Definition: dimensionSets.H:49
surfaceScalarField & phi
IOobject turbulencePropertiesHeader("turbulenceProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, false)
psiReactionThermo & thermo
Definition: createFields.H:32
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
U
Definition: pEqn.H:82