createIncompressibleRadiationModel: Allow specification of value only for rhoRef and CpRef
Patch provided by Daniel Jasinski: http://www.openfoam.org/mantisbt/view.php?id=1856
This commit is contained in:
parent
c6fe72c6ad
commit
469a8d85ca
@ -21,12 +21,23 @@
|
|||||||
runTime,
|
runTime,
|
||||||
IOobject::MUST_READ,
|
IOobject::MUST_READ,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE,
|
||||||
false // do not register!
|
false // Do not register
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
dimensionedScalar rhoRef(transportProperties.lookup("rhoRef"));
|
dimensionedScalar rhoRef
|
||||||
dimensionedScalar CpRef(transportProperties.lookup("CpRef"));
|
(
|
||||||
|
"rhoRef",
|
||||||
|
dimDensity,
|
||||||
|
transportProperties
|
||||||
|
);
|
||||||
|
|
||||||
|
dimensionedScalar CpRef
|
||||||
|
(
|
||||||
|
"CpRef",
|
||||||
|
dimSpecificHeatCapacity,
|
||||||
|
transportProperties
|
||||||
|
);
|
||||||
|
|
||||||
rhoCpRef = rhoRef*CpRef;
|
rhoCpRef = rhoRef*CpRef;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user