Commit d0f39f96 authored by Will Bainbridge's avatar Will Bainbridge Committed by Andrew Heather
Browse files

lagrangian: Removed duplicate hit-processor handling

parent b8440c42
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment