|
[Sponsors] |
coupling of interfFoam with solidParticle library |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 12, 2016, 12:28 |
coupling of interfFoam with solidParticle library
|
#1 |
New Member
Muhammad Usman
Join Date: Nov 2015
Location: Germay
Posts: 15
Rep Power: 11 |
Hello everyone,
I am following the following tutorial http://www.tfd.chalmers.se/~hani/kur...LPT_120911.pdf but I am experiencing the the following error. please help me how to fix it the spc which in bold letters solidParticleCloud.C: In member function ‘void Foam::solidParticleCloud::inject(Foam::solidPartic le::trackingData&)’: solidParticleCloud.C:76:33: error: ‘class Foam::solidParticle::trackingData’ has no member named ‘spc’ label cellI=mesh_.findCell(td.spc().posP1_); ^ solidParticleCloud.C:77:51: error: ‘class Foam::solidParticle::trackingData’ has no member named ‘spc’ solidParticle* ptr1= new solidParticle(*this,td.spc().posP1_,cellI, ^ solidParticleCloud.C:78:8: error: ‘class Foam::solidParticle::trackingData’ has no member named ‘spc’ td.spc().dP1_,td.spc().UP1_); ^ solidParticleCloud.C:78:22: error: ‘class Foam::solidParticle::trackingData’ has no member named ‘spc’ td.spc().dP1_,td.spc().UP1_); ^ solidParticleCloud.C:81:27: error: ‘class Foam::solidParticle::trackingData’ has no member named ‘spc’ cellI=mesh_.findCell(td.spc().posP2_); ^ solidParticleCloud.C:82:51: error: ‘class Foam::solidParticle::trackingData’ has no member named ‘spc’ solidParticle* ptr2= new solidParticle(*this,td.spc().posP2_,cellI, ^ solidParticleCloud.C:83:6: error: ‘class Foam::solidParticle::trackingData’ has no member named ‘spc’ td.spc().dP2_,td.spc().UP2_); ^ solidParticleCloud.C:83:20: error: ‘class Foam::solidParticle::trackingData’ has no member named ‘spc’ td.spc().dP2_,td.spc().UP2_); ^ solidParticleCloud.C: In member function ‘void Foam::solidParticleCloud::move(const dimensionedVector&)’: solidParticleCloud.C:108:33: error: ‘class Foam::solidParticle::trackingData’ has no member named ‘spc’ if(mesh_.time().value()> td.spc().tInjStart_ && ^ solidParticleCloud.C:109:27: error: ‘class Foam::solidParticle::trackingData’ has no member named ‘spc’ mesh_.time().value()< td.spc().tInjEnd_) ^ |
|
January 12, 2016, 13:29 |
|
#2 |
Member
Kaufman
Join Date: Jul 2013
Posts: 55
Rep Power: 13 |
Hi
There is a need to modify some parts of the code. Please see attachment which is based on OF 2.4. You can also read this thread for some helpful information. http://www.cfd-online.com/Forums/ope...-tracking.html Good luck, |
|
January 13, 2016, 06:30 |
Hi
|
#3 |
New Member
Muhammad Usman
Join Date: Nov 2015
Location: Germay
Posts: 15
Rep Power: 11 |
Thank you for your help.
One more thing, Can I use this code for water to water multiphase? I mean they have developed this code for water to air multiphase. Is it? |
|
January 14, 2016, 18:47 |
interFoam solver coupled with solidParticle
|
#4 | |
New Member
Muhammad Usman
Join Date: Nov 2015
Location: Germay
Posts: 15
Rep Power: 11 |
Hi,
The attached interFoam solver coupled with solidParticle works but without injection model. It works like the default interFoam solver without LPT. How to tackle this problem? Quote:
|
||
January 21, 2016, 12:36 |
|
#5 |
Member
Kaufman
Join Date: Jul 2013
Posts: 55
Rep Power: 13 |
Hi,
In constant directory, there is a particleProperties file which defines and controls how the particle injection. |
|
January 21, 2016, 12:38 |
|
#6 |
Member
Kaufman
Join Date: Jul 2013
Posts: 55
Rep Power: 13 |
||
January 21, 2016, 13:02 |
|
#7 |
Member
Kaufman
Join Date: Jul 2013
Posts: 55
Rep Power: 13 |
Yes, you can use it for droplet/liquid multiphase. In Aurelia Vallier's code, it is designed for droplet/liquid multiphase. But I modified the code into bubble/liquid multiphase. You can restore LPTtoVOF.H file back to Aurelia Vallier's one to implement droplet/liquid multiphase.
|
|
January 27, 2016, 09:40 |
|
#8 |
New Member
Muhammad Usman
Join Date: Nov 2015
Location: Germay
Posts: 15
Rep Power: 11 |
Thanks for your kind help.
The properties of the closed rectangular computational domain and particles are: 24mm by 77 mm. Inlet velocity at 10 cm/s and have two outlets. Fluid: water Laminar Flow. Solid Particles are made of silica having diameter of 100nm. For me 4-way coupling is very important. Is it a wise decision to use LPTVOF solver? |
|
March 26, 2016, 22:37 |
|
#9 | |
New Member
Li Linmin
Join Date: Nov 2015
Location: China
Posts: 27
Rep Power: 11 |
Quote:
I am interested in your code and I want to use the case file. I cannot open the link, can you give a new one? Linmin |
||
April 1, 2016, 11:25 |
Combining all particles in a cell
|
#10 |
Member
HM
Join Date: Apr 2015
Posts: 30
Rep Power: 11 |
Hi foamers,
I am using solidParticle class and I am trying to calculate the number of particles in each cell at certain times. I want to combine all of the particles in a cell. Any suggestions? Thanks, |
|
July 22, 2017, 08:48 |
|
#11 |
Senior Member
sandy
Join Date: Feb 2016
Location: .
Posts: 117
Rep Power: 10 |
i know this is an old thread. but the solver kaufamn provided and the test case provided are running and compiling on openfoam 2.4.0
however i am trying to simulate the collision case. however when i change the velocity direction to cause the droplets/bubbles to collide by giving velocity in +x for particle 1 and velocity in -x direction for particle 2. but. they don't take the veloocity i have provided. they keep rising up in the y direction no collision takes place and later lpt to vof conversion takes place which is ok but plz tell me guys am i missing something here??? |
|
July 29, 2017, 12:51 |
|
#12 |
Senior Member
sandy
Join Date: Feb 2016
Location: .
Posts: 117
Rep Power: 10 |
well...kaufman once again saved the day
he pointed out the fact that. viscosity of water is quite high. which is why bubbles dont show the velocity profile or path trajectory once you decrease the drag, decrease the particle size and decrease the viscosity of water. wolaa...you get the desired results... |
|
October 20, 2021, 22:35 |
|
#13 | |
New Member
Linan Guan
Join Date: Sep 2021
Posts: 2
Rep Power: 0 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ERROR: unable to find library | HJH | CFX | 6 | February 26, 2019 07:52 |
Dispersion model for solidParticle Library | ahcai007 | OpenFOAM Running, Solving & CFD | 2 | April 25, 2017 20:12 |
decomposePar is missing a library | whk1992 | OpenFOAM Pre-Processing | 8 | March 7, 2015 08:53 |
OpenFOAM141dev linking error on IBM AIX 52 | matthias | OpenFOAM Installation | 24 | April 28, 2008 16:49 |
MPCCI Code coupling library | Bukhari | Main CFD Forum | 0 | April 25, 2007 04:43 |