View Issue Details

IDProjectCategoryView StatusLast Update
0001670OpenFOAM[All Projects] Bugpublic2015-04-27 12:02
ReportertniemiAssigned Tohenry 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0001670: Lagrangian LocalInteraction, protection against user stupidity
DescriptionAt the moment the LocalInteraction model checks that interaction type is specified for all wall patches, but it does not check the other types of patches, such as inlets or outlets. If a particle hits an unspecified patch, it will just disappear and nothing is written to the log. This can lead to hard to find errors if user forgets to specify interaction for all patches.

I have attached a modified patchInteractionDataList.C, which checks that interaction is specified for all non coupled patches and throws an error if not. Alternatively, if throwing an error is too restrictive for some use cases, maybe at least a warning could be given if some patches are unspecified?
TagsNo tags attached.



2015-04-23 13:47


patchInteractionDataList.C (3,847 bytes)


2015-04-27 12:02

manager   ~0004662

I agree the current default behavior can cause confusion. I have applied the change you suggest and if it proves irritating we can change it to a warning rather than an error.

Resolved by commit 105f106f30097286624d11c4bb7cbe884261a5f3

Issue History

Date Modified Username Field Change
2015-04-23 13:47 tniemi New Issue
2015-04-23 13:47 tniemi File Added: patchInteractionDataList.C
2015-04-27 12:02 henry Note Added: 0004662
2015-04-27 12:02 henry Status new => resolved
2015-04-27 12:02 henry Resolution open => fixed
2015-04-27 12:02 henry Assigned To => henry