CFD Online URL
[Sponsors]
Home > Forums > FLUENT

Injection Particles coordinate

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 13, 2013, 06:52
Default Injection Particles coordinate
  #1
noa
Member
 
anonymous
Join Date: Feb 2011
Posts: 44
Rep Power: 5
noa is on a distinguished road
Hi,

I am using Define Injections.. in order to set particles in my simulation.
I have 360 particles and of course its unreasonable to set each particle (x coordinate y coordinate ) manually. Is there away to insert the particles location through a file? Does someone has an example of a file like that???

Thank you
noa is offline   Reply With Quote

Old   November 13, 2013, 08:58
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 383
Rep Power: 6
pakk is on a distinguished road
Do this with an injection file.

In your case it will have 360 lines. Each line is like this:

(( -0.25779 -2.7189e 0.221755735 17.2234848 14.53586671 0.1235 2e-5 295.398 1e-20 ))

xpos, ypos, zpos, xvel, yvel, zvel, diameter, temperature, flow rate

You still have to supply the 360 lines, but you can write a small program to do this, for example in matlab.
pakk is offline   Reply With Quote

Old   November 14, 2013, 05:06
Unhappy
  #3
noa
Member
 
anonymous
Join Date: Feb 2011
Posts: 44
Rep Power: 5
noa is on a distinguished road
Thank you for your respond. However, I tried to save that line into a file *.inj
and when I tried to read it through injection I got this error message:

Error: ASSQ: invalid argument [2]: improper list
Error Object: -2.7189
noa is offline   Reply With Quote

Old   November 14, 2013, 08:23
Default
  #4
Senior Member
 
Join Date: Nov 2013
Posts: 383
Rep Power: 6
pakk is on a distinguished road
"-2.7189e" should be " -2.7189" (my typo, sorry)
pakk is offline   Reply With Quote

Old   November 14, 2013, 09:43
Default
  #5
noa
Member
 
anonymous
Join Date: Feb 2011
Posts: 44
Rep Power: 5
noa is on a distinguished road
I know, and I already fixed it. My model is 2D so I also changed the file to this line and it still doesn't work:


((-0.25779 -2.7189 17.2234848 14.53586671 2e-5 295.398 1e-20 ))

Thank you,
noa is offline   Reply With Quote

Old   November 14, 2013, 10:32
Default
  #6
Senior Member
 
Join Date: Nov 2013
Posts: 383
Rep Power: 6
pakk is on a distinguished road
Hmm, can't help you further, the example works for me, sorry...
pakk is offline   Reply With Quote

Old   November 14, 2013, 15:22
Default
  #7
Member
 
Rexxar
Join Date: May 2012
Location: Bethlehem, PA
Posts: 36
Rep Power: 4
czhao86 is on a distinguished road
I have a matlab code which is good for writing the file for injecting particles in a rectangular cross section. If you are interested, I can send you the file.
__________________
Best,

Rexxar
czhao86 is offline   Reply With Quote

Old   November 15, 2013, 06:33
Default
  #8
noa
Member
 
anonymous
Join Date: Feb 2011
Posts: 44
Rep Power: 5
noa is on a distinguished road
Thank you very much !

Please send it (sarit-y@hotmail.com)
noa is offline   Reply With Quote

Old   November 20, 2013, 03:53
Unhappy
  #9
noa
Member
 
anonymous
Join Date: Feb 2011
Posts: 44
Rep Power: 5
noa is on a distinguished road
Hi,


Thank you, I generated the file, it looks very good, but I get the same error:

Error: CAR: invalid argument [1]: wrong type [not a pair]
Error Object: id
Importing the following injections:
Error: CAR: invalid argument [1]: wrong type [not a pair]
Error Object: id
noa is offline   Reply With Quote

Old   November 20, 2013, 06:48
Default
  #10
Senior Member
 
Join Date: Nov 2013
Posts: 383
Rep Power: 6
pakk is on a distinguished road
Do you get the same problem if you put in the positions manually?
pakk is offline   Reply With Quote

Old   November 24, 2013, 04:46
Default ingection particle
  #11
New Member
 
