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
|
td.keepParticle
|
||||||
);
|
);
|
||||||
|
|
||||||
// Invoke surface film model
|
if (isA<processorPolyPatch>(pp))
|
||||||
if (td.cloud().surfaceFilm().transferParcel(p, pp, td.keepParticle))
|
|
||||||
{
|
{
|
||||||
// All interactions done
|
// Skip processor patches
|
||||||
return true;
|
|
||||||
}
|
|
||||||
else if (pp.coupled())
|
|
||||||
{
|
|
||||||
// Don't apply the patchInteraction models to coupled boundaries
|
|
||||||
return false;
|
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
|
else
|
||||||
{
|
{
|
||||||
// Invoke patch interaction model
|
// Invoke patch interaction model
|
||||||
|
|||||||
@ -26,7 +26,6 @@ License
|
|||||||
#include "patchInteractionDataList.H"
|
#include "patchInteractionDataList.H"
|
||||||
#include "stringListOps.H"
|
#include "stringListOps.H"
|
||||||
#include "emptyPolyPatch.H"
|
#include "emptyPolyPatch.H"
|
||||||
#include "cyclicAMIPolyPatch.H"
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user