lagrangian: Removed duplicate hit-processor handling

This commit is contained in:
Will Bainbridge
2017-08-23 16:31:13 +01:00
committed by Andrew Heather
parent b8440c4232
commit d0f39f96c4
3 changed files with 0 additions and 24 deletions

View File

@ -65,14 +65,6 @@ bool Foam::DSMCParcel<ParcelType>::move
const scalar f = 1 - p.stepFraction();
p.trackToAndHitFace(f*trackTime*Utracking, f, cloud, td);
if (p.onBoundaryFace() && td.keepParticle)
{
if (isA<processorPolyPatch>(pbMesh[p.patch()]))
{
td.switchProcessor = true;
}
}
}
return td.keepParticle;

View File

@ -336,14 +336,6 @@ bool Foam::KinematicParcel<ParcelType>::move
{
p.hitFace(s, cloud, ttd);
}
if (p.onBoundaryFace() && ttd.keepParticle)
{
if (isA<processorPolyPatch>(pbMesh[p.patch()]))
{
ttd.switchProcessor = true;
}
}
}
return ttd.keepParticle;

View File

@ -82,14 +82,6 @@ bool Foam::solidParticle::move
scalar Dc = (24.0*nuc/d_)*ReFunc*(3.0/4.0)*(rhoc/(d_*rhop));
U_ = (U_ + dt*(Dc*Uc + (1.0 - rhoc/rhop)*td.g()))/(1.0 + dt*Dc);
if (onBoundaryFace() && td.keepParticle)
{
if (isA<processorPolyPatch>(pbMesh[patch()]))
{
td.switchProcessor = true;
}
}
}
return td.keepParticle;