mit.R
Join Date: Nov 2013
Location: iran
Posts: 2
Rep Power: 0
mit.R is on a distinguished road
Quote:
Originally Posted by pakk View Post
Do you get the same problem if you put in the positions manually?
Hi All

I have a source that generat several defferent particles and finaly as smok plumn spread in ambient.
I donít have informations about X&Y position or velociy for first & last point of particles, just I can supposedly determinate name, diameter & flow rate of particles.
I am going to modeling particles generated frome welding process by fluent and showing particle concentration contour , do I should used DPM Concentration for this case ?
But I donít know why befor injections and display -->particle tracks-->particle variables -->parricle residence time --> error softward
And when discrete phase model-->DPM Concentration -->display--> it is show nothing
Other question: in near the source creat temprature about 3000-10000 K , but far frome the source gragually is decrease temprature defferent between smok plumn and ambient. Do is flow unsteady & compressibility? Or it is negligible with some assumptions for Simplifying
Plz , advice me, tanx

Last edited by mit.R; November 24, 2013 at 05:01. Reason: ERROR IN SENT
mit.R is offline   Reply With Quote

Old   November 26, 2013, 08:32
Default
  #12
noa
Member
 
anonymous
Join Date: Feb 2011
Posts: 44
Rep Power: 5
noa is on a distinguished road
no, I don't. It works when I do it manually, but its hard to put 360 particles
noa is offline   Reply With Quote

Old   May 8, 2014, 07:39
Unhappy
  #13
New Member
 
Join Date: Mar 2014
Posts: 4
Rep Power: 2
alechan is on a distinguished road
Noa, have you finally solved it? because I have a simillar error and I dont know why, my error is:

Error: CAR: invalid argument [1]: wrong type [not a pair]
Error Object: 1

And my injections are like this:

((0.000000e+000 1.187500e-002 0.000000e+000 8.600000e-004 0.000000e+000 0.000000e+000 9.5000000e-003 2.981500e+002 1.401388e-002) 1)
alechan is offline   Reply With Quote

Old   July 7, 2014, 14:40
Default
  #14
noa
Member
 
anonymous
Join Date: Feb 2011
Posts: 44
Rep Power: 5
noa is on a distinguished road
Did someone solve it?
noa is offline   Reply With Quote

Old   July 10, 2014, 06:30
Default
  #15
New Member
 
Join Date: Mar 2014
Posts: 4
Rep Power: 2
alechan is on a distinguished road
Quote:
Originally Posted by noa View Post
Did someone solve it?

I sent you a private message long time ago
alechan is offline   Reply With Quote

Old   July 11, 2014, 04:07
Default
  #16
noa
Member
 
anonymous
Join Date: Feb 2011
Posts: 44
Rep Power: 5
noa is on a distinguished road
right, but still it didn't work. Did u do it lately?
Can u send your files again?

Thank you
noa is offline   Reply With Quote

Old   July 11, 2014, 04:45
Default
  #17
New Member
 
Join Date: Mar 2014
Posts: 4
Rep Power: 2
alechan is on a distinguished road
I dont remeber it very good, but I think it was not a problem with the file, the problem was the path you use to read it, the correct way is:

Models, discrete phase, injections, create, and in injection type you have to select file, then between OK and cancel (down part) you select file again and select your injection file.

With this it worked to me
alechan is offline   Reply With Quote

Old   July 11, 2014, 08:16
Default
  #18
noa
Member
 
anonymous
Join Date: Feb 2011
Posts: 44
Rep Power: 5
noa is on a distinguished road
Thank you, I will try.
Can u please send me the files again.
sarit-y@hotmail.com
noa is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
injection problem Mark New FLUENT 0 August 4, 2013 02:30
loop over all injection streams in order to get the particles specifications alighaffari Fluent UDF and Scheme Programming 0 August 28, 2012 02:42
Injection of specific number of particles in DPM DH FLUENT 11 October 20, 2011 08:50
Urgent help needed plz! No. of particles in surface injection ajkratos FLUENT 4 March 22, 2011 12:32
injection particles zenith FLUENT 0 April 3, 2007 01:56


All times are GMT -4. The time now is 07:30.