JohnsonJacksonParticle*FvPatchScalarField.C: Corrected null-construction initialization

Resolves bug-report http://openfoam.org/mantisbt/view.php?id=2022
This commit is contained in:
Henry Weller
2016-03-08 14:13:05 +00:00
parent 93285d5fe1
commit e5045949f6
4 changed files with 11 additions and 12 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2014-2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -49,7 +49,7 @@ JohnsonJacksonParticleSlipFvPatchVectorField
)
:
partialSlipFvPatchVectorField(p, iF),
specularityCoefficient_(p.size())
specularityCoefficient_("specularityCoefficient", dimless, 0)
{}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2014-2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -48,8 +48,8 @@ JohnsonJacksonParticleThetaFvPatchScalarField
)
:
mixedFvPatchScalarField(p, iF),
restitutionCoefficient_(p.size()),
specularityCoefficient_(p.size())
restitutionCoefficient_("restitutionCoefficient", dimless, 0),
specularityCoefficient_("specularityCoefficient", dimless, 0)
{}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2014-2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -49,7 +49,7 @@ JohnsonJacksonParticleSlipFvPatchVectorField
)
:
partialSlipFvPatchVectorField(p, iF),
specularityCoefficient_(p.size())
specularityCoefficient_("specularityCoefficient", dimless, 0)
{}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2014-2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -48,8 +48,8 @@ JohnsonJacksonParticleThetaFvPatchScalarField
)
:
mixedFvPatchScalarField(p, iF),
restitutionCoefficient_(p.size()),
specularityCoefficient_(p.size())
restitutionCoefficient_("restitutionCoefficient", dimless, 0),
specularityCoefficient_("specularityCoefficient", dimless, 0)
{}
@ -65,8 +65,7 @@ JohnsonJacksonParticleThetaFvPatchScalarField
mixedFvPatchScalarField(ptf, p, iF, mapper),
restitutionCoefficient_(ptf.restitutionCoefficient_),
specularityCoefficient_(ptf.specularityCoefficient_)
{
}
{}
Foam::JohnsonJacksonParticleThetaFvPatchScalarField::