mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
JohnsonJacksonParticle*FvPatchScalarField.C: Corrected null-construction initialization
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=2022
This commit is contained in:
@ -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) 2014-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -49,7 +49,7 @@ JohnsonJacksonParticleSlipFvPatchVectorField
|
|||||||
)
|
)
|
||||||
:
|
:
|
||||||
partialSlipFvPatchVectorField(p, iF),
|
partialSlipFvPatchVectorField(p, iF),
|
||||||
specularityCoefficient_(p.size())
|
specularityCoefficient_("specularityCoefficient", dimless, 0)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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) 2014-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -48,8 +48,8 @@ JohnsonJacksonParticleThetaFvPatchScalarField
|
|||||||
)
|
)
|
||||||
:
|
:
|
||||||
mixedFvPatchScalarField(p, iF),
|
mixedFvPatchScalarField(p, iF),
|
||||||
restitutionCoefficient_(p.size()),
|
restitutionCoefficient_("restitutionCoefficient", dimless, 0),
|
||||||
specularityCoefficient_(p.size())
|
specularityCoefficient_("specularityCoefficient", dimless, 0)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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) 2014-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -49,7 +49,7 @@ JohnsonJacksonParticleSlipFvPatchVectorField
|
|||||||
)
|
)
|
||||||
:
|
:
|
||||||
partialSlipFvPatchVectorField(p, iF),
|
partialSlipFvPatchVectorField(p, iF),
|
||||||
specularityCoefficient_(p.size())
|
specularityCoefficient_("specularityCoefficient", dimless, 0)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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) 2014-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -48,8 +48,8 @@ JohnsonJacksonParticleThetaFvPatchScalarField
|
|||||||
)
|
)
|
||||||
:
|
:
|
||||||
mixedFvPatchScalarField(p, iF),
|
mixedFvPatchScalarField(p, iF),
|
||||||
restitutionCoefficient_(p.size()),
|
restitutionCoefficient_("restitutionCoefficient", dimless, 0),
|
||||||
specularityCoefficient_(p.size())
|
specularityCoefficient_("specularityCoefficient", dimless, 0)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -65,8 +65,7 @@ JohnsonJacksonParticleThetaFvPatchScalarField
|
|||||||
mixedFvPatchScalarField(ptf, p, iF, mapper),
|
mixedFvPatchScalarField(ptf, p, iF, mapper),
|
||||||
restitutionCoefficient_(ptf.restitutionCoefficient_),
|
restitutionCoefficient_(ptf.restitutionCoefficient_),
|
||||||
specularityCoefficient_(ptf.specularityCoefficient_)
|
specularityCoefficient_(ptf.specularityCoefficient_)
|
||||||
{
|
{}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Foam::JohnsonJacksonParticleThetaFvPatchScalarField::
|
Foam::JohnsonJacksonParticleThetaFvPatchScalarField::
|
||||||
|
|||||||
Reference in New Issue
Block a user