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

Hiting the Wall by the Particles

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 4, 2010, 07:00
Default Hiting the Wall by the Particles
  #1
Member
 
Mihails Ščepanskis
Join Date: Jul 2009
Posts: 36
Rep Power: 16
shchepan is on a distinguished road
Hello!
I have a problem with the particles tracking. The problem is to simulate the hit of the particle to the wall (the boundary of the mesh) correctly.
There is solidParticle library in the OpenFOAM. The function trackToFace in solidParticle.C detects the situation when the particle hits the wall and changes the direction of the velocity of the particle.
But I want to simulate the situation when the particle has the size. Thus trackToFace function should detect when the boundary of the particle hits the wall, but not the center of particle does this.

Can you tell me where should I subtract the radius of the particle?
shchepan is offline   Reply With Quote

Old   March 8, 2010, 21:29
Default
  #2
Member
 
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17
andersking is on a distinguished road
The particle diameter is taken into account when it hits a patch, however, after a quick look in the code, I can't find where.

This works ok as long as your particle is much smaller than the cell size. if this is not the case, then particles can miss the wall, due to not being in the adjacent cell.

Also, the default drag model in solidParticle is not the greatest - what are you trying to simulate?

Regards,
Andrew
__________________
Dr Andrew King
Fluid Dynamics Research Group
Curtin University
andersking is offline   Reply With Quote

Old   March 8, 2010, 21:31
Default
  #3
Member
 
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17
andersking is on a distinguished road
Actually, I've had a closer look. The wall impact distance check is in lagrangian/basic/Particle/ParticleI.H

Andrew
__________________
Dr Andrew King
Fluid Dynamics Research Group
Curtin University
andersking is offline   Reply With Quote

Old   March 9, 2010, 01:33
Default
  #4
Member
 
Mihails Ščepanskis
Join Date: Jul 2009
Posts: 36
Rep Power: 16
shchepan is on a distinguished road
Thank you for answer, Andrew!
wallImpactDistance return a half of the diameter.
But, as you said, the problem is to take into account particle size when it is more then cell size. It my case it is so!
I simulate the particles motion in turbulent flow. Of course I use not a solidParticle library, but my own one that was created on the base of solidParticle. To simulate correctly the flow near the walls I should use small cells there. Thus the problem steel exist in my case.
shchepan is offline   Reply With Quote

Old   March 9, 2010, 01:41
Default
  #5
Member
 
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17
andersking is on a distinguished road
Hi Mihails,

We are facing the same problem. The way that I am proposing to do it, though haven't implemented yet, is to define a static (as in non-changing) wall-distance field.

This distance can then be checked against the particle diameter to see whether a patch (or wall) has been hit.

I'm not sure of the performance implications of this yet however. I think that the overhead shouldn't be too bad though.

Any comments or suggestions are welcome.

Andrew
__________________
Dr Andrew King
Fluid Dynamics Research Group
Curtin University
andersking is offline   Reply With Quote

Old   March 9, 2010, 02:17
Default
  #6
Member
 
Mihails Ščepanskis
Join Date: Jul 2009
Posts: 36
Rep Power: 16
shchepan is on a distinguished road
The main problem is so. I can not understand how collision of particle and wall is indicated in this library. How is calculated the distance from particle center to the wall? And where it is compared with wallImpactDistance?
shchepan is offline   Reply With Quote

Old   March 9, 2010, 03:14
Default
  #7
Member
 
Mihails Ščepanskis
Join Date: Jul 2009
Posts: 36
Rep Power: 16
shchepan is on a distinguished road
I should understand it to valuate your way of solving problem or give some suggestions.
shchepan is offline   Reply With Quote

Old   March 10, 2010, 22:04
Default
  #8
Member
 
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17
andersking is on a distinguished road
The key parts are in lagrangian/basic/Particle/ParticleI.H and lagrangian/solidParticle/solidParticle.{C,H} you should be able to follow the code. See the Doxygen for more info. http://foam.sourceforge.net/doc/Doxygen/html/

Andrew
__________________
Dr Andrew King
Fluid Dynamics Research Group
Curtin University
andersking is offline   Reply With Quote

Old   March 15, 2010, 13:43
Default
  #9
Member
 
Mihails Ščepanskis
Join Date: Jul 2009
Posts: 36
Rep Power: 16
shchepan is on a distinguished road
Andrew,
I made the simple thing, I put if in move function in solidParticle.C. So if the distance from the particle center to the wall is less than the radius of the particle, then I shift it to the distance of the radius the wall.
Such a modification allow me to obtain the good physical results.
__________________
Mihails Ščepanskis
Laboratory for Mathematical Modelling of Environmental and Technological Processes
University of Latvia
shchepan is offline   Reply With Quote

Old   April 12, 2010, 05:22
Default
  #10
Member
 
Mihails Ščepanskis
Join Date: Jul 2009
Posts: 36
Rep Power: 16
shchepan is on a distinguished road
Andrew,
the problem of correct simulation of particle collision with the wall actualized now again!
Did you solve this problem already?
__________________
Mihails Ščepanskis
Laboratory for Mathematical Modelling of Environmental and Technological Processes
University of Latvia
shchepan is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[Commercial meshers] Fluent3DMeshToFoam simvun OpenFOAM Meshing & Mesh Conversion 50 January 19, 2020 16:33
too many particles trapped on wall with tracking Wouter FLUENT 0 August 11, 2008 12:15
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30
Multicomponent fluid Andrea CFX 2 October 11, 2004 06:12
Near wall particles Staffan FLUENT 2 October 2, 2000 09:47


All times are GMT -4. The time now is 07:49.