mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Particle. Tolerance was not appropriate.
This commit is contained in:
@ -35,7 +35,7 @@ License
|
|||||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class ParticleType>
|
template<class ParticleType>
|
||||||
const Foam::scalar Foam::Cloud<ParticleType>::minValidTrackFraction = SMALL;
|
const Foam::scalar Foam::Cloud<ParticleType>::minValidTrackFraction = 1e-6;
|
||||||
|
|
||||||
template<class ParticleType>
|
template<class ParticleType>
|
||||||
const Foam::scalar Foam::Cloud<ParticleType>::trackingRescueTolerance = 1e-4;
|
const Foam::scalar Foam::Cloud<ParticleType>::trackingRescueTolerance = 1e-4;
|
||||||
|
|||||||
@ -472,7 +472,7 @@ void Foam::Particle<ParticleType>::trackToFacePlanes
|
|||||||
// In both cases resolve the positional ambiguity by moving the particle
|
// In both cases resolve the positional ambiguity by moving the particle
|
||||||
// slightly towards the cell-centre.
|
// slightly towards the cell-centre.
|
||||||
|
|
||||||
if (trackFraction < Cloud<ParticleType>::minValidTrackFraction)
|
if (trackFraction < SMALL)
|
||||||
{
|
{
|
||||||
const polyMesh& mesh = cloud_.pMesh();
|
const polyMesh& mesh = cloud_.pMesh();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user