56 lines
966 B
C
56 lines
966 B
C
|
Info<< "Reading field T\n" << endl;
|
||
|
|
||
|
volScalarField T
|
||
|
(
|
||
|
IOobject
|
||
|
(
|
||
|
"T",
|
||
|
runTime.timeName(),
|
||
|
mesh,
|
||
|
IOobject::MUST_READ,
|
||
|
IOobject::AUTO_WRITE
|
||
|
),
|
||
|
mesh
|
||
|
);
|
||
|
|
||
|
|
||
|
Info<< "Reading field U\n" << endl;
|
||
|
|
||
|
volVectorField U
|
||
|
(
|
||
|
IOobject
|
||
|
(
|
||
|
"U",
|
||
|
runTime.timeName(),
|
||
|
mesh,
|
||
|
IOobject::MUST_READ,
|
||
|
IOobject::AUTO_WRITE
|
||
|
),
|
||
|
mesh
|
||
|
);
|
||
|
|
||
|
|
||
|
Info<< "Reading transportProperties\n" << endl;
|
||
|
|
||
|
IOdictionary transportProperties
|
||
|
(
|
||
|
IOobject
|
||
|
(
|
||
|
"transportProperties",
|
||
|
runTime.constant(),
|
||
|
mesh,
|
||
|
IOobject::MUST_READ,
|
||
|
IOobject::NO_WRITE
|
||
|
)
|
||
|
);
|
||
|
|
||
|
Info<< "Reading diffusivity D\n" << endl;
|
||
|
|
||
|
dimensionedScalar DT
|
||
|
(
|
||
|
transportProperties.lookup("DT")
|
||
|
);
|
||
|
|
||
|
# include "createPhi.H"
|
||
|
|