View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004162 | OpenFOAM | Bug | public | 2024-10-08 15:40 | 2024-10-09 10:15 |
Reporter | rcarneiro | Assigned To | will | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 12 | ||||
Summary | 0004162: particleCount - lagrangian | ||||
Description | While 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 | ||||
Tags | No tags attached. | ||||
|
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. |