From 405ed91b21a9306e2ffe2f5f40d62bdfa607c72d Mon Sep 17 00:00:00 2001 From: Henry Date: Thu, 22 Mar 2012 09:49:47 +0000 Subject: [PATCH] rhoCentralFoam: corrected reading of Pr --- .../rhoCentralFoam/readThermophysicalProperties.H | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/applications/solvers/compressible/rhoCentralFoam/readThermophysicalProperties.H b/applications/solvers/compressible/rhoCentralFoam/readThermophysicalProperties.H index f9e309ffec..e0b16f0f39 100644 --- a/applications/solvers/compressible/rhoCentralFoam/readThermophysicalProperties.H +++ b/applications/solvers/compressible/rhoCentralFoam/readThermophysicalProperties.H @@ -16,11 +16,8 @@ IOdictionary thermophysicalProperties dimensionedScalar Pr ( - dimensionedScalar::lookupOrDefault - ( - "Pr", - thermophysicalProperties, - 1.0 - ) + "Pr", + dimless, + thermophysicalProperties.subDict("mixture").subDict("transport") + .lookup("Pr") ); -