|
[Sponsors] |
January 27, 2017, 13:36 |
wall interaction for particle
|
#1 |
New Member
Mehdi
Join Date: Jul 2014
Location: Iran
Posts: 10
Rep Power: 12 |
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 18:39. |
|
January 28, 2017, 16:11 |
|
#2 |
New Member
Mehdi
Join Date: Jul 2014
Location: Iran
Posts: 10
Rep Power: 12 |
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. Last edited by paradox; January 28, 2017 at 16:59. Reason: grammer |
|
Tags |
large particle, wall interaction |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
help with wall functions | Nick Georgiadis | Main CFD Forum | 10 | January 17, 2017 11:03 |
Defining a new constant vector source in wall interaction models for Lagrangian cases | ansubru | OpenFOAM Running, Solving & CFD | 1 | July 29, 2014 06:23 |
Thin Wall Heat Transfer BC for rhoSimpleFoam | swahono | OpenFOAM Running, Solving & CFD | 12 | October 4, 2013 12:49 |
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 |