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  Info<< "Reading transportProperties\n" << endl;
17 
18  IOdictionary transportProperties
19  (
20  IOobject
21  (
22  "transportProperties",
23  runTime.constant(),
24  mesh,
25  IOobject::MUST_READ_IF_MODIFIED,
26  IOobject::NO_WRITE
27  )
28  );
29 
30 
31  Info<< "Reading diffusivity DT\n" << endl;
32 
34 
36  simple.dict().getOrDefault("oversetPatchErrOutput", false);
37 
38  // Dummy phi for oversetPatchErrOutput
39  tmp<surfaceScalarField> tdummyPhi;
41  {
43  (
44  IOobject
45  (
46  "dummyPhi",
47  runTime.timeName(),
48  mesh,
49  IOobject::NO_READ,
50  IOobject::NO_WRITE
51  ),
52  mesh,
54  );
55  }
const dimensionSet dimViscosity
engineTime & runTime
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:531
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
const dimensionSet dimless
Dimensionless.
oversetPatchErrOutput
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:81
dynamicFvMesh & mesh
IOdictionary transportProperties(IOobject("transportProperties", runTime.constant(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Info<< "Reading field T\"<< endl;volScalarField T(IOobject("T", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading transportProperties\"<< endl;IOdictionary transportProperties(IOobject("transportProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));Info<< "Reading diffusivity DT\"<< endl;dimensionedScalar DT("DT", dimViscosity, transportProperties);bool oversetPatchErrOutput=simple.dict().getOrDefault("oversetPatchErrOutput", false);tmp< surfaceScalarField > tdummyPhi
Definition: createFields.H:39
const dictionary & simple
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
messageStream Info
Information stream (stdout output on master, null elsewhere)
volScalarField & T
Definition: createFields.H:11
static constexpr const zero Zero
Global zero (0)
Definition: zero.H:127