createFields.H
Go to the documentation of this file.
1 Info<< "Reading field T\n" << endl;
2 
4 (
5  IOobject
6  (
7  "T",
8  runTime.timeName(),
9  mesh,
10  IOobject::MUST_READ,
11  IOobject::AUTO_WRITE
12  ),
13  mesh
14 );
15 
16 
17 Info<< "Reading diffusivity DT\n" << endl;
18 
20 (
21  IOobject
22  (
23  "DT",
24  runTime.timeName(),
25  mesh,
26  IOobject::READ_IF_PRESENT,
27  IOobject::AUTO_WRITE
28  ),
29  mesh,
31 );
32 
33 if (!DT.headerOk())
34 {
35  IOdictionary transportProperties
36  (
37  IOobject
38  (
39  "transportProperties",
40  runTime.constant(),
41  mesh,
42  IOobject::MUST_READ_IF_MODIFIED,
43  IOobject::NO_WRITE
44  )
45  );
47 }
48 
49 #include "createFvOptions.H"
runTime
engineTime & runTime
Definition: createEngineTime.H:13
Foam::Zero
static constexpr const zero Zero
Global zero (0)
Definition: zero.H:131
transportProperties
IOdictionary transportProperties(IOobject("transportProperties", runTime.constant(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:369
createFvOptions.H
Foam::Info
messageStream Info
Information stream (stdout output on master, null elsewhere)
Foam::dimensionedScalar
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Definition: dimensionedScalarFwd.H:42
Foam::volScalarField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:57
Foam::dimViscosity
const dimensionSet dimViscosity
mesh
dynamicFvMesh & mesh
Definition: createDynamicFvMesh.H:6
T
volScalarField & T
Definition: createFields.H:11