createRDeltaT.H
Go to the documentation of this file.
1 bool LTS = fv::localEulerDdt::enabled(mesh);
2 
3 tmp<volScalarField> trDeltaT;
4 
5 if (LTS)
6 {
7  Info<< "Using LTS" << endl;
8 
9  trDeltaT = tmp<volScalarField>
10  (
11  new volScalarField
12  (
13  IOobject
14  (
15  fv::localEulerDdt::rDeltaTName,
16  runTime.timeName(),
17  mesh,
18  IOobject::READ_IF_PRESENT,
19  IOobject::AUTO_WRITE
20  ),
21  mesh,
23  extrapolatedCalculatedFvPatchScalarField::typeName
24  )
25  );
26 }
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:253
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:52
dynamicFvMesh & mesh
bool LTS
Definition: createRDeltaT.H:1
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
Definition: dimensionSets.H:47
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
tmp< volScalarField > trDeltaT
Definition: createRDeltaT.H:3