CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

Divergence and reverse flow

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

LinkBack Thread Tools Display Modes
Old   March 13, 2013, 05:55
Default Divergence and reverse flow
Senior Member
Join Date: Sep 2012
Posts: 113
Rep Power: 9
sihaqqi is on a distinguished road
Hi All

My geometry are two pipes connected at right angle to each other.

Condition 1:
In Boundary conditions, when I put my mean velocity, hydraulic dia and intensity in inlet and same in outlet except that pressure is 0, my simulation runs well giving results.

Condition 2:
When I give velocity profile, k, epsilon from UDF which is a copy of UDF in UDF manual for fluent, solution immediately diverges.

Therefore I start calculating with inlet values in condition 1 and interrupt in middle, and then put in condition 2 values, i.e profile values, but I am constantly getting reverse flow. Solution is not converging.

Does anyone know what my problem can be. Flow enters inlet vertically in +Y direction and then turns in +x direction. I shall be grateful for your positive response. I have attached my UDF file in case anyone wants to have a look at it. Please right click on it and click edit to open in notepad.

Attached Files
File Type: c udf.c (2.2 KB, 22 views)
sihaqqi is offline   Reply With Quote

Old   March 13, 2013, 17:51
New Member
Qasim Ali
Join Date: Mar 2013
Location: Islamabad, Pakistan
Posts: 18
Rep Power: 6
mqasimali is on a distinguished road
Send a message via Yahoo to mqasimali Send a message via Skype™ to mqasimali
check out your operating pressure, if it is compressible flow then you need to work on it and if incompresible then take it as low as possible
mqasimali is offline   Reply With Quote

Old   March 14, 2013, 06:40
Senior Member
Join Date: Sep 2012
Posts: 113
Rep Power: 9
sihaqqi is on a distinguished road
Hello Qasim

Can you please advise what effect can reducing operating pressure bring on reverse flow and convergence. How does it work in the equations?

I have reduced my pressure and it is still not working. Can you please have a look at my udf. This is my first time of making a UDF file.

sihaqqi is offline   Reply With Quote


divergence, reverse flow, udf, velocity profile

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
3D Naca wing divergence Bollonga FLUENT 27 March 10, 2013 15:08
Reverse flow warning and solution divergence SH_P FLUENT 0 May 27, 2012 15:26
divergence error jai CFX 1 April 19, 2011 06:43
reverse flow and divergence in AMG solver MASOUD FLUENT 2 April 2, 2010 08:48
Reverse Flow Sandeep FLUENT 5 August 24, 2000 20:21

All times are GMT -4. The time now is 23:13.