How to know why a cell got deleted? #125
Replies: 1 comment 3 replies
-
|
Just to check, you are also using the HemoCell/scripts/ci/config-pipeflow.xml Lines 4 to 6 in d916987 This is in the depth of some old code, but as I recall the mechanism:
When a cell is too stretched out (larger than the communication envelope), particle information will not get transferred to outlying particles, leaving the default -1, which will then result in the deletion of the cell. The most typical reason is too large forces: for numerical stability, force is capped: HemoCell/core/hemoCellParticleField.cpp Lines 847 to 852 in d916987 Which means particles will travel with the flow, because the capped material force is not enough to counteract the flow, and they will stretch out and become deleted eventually. I also recall that this transfer only happens from the fluid domain, so if a particle penetrates a wall it will also get deleted, but I don't see this in the code atm. Hope this helps somewhat. The bottom line is, don't look for explicit |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
This is a topic that I have been trying to find out for a while now. I understood that a cell gets deleted whenever a particle of that cell has an ID of -1. Here is the relevant code snippet:
I understand that this part of the code deletes cells if any of their particles have an ID of -1. However, I am having trouble finding where this assignment (ID of -1) actually occurs in the code. My cells are being deleted without an obvious reason, and I'm wondering if it might be due to high velocity or some other factor. Could you help me identify which function is responsible for assigning the ID of -1 to particles?
I appreciate your assistance.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions