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

Bubble column simulation with Lift coefficient UDF

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By m20

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 26, 2013, 04:55
Default Bubble column simulation with Lift coefficient UDF
  #1
New Member
 
Balraju
Join Date: Feb 2011
Location: Hyderabad,India
Posts: 11
Rep Power: 15
raju.vadlakonda is on a distinguished road
Hii ..

Iam doing two phase cfd simulations of bubble column in FLUENT.I want to study the effect of lift force,so i wrote UDF.when i running with UDF in FLUENT its getting divergence.While compiling UDF,its not showing any errors.How to overcome this problem??

Please suggest me.
Attached Files
File Type: c custom_lift.c (1.7 KB, 56 views)
raju.vadlakonda is offline   Reply With Quote

Old   June 29, 2013, 05:22
Default
  #2
m20
New Member
 
Join Date: Nov 2012
Posts: 3
Rep Power: 14
m20 is on a distinguished road
Quote:
Originally Posted by raju.vadlakonda View Post
Hii ..

Iam doing two phase cfd simulations of bubble column in FLUENT.I want to study the effect of lift force,so i wrote UDF.when i running with UDF in FLUENT its getting divergence.While compiling UDF,its not showing any errors.How to overcome this problem??

Please suggest me.
I think there is nothing wrong with your UDF, just one coefficient in line 43:
"f1=0.0105*pow(mod_etvos,3)-0.0159*pow(mod_etvos,2)-0.0204*mod_etvos+0.474;"
This equation is Tomiyama' equation and the first coefficient is 0.00105 instead of .0105.
Getting convergence by considering lift force is not simple in bubble column and you should have a look on solution controls and AMG solver.
m20 is offline   Reply With Quote

Old   June 30, 2013, 01:41
Default
  #3
Member
 
Hossein
Join Date: Oct 2010
Location: Greensboro, NC, USA
Posts: 30
Rep Power: 16
hossein65 is on a distinguished road
the problem of writing a UDF aside, did you obtain reasonable velocity distribution? because when I simulate a bubble column, every thing looks fine, except velocity. the inlet velocity is 0.1m/s (air) but after some time steps, the maximum velocity in the system goes to 1.1 m/s. it seems like a air jet in the inlet, so it messes every thing up
__________________
Hossein Amini
PhD student in Biochemical Engineering; Computational Science and Engineering department;
North Carolina Agricultural and Technical State University
hossein65 is offline   Reply With Quote

Old   June 30, 2013, 06:58
Default
  #4
New Member
 
Balraju
Join Date: Feb 2011
Location: Hyderabad,India
Posts: 11
Rep Power: 15
raju.vadlakonda is on a distinguished road
Quote:
Originally Posted by m20 View Post
I think there is nothing wrong with your UDF, just one coefficient in line 43:
"f1=0.0105*pow(mod_etvos,3)-0.0159*pow(mod_etvos,2)-0.0204*mod_etvos+0.474;"
This equation is Tomiyama' equation and the first coefficient is 0.00105 instead of .0105.
Getting convergence by considering lift force is not simple in bubble column and you should have a look on solution controls and AMG solver.
Hiii,

Yes,the first coefficient is 0.00105.
In simulations iam getting usually "Divergence detected in AMG solver". How to handle this problem??
raju.vadlakonda is offline   Reply With Quote

Old   June 30, 2013, 07:21
Default
  #5
m20
New Member
 
Join Date: Nov 2012
Posts: 3
Rep Power: 14
m20 is on a distinguished road
Quote:
Originally Posted by raju.vadlakonda View Post
Hiii,

Yes,the first coefficient is 0.00105.
In simulations iam getting usually "Divergence detected in AMG solver". How to handle this problem??

Please have a look on following thread:
http://www.cfd-online.com/Forums/flu...ying-lift.html
raju.vadlakonda likes this.
m20 is offline   Reply With Quote

Old   July 2, 2013, 03:25
Default
  #6
New Member
 
Balraju
Join Date: Feb 2011
Location: Hyderabad,India
Posts: 11
Rep Power: 15
raju.vadlakonda is on a distinguished road
Quote:
Originally Posted by m20 View Post
Please have a look on following thread:
http://www.cfd-online.com/Forums/flu...ying-lift.html

Thank you for your help.

I have started simulations with that idea,but after some iterations simulation getting divergence.

The error is coming like this "turbulent viscosity limited to viscosity ratio of 1.000000e+05 in 120589 cells ".

Please help me to overcome this problem.

Regards,
Raju
raju.vadlakonda is offline   Reply With Quote

Old   July 6, 2013, 09:47
Default
  #7
m20
New Member
 
Join Date: Nov 2012
Posts: 3
Rep Power: 14
m20 is on a distinguished road
You can consider one of the following things:
1. Change AMG solver coefficients
2. Run the simulation in laminar condition at first then switch to turbulent
3. Do initialization with best initial guess (this Is very important)
m20 is offline   Reply With Quote

Old   July 11, 2013, 10:19
Default
  #8
New Member
 
Balraju
Join Date: Feb 2011
Location: Hyderabad,India
Posts: 11
Rep Power: 15
raju.vadlakonda is on a distinguished road
Quote:
Originally Posted by m20 View Post
You can consider one of the following things:
1. Change AMG solver coefficients
2. Run the simulation in laminar condition at first then switch to turbulent
3. Do initialization with best initial guess (this Is very important)
Thank u :-)
raju.vadlakonda is offline   Reply With Quote

Old   June 19, 2023, 09:36
Default
  #9
New Member
 
Parthasarathy yuvaraj
Join Date: Apr 2023
Posts: 6
Rep Power: 3
yuvarajp is on a distinguished road
Quote:
Originally Posted by raju.vadlakonda View Post
Thank you for your help.

I have started simulations with that idea,but after some iterations simulation getting divergence.

The error is coming like this "turbulent viscosity limited to viscosity ratio of 1.000000e+05 in 120589 cells ".

Please help me to overcome this problem.

Regards,
Raju
hi,

im also having the same issues. did u find any solution?
yuvarajp 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
Bubble Column Simulation: Different Turbulence Models different results zobekenobe CFX 5 January 28, 2013 10:02
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
UDF for heat convection coefficient with fixed surface temperature Boo85 Fluent UDF and Scheme Programming 2 July 10, 2012 19:43
lift coefficient from Ferrari Testarossa mp199 Main CFD Forum 0 August 31, 2011 04:02
lift coefficient -1.#IND arashm FLUENT 0 July 28, 2010 12:13


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