mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
to simplify construction of dimensionedScalar properties and avoid the duplication of the name string in the constructor call.
21 lines
339 B
C
21 lines
339 B
C
Info<< "Reading transportProperties\n" << endl;
|
|
|
|
IOdictionary transportProperties
|
|
(
|
|
IOobject
|
|
(
|
|
"transportProperties",
|
|
runTime.constant(),
|
|
mesh,
|
|
IOobject::MUST_READ_IF_MODIFIED,
|
|
IOobject::NO_WRITE
|
|
)
|
|
);
|
|
|
|
dimensionedScalar mu
|
|
(
|
|
"mu",
|
|
dimDynamicViscosity,
|
|
transportProperties
|
|
);
|