Skip to content
Snippets Groups Projects
Commit 941117a1 authored by Henry Weller's avatar Henry Weller
Browse files

createIncompressibleRadiationModel: Allow specification of value only for rhoRef and CpRef

Patch provided by Daniel Jasinski: http://www.openfoam.org/mantisbt/view.php?id=1856
parent 04103b52
Branches
Tags
1 merge request!25Merge foundation
......@@ -21,12 +21,23 @@
runTime,
IOobject::MUST_READ,
IOobject::NO_WRITE,
false // do not register!
false // Do not register
)
);
dimensionedScalar rhoRef(transportProperties.lookup("rhoRef"));
dimensionedScalar CpRef(transportProperties.lookup("CpRef"));
dimensionedScalar rhoRef
(
"rhoRef",
dimDensity,
transportProperties
);
dimensionedScalar CpRef
(
"CpRef",
dimSpecificHeatCapacity,
transportProperties
);
rhoCpRef = rhoRef*CpRef;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment