CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Injection Particles coordinate

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 13, 2013, 05:52
Default Injection Particles coordinate
  #1
noa
Member
 
anonymous
Join Date: Feb 2011
Posts: 50
Rep Power: 15
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, 07:58
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
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, 04:06
Unhappy
  #3
noa
Member
 
anonymous
Join Date: Feb 2011
Posts: 50
Rep Power: 15
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, 07:23
Default
  #4
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
"-2.7189e" should be " -2.7189" (my typo, sorry)
pakk is offline   Reply With Quote

Old   November 14, 2013, 08:43
Default
  #5
noa
Member
 
anonymous
Join Date: Feb 2011
Posts: 50
Rep Power: 15
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, 09:32
Default
  #6
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
Hmm, can't help you further, the example works for me, sorry...
pakk is offline   Reply With Quote

Old   November 14, 2013, 14:22
Default
  #7
Member
 
Rexxar
Join Date: May 2012
Location: Bethlehem, PA
Posts: 36
Rep Power: 13
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, 05:33
Default
  #8
noa
Member
 
anonymous
Join Date: Feb 2011
Posts: 50
Rep Power: 15
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, 02:53
Unhappy
  #9
noa
Member
 
anonymous
Join Date: Feb 2011
Posts: 50
Rep Power: 15
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, 05:48
Default
  #10
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
Do you get the same problem if you put in the positions manually?
pakk is offline   Reply With Quote

Old   November 24, 2013, 03: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 04:01. Reason: ERROR IN SENT
mit.R is offline   Reply With Quote

Old   November 26, 2013, 07:32
Default
  #12
noa
Member
 
anonymous
Join Date: Feb 2011
Posts: 50
Rep Power: 15
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, 06:39
Unhappy
  #13
New Member
 
Join Date: Mar 2014
Posts: 4
Rep Power: 12
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, 13:40
Default
  #14
noa
Member
 
anonymous
Join Date: Feb 2011
Posts: 50
Rep Power: 15
noa is on a distinguished road
Did someone solve it?
noa is offline   Reply With Quote

Old   July 10, 2014, 05:30
Default
  #15
New Member
 
Join Date: Mar 2014
Posts: 4
Rep Power: 12
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, 03:07
Default
  #16
noa
Member
 
anonymous
Join Date: Feb 2011
Posts: 50
Rep Power: 15
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, 03:45
Default
  #17
New Member
 
Join Date: Mar 2014
Posts: 4
Rep Power: 12
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, 07:16
Default
  #18
noa
Member
 
anonymous
Join Date: Feb 2011
Posts: 50
Rep Power: 15
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

Old   July 21, 2016, 00:24
Default
  #19
New Member
 
Nuha
Join Date: Apr 2016
Posts: 8
Rep Power: 10
Nuha is on a distinguished road
Dear Rexxar

Could you please mail me file injection code that you have , at this email id : amnaamanat73@gmail.com

Thank you in advance
Nuha 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
Injection of specific number of particles in DPM DH FLUENT 12 March 16, 2016 21:04
trying to simulate two-phase jet flow with particles in surface injection ajkratos FLUENT 5 March 3, 2015 21:33
injection problem Mark New FLUENT 0 August 4, 2013 01:30
loop over all injection streams in order to get the particles specifications alighaffari Fluent UDF and Scheme Programming 0 August 28, 2012 01:42
injection particles zenith FLUENT 0 April 3, 2007 00:56


All times are GMT -4. The time now is 01:14.