|
[Sponsors] |
August 11, 2011, 03:07 |
Remove particle in solidParticleFoam
|
#1 |
Member
Mihails Ščepanskis
Join Date: Jul 2009
Posts: 36
Rep Power: 17 |
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?
__________________
Mihails Ščepanskis Laboratory for Mathematical Modelling of Environmental and Technological Processes University of Latvia |
|
August 11, 2011, 10:25 |
|
#2 |
New Member
Stephanie Geier
Join Date: Mar 2009
Posts: 1
Rep Power: 0 |
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 |
|
August 11, 2011, 11:41 |
|
#3 |
Member
Mihails Ščepanskis
Join Date: Jul 2009
Posts: 36
Rep Power: 17 |
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) td.keepParticle = false; 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?
__________________
Mihails Ščepanskis Laboratory for Mathematical Modelling of Environmental and Technological Processes University of Latvia |
|
August 12, 2011, 05:50 |
|
#4 |
New Member
Astrid Mahrla
Join Date: May 2010
Location: Munich, Germany
Posts: 22
Rep Power: 17 |
Possibly you could try to use the "deleteParticle" function of basic cloud (find the definition in Cloud.C or here in the doxygen) ?
|
|
August 12, 2011, 08:29 |
|
#5 |
Member
Mihails Ščepanskis
Join Date: Jul 2009
Posts: 36
Rep Power: 17 |
Perfectly! Thank you, Astrid!
__________________
Mihails Ščepanskis Laboratory for Mathematical Modelling of Environmental and Technological Processes University of Latvia |
|
September 8, 2013, 19:33 |
|
#6 |
Member
India
Join Date: Oct 2012
Posts: 84
Rep Power: 14 |
Hi,
Can any of you tell me how to calculate/count particle escaping from a patch in solidParticleFoam? Regards, Mayank |
|
March 28, 2014, 08:25 |
|
#7 |
New Member
houwy
Join Date: Nov 2013
Posts: 21
Rep Power: 13 |
Hello! I want change particle diameter due to the diffusion process. How can I do it! What function did you add.
|
|
April 14, 2014, 10:56 |
|
#8 |
New Member
houwy
Join Date: Nov 2013
Posts: 21
Rep Power: 13 |
||
April 16, 2014, 18:29 |
|
#9 |
Member
India
Join Date: Oct 2012
Posts: 84
Rep Power: 14 |
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.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DPM particle time step | amos | FLUENT | 1 | January 4, 2020 09:46 |
Blood Damage Modelling via Particle Tracking in a Centrifugal Heart Pump | scatman | CFX | 7 | January 8, 2018 01:59 |
Particle Tracking for ion | Jun | CFX | 2 | August 31, 2010 09:19 |
solidParticleFoam particle positions | caw | OpenFOAM Running, Solving & CFD | 1 | October 6, 2009 04:50 |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 02:29 |