lagrangian: Removed unused wall impact distance methods
This commit is contained in:
@ -1018,12 +1018,6 @@ void Foam::particle::transformProperties(const vector&)
|
||||
{}
|
||||
|
||||
|
||||
Foam::scalar Foam::particle::wallImpactDistance(const vector&) const
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
|
||||
void Foam::particle::prepareForParallelTransfer()
|
||||
{
|
||||
// Convert the face index to be local to the processor patch
|
||||
|
||||
@ -582,10 +582,6 @@ public:
|
||||
// according to the given separation vector
|
||||
virtual void transformProperties(const vector& separation);
|
||||
|
||||
//- The nearest distance to a wall that
|
||||
// the particle can be in the n direction
|
||||
virtual scalar wallImpactDistance(const vector& n) const;
|
||||
|
||||
|
||||
// Parallel transfer
|
||||
|
||||
|
||||
@ -418,16 +418,6 @@ void Foam::KinematicParcel<ParcelType>::transformProperties
|
||||
}
|
||||
|
||||
|
||||
template<class ParcelType>
|
||||
Foam::scalar Foam::KinematicParcel<ParcelType>::wallImpactDistance
|
||||
(
|
||||
const vector&
|
||||
) const
|
||||
{
|
||||
return 0.5*d_;
|
||||
}
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * IOStream operators * * * * * * * * * * * * * //
|
||||
|
||||
#include "KinematicParcelIO.C"
|
||||
|
||||
@ -604,10 +604,6 @@ public:
|
||||
// according to the given separation vector
|
||||
virtual void transformProperties(const vector& separation);
|
||||
|
||||
//- The nearest distance to a wall that the particle can be
|
||||
// in the n direction
|
||||
virtual scalar wallImpactDistance(const vector& n) const;
|
||||
|
||||
|
||||
// I-O
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -118,10 +118,6 @@ public:
|
||||
// timestep to meet the criteria of the collision model
|
||||
virtual label nSubCycles() const = 0;
|
||||
|
||||
//- Indicates whether model determines wall collisions or not,
|
||||
// used to determine what value to use for wallImpactDistance
|
||||
virtual bool controlsWallInteraction() const = 0;
|
||||
|
||||
// Collision function
|
||||
virtual void collide() = 0;
|
||||
};
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -71,13 +71,6 @@ bool Foam::NoCollision<CloudType>::active() const
|
||||
}
|
||||
|
||||
|
||||
template<class CloudType>
|
||||
bool Foam::NoCollision<CloudType>::controlsWallInteraction() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
template<class CloudType>
|
||||
void Foam::NoCollision<CloudType>::collide()
|
||||
{}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -90,10 +90,6 @@ public:
|
||||
//- Flag to indicate whether model activates collision model
|
||||
virtual bool active() const;
|
||||
|
||||
//- Indicates whether model determines wall collisions or not,
|
||||
// used to determine what value to use for wallImpactDistance
|
||||
virtual bool controlsWallInteraction() const;
|
||||
|
||||
// Collision function
|
||||
virtual void collide();
|
||||
};
|
||||
|
||||
@ -620,13 +620,6 @@ Foam::label Foam::PairCollision<CloudType>::nSubCycles() const
|
||||
}
|
||||
|
||||
|
||||
template<class CloudType>
|
||||
bool Foam::PairCollision<CloudType>::controlsWallInteraction() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
template<class CloudType>
|
||||
void Foam::PairCollision<CloudType>::collide()
|
||||
{
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -173,10 +173,6 @@ public:
|
||||
// timestep to meet the criteria of the collision model.
|
||||
virtual label nSubCycles() const;
|
||||
|
||||
//- Indicates whether model determines wall collisions or not,
|
||||
// used to determine what value to use for wallImpactDistance
|
||||
virtual bool controlsWallInteraction() const;
|
||||
|
||||
// Collision function
|
||||
virtual void collide();
|
||||
};
|
||||
|
||||
@ -134,10 +134,4 @@ void Foam::solidParticle::transformProperties(const vector& separation)
|
||||
}
|
||||
|
||||
|
||||
Foam::scalar Foam::solidParticle::wallImpactDistance(const vector&) const
|
||||
{
|
||||
return 0.5*d_;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -213,10 +213,6 @@ public:
|
||||
// according to the given separation vector
|
||||
virtual void transformProperties(const vector& separation);
|
||||
|
||||
//- The nearest distance to a wall that
|
||||
// the particle can be in the n direction
|
||||
virtual scalar wallImpactDistance(const vector& n) const;
|
||||
|
||||
|
||||
// I-O
|
||||
|
||||
|
||||
Reference in New Issue
Block a user