76 lines
1.3 KiB
C++
76 lines
1.3 KiB
C++
|
Info<< "Reading field T\n" << endl;
|
||
|
|
||
|
volScalarField T
|
||
|
(
|
||
|
IOobject
|
||
|
(
|
||
|
"T",
|
||
|
runTime.timeName(),
|
||
|
mesh,
|
||
|
IOobject::MUST_READ,
|
||
|
IOobject::AUTO_WRITE
|
||
|
),
|
||
|
mesh
|
||
|
);
|
||
|
|
||
|
Info<< "Reading field V\n" << endl;
|
||
|
|
||
|
volVectorField V
|
||
|
(
|
||
|
IOobject
|
||
|
(
|
||
|
"V",
|
||
|
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 DT\n" << endl;
|
||
|
|
||
|
dimensionedScalar DT
|
||
|
(
|
||
|
transportProperties.lookup("DT")
|
||
|
);
|
||
|
|
||
|
dimensionedScalar DV
|
||
|
(
|
||
|
transportProperties.lookup("DV")
|
||
|
);
|
||
|
|
||
|
# include "createPhi.H"
|