mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Lagrangian - corrected particle LocalInteraction behaviour on coupled patches. See reactingParcelFoam/filter tutorial example
This commit is contained in:
@ -402,17 +402,17 @@ bool Foam::KinematicParcel<ParcelType>::hitPatch
|
||||
td.keepParticle
|
||||
);
|
||||
|
||||
// Invoke surface film model
|
||||
if (td.cloud().surfaceFilm().transferParcel(p, pp, td.keepParticle))
|
||||
if (isA<processorPolyPatch>(pp))
|
||||
{
|
||||
// All interactions done
|
||||
return true;
|
||||
}
|
||||
else if (pp.coupled())
|
||||
{
|
||||
// Don't apply the patchInteraction models to coupled boundaries
|
||||
// Skip processor patches
|
||||
return false;
|
||||
}
|
||||
else if (td.cloud().surfaceFilm().transferParcel(p, pp, td.keepParticle))
|
||||
{
|
||||
// Surface film model consumes the interaction, i.e. all
|
||||
// interactions done
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Invoke patch interaction model
|
||||
|
||||
@ -26,7 +26,6 @@ License
|
||||
#include "patchInteractionDataList.H"
|
||||
#include "stringListOps.H"
|
||||
#include "emptyPolyPatch.H"
|
||||
#include "cyclicAMIPolyPatch.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
Reference in New Issue
Block a user