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

Bug in particle tracking

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 3, 2011, 11:56
Default Bug in particle tracking
  #1
New Member
 
Amir
Join Date: Nov 2010
Location: Shiraz,Iran
Posts: 12
Rep Power: 16
amirreza_m is on a distinguished road
Hi experts,
I wrote UDF for brownian motion of particles , and I'm sure that brownian forces are correct. But particle trajectories didn't match with analytic result (ave(r*r)=6*D*t).
does anyone have any idea to change scheme of particle tracking ?

thanks in advance .
amirreza_m is offline   Reply With Quote

Old   February 3, 2011, 15:08
Default
  #2
New Member
 
flanker1
Join Date: Feb 2011
Posts: 15
Rep Power: 15
flanker1 is on a distinguished road
Could you please provide a copy of your UDF to see what the problem could be?
flanker1 is offline   Reply With Quote

Old   February 3, 2011, 16:41
Default
  #3
New Member
 
Amir
Join Date: Nov 2010
Location: Shiraz,Iran
Posts: 12
Rep Power: 16
amirreza_m is on a distinguished road
thanks for your response,
as I said, there is not any problem in my UDF. I just want to change particle tracking scheme . it seems that at the beginning of particles paths , their positions are not realistic !
amirreza_m is offline   Reply With Quote

Old   February 4, 2011, 04:34
Default tracking
  #4
New Member
 
flanker1
Join Date: Feb 2011
Posts: 15
Rep Power: 15
flanker1 is on a distinguished road
I am not sure wether I understand it well, but as far as I know the only way to influence particle trajectory is through the setable parameters and body forces, but not using another numerical scheme.

Once I implemented a Brownian model by selecting random displacements and wanted to add these dispalacement to the ones due to the deterministic forces, computed by FLUENT, but I failed. Later I was told by FLUENT developers that this would be possible only if I had the source code (which is obviously not the case).

Why do you implement Brownian force, when it is included in FLUENT DPM? You have to switch it on and that's all.
flanker1 is offline   Reply With Quote

Old   February 4, 2011, 08:22
Default
  #5
New Member
 
Amir
Join Date: Nov 2010
Location: Shiraz,Iran
Posts: 12
Rep Power: 16
amirreza_m is on a distinguished road
notice that if we want to use brownian force , the time step should be one order lower than particle relaxation time , but FLUENT time step automation is not good here at all.
also many researchers state that FLUENT brownian forces are also wrong . it's preferable to implement UDF for brownian motion.
johnwinter likes this.
amirreza_m is offline   Reply With Quote

Old   February 4, 2011, 08:46
Default
  #6
New Member
 
flanker1
Join Date: Feb 2011
Posts: 15
Rep Power: 15
flanker1 is on a distinguished road
I perfectly agree with you! Actually, this was the reason (relaxation times) why I wanted to implement my own Brownian motion UDF. I had long discussions with developers, but they simply did not recognize that there is any kind of time step problem. I have a general equation, which is valid for any time step (Chandrsekhar), and turns into FLUENT's equation in case the time step is much lower than the relaxation time.

I also agree with you concerning the shortcomings of using forces instead of displacements, but as I told you it turned out that only forces can be implemented into FLUENT and not displacements.
flanker1 is offline   Reply With Quote

Old   February 4, 2011, 08:55
Default
  #7
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 23
Amir is on a distinguished road
I implement brownian forces to FLUENT by UDF and I want to validate particles paths that FLUENT computed. forces are absolutely correct and I validate them.
I found that the problem were in FLUENT particle tracking at first time step and I'm going to handel.
Amir is offline   Reply With Quote

Old   February 4, 2011, 09:02
Default
  #8
New Member
 
flanker1
Join Date: Feb 2011
Posts: 15
Rep Power: 15
flanker1 is on a distinguished road
And what was the problem with FLUENT particle tracking during the first time step?
flanker1 is offline   Reply With Quote

Old   February 4, 2011, 09:13
Default
  #9
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 23
Amir is on a distinguished road
the particles have a relative big jump at first time step when small time steps use. at higher time steps this problem disappear but brownian forces were wrong !
czhao86 likes this.
Amir is offline   Reply With Quote

Old   February 4, 2011, 10:08
Default
  #10
New Member
 
flanker1
Join Date: Feb 2011
Posts: 15
Rep Power: 15
flanker1 is on a distinguished road
Do you use the original formula for the brownian force? (eq. 21.2-18 in FLUENT documentation)
flanker1 is offline   Reply With Quote

Old   February 4, 2011, 10:46
Default
  #11
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 23
Amir is on a distinguished road
yes. I don't have any doubt about brownian force . as I said before , I checked these forces with validated FORTRAN code .
Amir is offline   Reply With Quote

Old   February 4, 2011, 11:05
Default
  #12
New Member
 
