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

Particle Injection

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 13, 2016, 17:11
Default Particle Injection
  #1
New Member
 
Sergio
Join Date: Jul 2016
Location: Venezuela
Posts: 13
Rep Power: 9
sergiopb91 is on a distinguished road
Hi all.

I was following a tutorial about particle injection: http://www.tfd.chalmers.se/~hani/kur...tonPersson.pdf because I want to inject particles in a venturi tube for a project but I got an error:


injectorSolidParticle.H:131:9: note: Foam::injectorSolidParticle::injectorSolidParticle (const Foam:olyMesh&, Foam::Istream&, bool)
injectorSolidParticle
^
injectorSolidParticle.H:131:9: note: candidate expects 3 arguments, 5 provided
In file included from injectorSolidParticle.H:259:0,
from injectorSolidParticleCloud.H:41,
from injectorSolidParticleCloud.C:26:
injectorSolidParticleI.H:45:8: note: Foam::injectorSolidParticle::injectorSolidParticle (const Foam:olyMesh&, const vector&, Foam::label, Foam::label, Foam::label, Foam::scalar, const vector&)
inline Foam::injectorSolidParticle::injectorSolidParticle
^
injectorSolidParticleI.H:45:8: note: candidate expects 7 arguments, 5 provided
In file included from injectorSolidParticleCloud.H:41:0,
from injectorSolidParticleCloud.C:26:
injectorSolidParticle.H:58:7: note: Foam::injectorSolidParticle::injectorSolidParticle (const Foam::injectorSolidParticle&)
class injectorSolidParticle
^
injectorSolidParticle.H:58:7: note: candidate expects 1 argument, 5 provided
make: *** [Make/linuxGccDPInt32Opt/injectorSolidParticleCloud.o] Error 1



I have seen this error in other post and I don't know how solve.
I'm using openFoam 3.0.1 and was wondering if someone can help me with the solver or suggest me other solver to inject particles.

Any help is appreciate. Thanks.

Here is the Venturi tube, the particles should enter for the top:
Attached Images
File Type: png Captura de pantalla de 2016-09-13 15:33:29.png (9.4 KB, 8 views)
sergiopb91 is offline   Reply With Quote

Old   September 18, 2016, 18:30
Default
  #2
New Member
 
Sergio
Join Date: Jul 2016
Location: Venezuela
Posts: 13
Rep Power: 9
sergiopb91 is on a distinguished road
Hi.

Can someone help me to set the solver.

Thanks in advantage.
Attached Files
File Type: zip injectorSolidParticleFoam.zip (74.6 KB, 9 views)
sergiopb91 is offline   Reply With Quote

Reply


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
UDF for particle injection using file shahjehan Fluent UDF and Scheme Programming 2 June 28, 2020 10:44
Particle tracking error alchem OpenFOAM Bugs 5 May 6, 2017 16:30
particles leave domain Steffen595 CFX 9 March 7, 2016 16:19
injection problem Mark New FLUENT 0 August 4, 2013 01:30
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29


All times are GMT -4. The time now is 15:32.