View Issue Details

IDProjectCategoryView StatusLast Update
0004162OpenFOAMBugpublic2024-10-09 10:15
Reporterrcarneiro Assigned Towill  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version12 
Summary0004162: particleCount - lagrangian
DescriptionWhile trying to understand a bit better how the origId of each particle is generated, I have noticed that the value reported in the processor*/uniform\lagrangian\cloud\cloudProperties is twice the number of particles in that processor.

This seems to happen for cases where the injection model is defined manualInjection.

I am not fully sure if this is a bug...
Steps To Reproduce- Run tutorial: mixerVesselHorizontal2DParticles

- Check file: \mixerVesselHorizontal2DParticles\processor0\0.01\uniform\lagrangian\cloud\cloudProperties
particleCount = 572

- In paraview: Clip particles using origProcId
number of particles = 286
TagsNo tags attached.

Activities

will

2024-10-09 10:15

manager   ~0013430

This isn't a bug. The particleCount is just a badly named counter for setting unique particle ID-s, which are needed only for the construction of particle tracks. It's being incremented by other operations in which particles are temporarily constructed. Not ideal, but there's no actual issue here. The particles still all have unique ID-s.

Issue History

Date Modified Username Field Change
2024-10-08 15:40 rcarneiro New Issue
2024-10-09 10:15 will Assigned To => will
2024-10-09 10:15 will Status new => closed
2024-10-09 10:15 will Resolution open => fixed
2024-10-09 10:15 will Note Added: 0013430