View Issue Details

IDProjectCategoryView StatusLast Update
0000530OpenFOAMBugpublic2015-01-01 14:48
Reporteruser356Assigned Tohenry  
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionunable to reproduce 
PlatformOpenFOAM 2.0OSLinux OS Version(please specify)
Summary0000530: Particle moves slightly outside the domain. The moving process ends up in an infinite loop.
DescriptionI am working with the dieselFoam solver and the dieselSpray library under OpenFOAM 2.0.
When a particle hits a certain wall boundary in my domain, the particle is slightly moved outside the domain (may be numerical issue?). The tracking correction does not help to track the particle into the domain again. The solver stays in an infinite loop during the move process of this parcel.

The member function 'parcel::move()' of the 'parcel' class of the 'dieselSpray' library contains a while loop, which calls the member function 'particle::trackToFace' of the 'basic' library. This loop can not be left, because the variable 'tEnd', which represents the progress of the parcel moving process does not fall below the 'SMALL' value, which is a critria for aborting the loop.
The function 'trackToFace()' is providing such a small value (in my case an order of magnitude of 1E-12) that the variable 'dt' is also becoming very small (dt *= trackToFace()).
The progress variable 'tEnd' does not become smaller, as it is defined as 'tEnd -= dt'. The function 'trackToFace()' returns such a small value, because the 'lambdaMin' variable inside this function becomes very small. Nevertheless, 'lambdaMin' is not as small as the 'SMALL' value, so it does not activate the trackingCorrection, which should track the parcel back into the domain.
Steps To ReproduceMake sure to track parcels to the wall boundaries of the domain. Specify a large number of particles in order to increase the probability of the bug.
TagsNo tags attached.

Activities

user15

2012-05-11 18:50

  ~0001314

first, this is really really...reaallly hard to fix and besides that, how does it work in the latest 2.1.x version. second. dieselFoam is no longer supported since it is based on the dieselSpray class.

henry

2015-01-01 14:48

manager   ~0003451

Orphaned report

Issue History

Date Modified Username Field Change
2012-05-04 11:04 user356 New Issue
2012-05-11 18:50 user15 Note Added: 0001314
2015-01-01 14:48 henry Note Added: 0003451
2015-01-01 14:48 henry Status new => closed
2015-01-01 14:48 henry Assigned To => henry
2015-01-01 14:48 henry Resolution open => unable to reproduce