JohnsonJacksonParticle*FvPatchScalarField.C: Corrected null-construction initialization
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=2022
This commit is contained in:
parent
45d092f2e0
commit
0ef2082dad
4 changed files with 11 additions and 12 deletions
|
|
@ -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)
|
||||
{}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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::
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue