db7fac3f24
git-svn-id: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev@1731 e4e07f05-0c2f-0410-a05a-b8ba57e0c909
36 lines
641 B
C++
36 lines
641 B
C++
IOdictionary ppProperties
|
|
(
|
|
IOobject
|
|
(
|
|
"ppProperties",
|
|
runTime.constant(),
|
|
mesh,
|
|
IOobject::MUST_READ,
|
|
IOobject::NO_WRITE
|
|
)
|
|
);
|
|
|
|
scalar preAlphaExp
|
|
(
|
|
readScalar(ppProperties.lookup("preAlphaExp"))
|
|
);
|
|
|
|
scalar alphaMax
|
|
(
|
|
readScalar(ppProperties.lookup("alphaMax"))
|
|
);
|
|
|
|
scalar expMax
|
|
(
|
|
readScalar(ppProperties.lookup("expMax"))
|
|
);
|
|
|
|
dimensionedScalar g0
|
|
(
|
|
ppProperties.lookup("g0")
|
|
);
|
|
|
|
Switch packingLimiter
|
|
(
|
|
ppProperties.lookup("packingLimiter")
|
|
);
|