flanker1
Join Date: Feb 2011
Posts: 15
Rep Power: 15
flanker1 is on a distinguished road
OK. Have you tried to switch to another tracking scheme. I don't know which version are you using, but in the newer versions there is a possibility to select from different schemes (e.g. trapezoidal, runge kutta).
flanker1 is offline   Reply With Quote

Old   February 4, 2011, 11:18
Default
  #13
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 23
Amir is on a distinguished road
I use FLUENT 6.3 and all schemes like analytic,implicit,runge kutta and trapezoidal were tested . I think this is a bug in particle tracking and may be removed in newer versions.

Last edited by Amir; February 4, 2011 at 13:36.
Amir is offline   Reply With Quote

Old   February 4, 2011, 11:53
Default
  #14
New Member
 
flanker1
Join Date: Feb 2011
Posts: 15
Rep Power: 15
flanker1 is on a distinguished road
Then you should contact FLUENT (ANSYS) helpdesk and report the bug.
In an earlier version (6.1.18 I think) there was a bug like if the particle diameter was less than 0.01 micron than it evaporated. I reported the bug and they fixed it.
flanker1 is offline   Reply With Quote

Old   February 4, 2011, 11:55
Default
  #15
New Member
 
flanker1
Join Date: Feb 2011
Posts: 15
Rep Power: 15
flanker1 is on a distinguished road
Maybe try to use an earlier version and see wether the problem persists or not.
flanker1 is offline   Reply With Quote

Old   June 21, 2011, 02:03
Default
  #16
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 17
maysmech is on a distinguished road
Quote:
notice that if we want to use brownian force , the time step should be one order lower than particle relaxation time.
Is this law true for non brownian forces too?
I have Drag, Pressure force and virtual mass in a cyclone particle tracking Fortran code. When i switch time step (Dt) from 0.1 of relaxation time (tav) to 1 tav my results show changes. I think it should be independent to Dt. what do you think?
How much should be set for Dt?
maysmech is offline   Reply With Quote

Old   June 21, 2011, 04:14
Default particle_tracking
  #17
New Member
 
flanker1
Join Date: Feb 2011
Posts: 15
Rep Power: 15
flanker1 is on a distinguished road
In case of Brownian force it is important to compare the time step with the relaxation time, because the distribution from which we select the random force is different in the two cases (dt<<tau and dt>>tau). If there is no random force than I do not know about such restriction. However, the smallest the time step the more accurate the simulation is. If your result changes significantly than most probably the larger time step is not that correct. If your computer is performant enough, than I would recommend the usage of the smaller time step.

Regards,
Arpad.


Quote:
Originally Posted by maysmech View Post
Is this law true for non brownian forces too?
I have Drag, Pressure force and virtual mass in a cyclone particle tracking Fortran code. When i switch time step (Dt) from 0.1 of relaxation time (tav) to 1 tav my results show changes. I think it should be independent to Dt. what do you think?
How much should be set for Dt?
flanker1 is offline   Reply With Quote

Old   June 21, 2011, 11:19
Default
  #18
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 23
Amir is on a distinguished road
Quote:
Originally Posted by maysmech View Post
Is this law true for non brownian forces too?
I have Drag, Pressure force and virtual mass in a cyclone particle tracking Fortran code. When i switch time step (Dt) from 0.1 of relaxation time (tav) to 1 tav my results show changes. I think it should be independent to Dt. what do you think?
How much should be set for Dt?
Hi,
In each transient case such as lagrangian models, you have to implement time step study. For brownian motion, we have a rule of thumb, i.e. 0.1 tau, but for any other forces you have to obtain its criterion; maybe it's lower or higher according to its nature.

Regards,

Amir
Amir is offline   Reply With Quote

Old   June 23, 2011, 07:08
Arrow particule tracking
  #19
Member
 
daalou
Join Date: Feb 2011
Posts: 31
Rep Power: 15
alilouu is on a distinguished road
I work on the taylor couette problem, i want to track a defined particules from the fluid to calculate their parametres like pressure or velocity, using fluent.
haw to do that (tracking particules)?

ps; i use an udf for the wall of the moving cylinder, but not for the particules.
alilouu is offline   Reply With Quote

Old   June 23, 2011, 07:18
Arrow tracking particules
  #20
Member
 
daalou
Join Date: Feb 2011
Posts: 31
Rep Power: 15
alilouu is on a distinguished road
I work on the taylor couette problem, i want to track a defined particules from the fluid to calculate their parametres like pressure trajectory or velocity, using fluent.
haw to do that (tracking particules)?

ps; i use an udf for the wall of the moving cylinder, but not for the particules.[/QUOTE]
alilouu 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
particle tracking Wenqing Zhang CFX 15 August 3, 2013 07:02
massless particle tracking problem Renold FLUENT 0 January 26, 2011 15:23
Particle Tracking for ion Jun CFX 2 August 31, 2010 09:19
Number density tracking rather than particle tracking Rebecca Main CFD Forum 2 April 23, 2009 13:52
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 02:29


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