Skip to content
Snippets Groups Projects
Commit e6e97285 authored by Henry's avatar Henry Committed by Andrew Heather
Browse files

TurbulenceModels/turbulenceModels/laminar: Corrected name of nuEff for multiphase

parent de8b6c20
Branches
Tags
No related merge requests found
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -38,7 +38,7 @@ Foam::laminar<BasicTurbulenceModel>::laminar
const alphaField& alpha,
const rhoField& rho,
const volVectorField& U,
const surfaceScalarField& alphaPhi,
const surfaceScalarField& alphaRhoPhi,
const surfaceScalarField& phi,
const transportModel& transport,
const word& propertiesName
......@@ -49,7 +49,7 @@ Foam::laminar<BasicTurbulenceModel>::laminar
alpha,
rho,
U,
alphaPhi,
alphaRhoPhi,
phi,
transport,
propertiesName
......@@ -66,7 +66,7 @@ Foam::laminar<BasicTurbulenceModel>::New
const alphaField& alpha,
const rhoField& rho,
const volVectorField& U,
const surfaceScalarField& alphaPhi,
const surfaceScalarField& alphaRhoPhi,
const surfaceScalarField& phi,
const transportModel& transport,
const word& propertiesName
......@@ -79,7 +79,7 @@ Foam::laminar<BasicTurbulenceModel>::New
alpha,
rho,
U,
alphaPhi,
alphaRhoPhi,
phi,
transport,
propertiesName
......@@ -141,7 +141,10 @@ Foam::laminar<BasicTurbulenceModel>::nuEff() const
{
return tmp<volScalarField>
(
new volScalarField("nuEff", this->nu())
new volScalarField
(
IOobject::groupName("nuEff", this->U_.group()), this->nu()
)
);
}
......
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