diff --git a/src/TurbulenceModels/turbulenceModels/laminar/laminar.C b/src/TurbulenceModels/turbulenceModels/laminar/laminar.C index c2799e5cc13014221bceb9d436dcdd5a9778cb3c..eac733d49d9ebb909022a0efeee57ef275ba95bd 100644 --- a/src/TurbulenceModels/turbulenceModels/laminar/laminar.C +++ b/src/TurbulenceModels/turbulenceModels/laminar/laminar.C @@ -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() + ) ); }