Skip to content
Snippets Groups Projects
Commit bdc16a24 authored by Henry's avatar Henry
Browse files

Avoid registration of variables which may generate name conflicts

parent 7a25d897
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
...@@ -120,7 +120,8 @@ Foam::tmp<Foam::volScalarField> Foam::laminarFlameSpeedModels::Gulders::Su0pTphi ...@@ -120,7 +120,8 @@ Foam::tmp<Foam::volScalarField> Foam::laminarFlameSpeedModels::Gulders::Su0pTphi
p.time().timeName(), p.time().timeName(),
p.db(), p.db(),
IOobject::NO_READ, IOobject::NO_READ,
IOobject::NO_WRITE IOobject::NO_WRITE,
false
), ),
p.mesh(), p.mesh(),
dimensionedScalar("Su0", dimVelocity, 0.0) dimensionedScalar("Su0", dimVelocity, 0.0)
...@@ -170,7 +171,8 @@ Foam::tmp<Foam::volScalarField> Foam::laminarFlameSpeedModels::Gulders::Su0pTphi ...@@ -170,7 +171,8 @@ Foam::tmp<Foam::volScalarField> Foam::laminarFlameSpeedModels::Gulders::Su0pTphi
p.time().timeName(), p.time().timeName(),
p.db(), p.db(),
IOobject::NO_READ, IOobject::NO_READ,
IOobject::NO_WRITE IOobject::NO_WRITE,
false
), ),
p.mesh(), p.mesh(),
dimensionedScalar("Su0", dimVelocity, 0.0) dimensionedScalar("Su0", dimVelocity, 0.0)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
...@@ -120,7 +120,8 @@ Foam::laminarFlameSpeedModels::GuldersEGR::Su0pTphi ...@@ -120,7 +120,8 @@ Foam::laminarFlameSpeedModels::GuldersEGR::Su0pTphi
p.time().timeName(), p.time().timeName(),
p.db(), p.db(),
IOobject::NO_READ, IOobject::NO_READ,
IOobject::NO_WRITE IOobject::NO_WRITE,
false
), ),
p.mesh(), p.mesh(),
dimensionedScalar("Su0", dimVelocity, 0.0) dimensionedScalar("Su0", dimVelocity, 0.0)
...@@ -172,7 +173,8 @@ Foam::laminarFlameSpeedModels::GuldersEGR::Su0pTphi ...@@ -172,7 +173,8 @@ Foam::laminarFlameSpeedModels::GuldersEGR::Su0pTphi
p.time().timeName(), p.time().timeName(),
p.db(), p.db(),
IOobject::NO_READ, IOobject::NO_READ,
IOobject::NO_WRITE IOobject::NO_WRITE,
false
), ),
p.mesh(), p.mesh(),
dimensionedScalar("Su0", dimVelocity, 0.0) dimensionedScalar("Su0", dimVelocity, 0.0)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2013-2015 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
...@@ -218,8 +218,8 @@ inline Foam::scalar Foam::laminarFlameSpeedModels::RaviPetersen::THatPowB ...@@ -218,8 +218,8 @@ inline Foam::scalar Foam::laminarFlameSpeedModels::RaviPetersen::THatPowB
{ {
return pow return pow
( (
Tu/TRef_, Tu/TRef_,
polynomial(beta_[EqRIndex][pIndex],EqR) polynomial(beta_[EqRIndex][pIndex],EqR)
); );
} }
...@@ -238,7 +238,7 @@ Foam::laminarFlameSpeedModels::RaviPetersen::correlationInRange ...@@ -238,7 +238,7 @@ Foam::laminarFlameSpeedModels::RaviPetersen::correlationInRange
polynomial(alpha_[EqRIndex][pIndex],EqR) polynomial(alpha_[EqRIndex][pIndex],EqR)
*THatPowB(EqRIndex, pIndex, EqR, Tu); *THatPowB(EqRIndex, pIndex, EqR, Tu);
} }
inline Foam::scalar inline Foam::scalar
Foam::laminarFlameSpeedModels::RaviPetersen::correlationOutOfRange Foam::laminarFlameSpeedModels::RaviPetersen::correlationOutOfRange
...@@ -313,7 +313,8 @@ Foam::laminarFlameSpeedModels::RaviPetersen::operator()() const ...@@ -313,7 +313,8 @@ Foam::laminarFlameSpeedModels::RaviPetersen::operator()() const
p.time().timeName(), p.time().timeName(),
p.db(), p.db(),
IOobject::NO_READ, IOobject::NO_READ,
IOobject::NO_WRITE IOobject::NO_WRITE,
false
), ),
p.mesh(), p.mesh(),
dimensionedScalar("EqR", dimless, 0.0) dimensionedScalar("EqR", dimless, 0.0)
...@@ -344,7 +345,8 @@ Foam::laminarFlameSpeedModels::RaviPetersen::operator()() const ...@@ -344,7 +345,8 @@ Foam::laminarFlameSpeedModels::RaviPetersen::operator()() const
p.time().timeName(), p.time().timeName(),
p.db(), p.db(),
IOobject::NO_READ, IOobject::NO_READ,
IOobject::NO_WRITE IOobject::NO_WRITE,
false
), ),
p.mesh(), p.mesh(),
dimensionedScalar("Su0", dimVelocity, 0.0) dimensionedScalar("Su0", dimVelocity, 0.0)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
...@@ -79,7 +79,8 @@ Foam::laminarFlameSpeedModels::constant::operator()() const ...@@ -79,7 +79,8 @@ Foam::laminarFlameSpeedModels::constant::operator()() const
psiuReactionThermo_.T().time().timeName(), psiuReactionThermo_.T().time().timeName(),
psiuReactionThermo_.T().db(), psiuReactionThermo_.T().db(),
IOobject::NO_READ, IOobject::NO_READ,
IOobject::NO_WRITE IOobject::NO_WRITE,
false
), ),
psiuReactionThermo_.T().mesh(), psiuReactionThermo_.T().mesh(),
Su_ Su_
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment