CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Remove particle in solidParticleFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By shchepan
  • 1 Post By AMahrla

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2011, 02:07
Default Remove particle in solidParticleFoam
  #1
Member
 
Mihails Ščepanskis
Join Date: Jul 2009
Posts: 36
Rep Power: 16
shchepan is on a distinguished road
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?
houwy likes this.
__________________
Mihails Ščepanskis
Laboratory for Mathematical Modelling of Environmental and Technological Processes
University of Latvia
shchepan is offline   Reply With Quote

Old   August 11, 2011, 09:25
Default
  #2
New Member
 
Stephanie Geier
Join Date: Mar 2009
Posts: 1
Rep Power: 0
steffi_geier is on a distinguished road
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
steffi_geier is offline   Reply With Quote

Old   August 11, 2011, 10:41
Default
  #3
Member
 
Mihails Ščepanskis
Join Date: Jul 2009
Posts: 36
Rep Power: 16
shchepan is on a distinguished road
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;
it will remove this particle only ones for move function. Every next step move function will check this if again. But I want totally delete this particle.

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
shchepan is offline   Reply With Quote

Old   August 12, 2011, 04:50
Default
  #4
New Member
 
Astrid Mahrla
Join Date: May 2010
Location: Munich, Germany
Posts: 22
Rep Power: 16
AMahrla is on a distinguished road
Possibly you could try to use the "deleteParticle" function of basic cloud (find the definition in Cloud.C or here in the doxygen) ?
mbookin likes this.
AMahrla is offline   Reply With Quote

Old   August 12, 2011, 07:29
Default
  #5
Member
 
Mihails Ščepanskis
Join Date: Jul 2009
Posts: 36
Rep Power: 16
shchepan is on a distinguished road
Perfectly! Thank you, Astrid!
__________________
Mihails Ščepanskis
Laboratory for Mathematical Modelling of Environmental and Technological Processes
University of Latvia
shchepan is offline   Reply With Quote

Old   September 8, 2013, 18:33
Default
  #6
Member
 
India
Join Date: Oct 2012
Posts: 84
Rep Power: 13
mayank.dce2k7 is on a distinguished road
Hi,

Can any of you tell me how to calculate/count particle escaping from a patch in solidParticleFoam?

Regards,
Mayank
mayank.dce2k7 is offline   Reply With Quote

Old   March 28, 2014, 07:25
Default
  #7
New Member
 
houwy
Join Date: Nov 2013
Posts: 21
Rep Power: 12
houwy is on a distinguished road
Hello! I want change particle diameter due to the diffusion process. How can I do it! What function did you add.
houwy is offline   Reply With Quote

Old   April 14, 2014, 09:56
Default
  #8
New Member
 
houwy
Join Date: Nov 2013
Posts: 21
Rep Power: 12
houwy is on a distinguished road
Quote:
Originally Posted by mayank.dce2k7 View Post
Hi,

Can any of you tell me how to calculate/count particle escaping from a patch in solidParticleFoam?

Regards,
Mayank
Have you solved your problem?
houwy is offline   Reply With Quote

Old   April 16, 2014, 17:29
Default
  #9
Member
 
India
Join Date: Oct 2012
Posts: 84
Rep Power: 13
mayank.dce2k7 is on a distinguished road
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.
mayank.dce2k7 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
DPM particle time step amos FLUENT 1 January 4, 2020 08:46
Blood Damage Modelling via Particle Tracking in a Centrifugal Heart Pump scatman CFX 7 January 8, 2018 00:59
Particle Tracking for ion Jun CFX 2 August 31, 2010 08:19
solidParticleFoam particle positions caw OpenFOAM Running, Solving & CFD 1 October 6, 2009 03:50
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29


All times are GMT -4. The time now is 02:44.