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

wall interaction for particle

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By paradox

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 27, 2017, 12:36
Default wall interaction for particle
  #1
New Member
 
Mehdi
Join Date: Jul 2014
Location: Iran
Posts: 10
Rep Power: 11
paradox is on a distinguished road
Hi foamers.

In my case the size of particles diameter is larger than the width of first cell near the wall and wall interaction doesn't work fine, and lets the particle overlap with the wall, because center of the particles should be in the nearest cell of the wall.
How can I implement the code to correct this issue?

I also implement and change collisionModel->pairCollision to collisionModel->myWallCollision by commenting parcel-parcel interaction to use only wall interaction, but after some iteration, it crashed.
Note that my case is a 2d case and I'm using a cloud like kinematicCollidigCloud.

Code:
#0  Foam::error::printStack(Foam::Ostream&) in "/home/paradox/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigSegv::sigHandler(int) in "/home/paradox/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2   in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::myWallCollision<Foam::CollidingCloud<Foam::ElectrokineticCloud<Foam::KinematicRotCloud<Foam::KinematicCloud<Foam::Cloud<Foam::CollidingParcel<Foam::ElectrokineticParcel<Foam::KinematicRotParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > >::wallInteraction() in "/home/paradox/OpenFOAM/paradox-2.3.0/platforms/linux64GccDPOpt/lib/liblagrangianIntermediateNew.so"
#4  Foam::myWallCollision<Foam::CollidingCloud<Foam::ElectrokineticCloud<Foam::KinematicRotCloud<Foam::KinematicCloud<Foam::Cloud<Foam::CollidingParcel<Foam::ElectrokineticParcel<Foam::KinematicRotParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > > >::collide(double) in "/home/paradox/OpenFOAM/paradox-2.3.0/platforms/linux64GccDPOpt/lib/liblagrangianIntermediateNew.so"
#5  
 in "/home/paradox/OpenFOAM/paradox-2.3.0/platforms/linux64GccDPOpt/bin/myElectrokineticCollidingFoam"
#6  
 in "/home/paradox/OpenFOAM/paradox-2.3.0/platforms/linux64GccDPOpt/bin/myElectrokineticCollidingFoam"
#7  
 in "/home/paradox/OpenFOAM/paradox-2.3.0/platforms/linux64GccDPOpt/bin/myElectrokineticCollidingFoam"
#8  
 in "/home/paradox/OpenFOAM/paradox-2.3.0/platforms/linux64GccDPOpt/bin/myElectrokineticCollidingFoam"
#9  
 in "/home/paradox/OpenFOAM/paradox-2.3.0/platforms/linux64GccDPOpt/bin/myElectrokineticCollidingFoam"
#10  
 in "/home/paradox/OpenFOAM/paradox-2.3.0/platforms/linux64GccDPOpt/bin/myElectrokineticCollidingFoam"
#11  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#12  
 in "/home/paradox/OpenFOAM/paradox-2.3.0/platforms/linux64GccDPOpt/bin/myElectrokineticCollidingFoam"
Segmentation fault (core dumped)

Last edited by paradox; January 29, 2017 at 17:39.
paradox is offline   Reply With Quote

Old   January 28, 2017, 15:11
Default
  #2
New Member
 
Mehdi
Join Date: Jul 2014
Location: Iran
Posts: 10
Rep Power: 11
paradox is on a distinguished road
No problem. I solved this by using collision model.

As I said before I used pairCollision model by commenting parcel-parcel interaction to perform only wall interaction because of 2d case! but it crashed after some iteration.

I had to noticed that i used cyclic patch at inlet and outlet.
I tracked the particles in some cases and understood that the code crashed exactly when one particle hits the wall and cyclic patch together in the corner of the box.
So i started debugging and found that a piece of code (referred wallFace interactions) cause the problem. by commenting this part of code, model perform like a charm for me.
Attached Images
File Type: png case1.png (20.1 KB, 89 views)
rmn_990 and sourav90 like this.

Last edited by paradox; January 28, 2017 at 15:59. Reason: grammer
paradox is offline   Reply With Quote

Reply

Tags
large particle, wall interaction


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
help with wall functions Nick Georgiadis Main CFD Forum 10 January 17, 2017 10:03
Defining a new constant vector source in wall interaction models for Lagrangian cases ansubru OpenFOAM Running, Solving & CFD 1 July 29, 2014 05:23
Thin Wall Heat Transfer BC for rhoSimpleFoam swahono OpenFOAM Running, Solving & CFD 12 October 4, 2013 11:49
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


All times are GMT -4. The time now is 11:24.