coupling of interfFoam with solidParticle library
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_) ^ |
1 Attachment(s)
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, |
Hi
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? |
interFoam solver coupled with solidParticle
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:
|
Hi,
In constant directory, there is a particleProperties file which defines and controls how the particle injection. |
|
Quote:
|
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? |
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 |
Combining all particles in a cell
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, |
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??? |
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... |
Quote:
|
All times are GMT -4. The time now is 17:14. |