Skip to content
Snippets Groups Projects
Commit 7e16e4d9 authored by henry's avatar henry
Browse files
parents f5f94358 58c73dd4
Branches
Tags
No related merge requests found
...@@ -114,12 +114,9 @@ void muSgsWallFunctionFvPatchScalarField::evaluate ...@@ -114,12 +114,9 @@ void muSgsWallFunctionFvPatchScalarField::evaluate
const LESModel& sgsModel const LESModel& sgsModel
= db().lookupObject<LESModel>("LESProperties"); = db().lookupObject<LESModel>("LESProperties");
scalar kappa = dimensionedScalar(sgsModel.lookup("kappa")).value(); scalar kappa = readScalar(sgsModel.lookup("kappa"));
scalar E = dimensionedScalar scalar E = readScalar(sgsModel.subDict("wallFunctionCoeffs").lookup("E"));
(
sgsModel.subDict("wallFunctionCoeffs").lookup("E")
).value();
const scalarField& ry = patch().deltaCoeffs(); const scalarField& ry = patch().deltaCoeffs();
......
...@@ -103,12 +103,9 @@ void nuSgsWallFunctionFvPatchScalarField::evaluate ...@@ -103,12 +103,9 @@ void nuSgsWallFunctionFvPatchScalarField::evaluate
const LESModel& sgsModel const LESModel& sgsModel
= db().lookupObject<LESModel>("LESProperties"); = db().lookupObject<LESModel>("LESProperties");
scalar kappa = dimensionedScalar(sgsModel.lookup("kappa")).value(); scalar kappa = readScalar(sgsModel.lookup("kappa"));
scalar E = dimensionedScalar scalar E = readScalar(sgsModel.subDict("wallFunctionCoeffs").lookup("E"));
(
sgsModel.subDict("wallFunctionCoeffs").lookup("E")
).value();
const scalarField& ry = patch().deltaCoeffs(); const scalarField& ry = patch().deltaCoeffs();
......
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