Commit c8f89b17 authored by Andrew Heather's avatar Andrew Heather
Browse files

kappa and E now need read as scalars instead of dimensionedScalars

parent 2dce1522
......@@ -114,12 +114,9 @@ void muSgsWallFunctionFvPatchScalarField::evaluate
const LESModel& sgsModel
= db().lookupObject<LESModel>("LESProperties");
scalar kappa = dimensionedScalar(sgsModel.lookup("kappa")).value();
scalar kappa = readScalar(sgsModel.lookup("kappa"));
scalar E = dimensionedScalar
(
sgsModel.subDict("wallFunctionCoeffs").lookup("E")
).value();
scalar E = readScalar(sgsModel.subDict("wallFunctionCoeffs"));
const scalarField& ry = patch().deltaCoeffs();
......
......@@ -103,12 +103,9 @@ void nuSgsWallFunctionFvPatchScalarField::evaluate
const LESModel& sgsModel
= db().lookupObject<LESModel>("LESProperties");
scalar kappa = dimensionedScalar(sgsModel.lookup("kappa")).value();
scalar kappa = readScalar(sgsModel.lookup("kappa"));
scalar E = dimensionedScalar
(
sgsModel.subDict("wallFunctionCoeffs").lookup("E")
).value();
scalar E = readScalar(sgsModel.subDict("wallFunctionCoeffs").lookup("E"));
const scalarField& ry = patch().deltaCoeffs();
......
Markdown is supported
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