Remove particle in solidParticleFoam
Hi,
I am working with solidParticle library within OpenFOAM-1.6. I coded additional function, which change particle diameter due to the diffusion process. This function is implemented in solidParticleFoam before move function. Now I need to remove from the cloud particles with diameters close to zero. Is there any function to remove (delete) particle from the cloud? |
Hi Mihails,
I think you can delete particles if you change td.keepParticle = true; to td.keepParticle = false; for the particles which are too small for you. You will find the line td.keepParticle = true; within the function "move". Hope this will help you Steffi |
Dear Steffi,
thank you for answer. Line td.keepParticle = true; is situated in the begin of move function. If I'll code somewhere in this function HTML Code:
if (d_<=0.0) I created new function sizeEvolution(), which has no argument of td. This function is implemented in the solver before move function. So I want to delete particles with zero size within sizeEvolution function. How can I do it? |
Possibly you could try to use the "deleteParticle" function of basic cloud (find the definition in Cloud.C or here in the doxygen) ?
|
Perfectly! Thank you, Astrid!
|
Hi,
Can any of you tell me how to calculate/count particle escaping from a patch in solidParticleFoam? Regards, Mayank |
Hello! I want change particle diameter due to the diffusion process. How can I do it! What function did you add.
|
Quote:
|
Yaa, I did. But I am using icoUncoupledKinematicPartcelFoam. It has in-built functionality of counting particles. I was unable incorporate that functionality in solidParticleFoam though.
|
All times are GMT -4. The time now is 15:25. |