# convergence problems with simpleFoam

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

 August 1, 2013, 07:34 convergence problems with simpleFoam #1 Member   Vishal Join Date: Jul 2013 Posts: 73 Rep Power: 4 Hi all, I am trying to achieve a pressure driven steady state laminar flow of water through a pipe. (2D case). I am not able to achieve a convergence. But I solved the same case with velocity driven flow and the convergence reached in 105 iterations. I am attaching my system directory as well as 0 directory. looking forward to some solution. 0.zip system.zip constant.zip

 August 1, 2013, 09:28 #2 New Member   Stefan Gaerling Join Date: Dec 2012 Posts: 22 Rep Power: 4 Hey there, first of all in "constant" you define the kinematic viscosity nu = 858e-9 but the kinematic viscosity of water at 20°C is 1e-6 m²/s i believe. Additionally your applied pressure difference between inlet and outlet is very low. It calculates to: 1e-4 m²/s² * 1000 kg/m³ = 0,1 kg/(m*s²) = 0,1 Pa. Cheers

 August 1, 2013, 10:19 #3 Member   Vishal Join Date: Jul 2013 Posts: 73 Rep Power: 4 Oh my bad. Thanks for pointing out the mistake. I will try to rectify and run the simulation again. Thanks again

 August 2, 2013, 04:29 #4 Member   Vishal Join Date: Jul 2013 Posts: 73 Rep Power: 4 The solution still won't converge. Can you help. I changed the value of nu to 1e-06 and pressure to 1 m^2/s^2

 August 2, 2013, 05:43 #5 New Member   Stefan Gaerling Join Date: Dec 2012 Posts: 22 Rep Power: 4 How does your case look after maybe 100 iterations? Do you have perhaps inflow at your outlet? In this case you can try using inletOutlet instead of zeroGradient for U @ outlet at first. Perhaps you can plot your initial residuals and share the graph here.

 August 2, 2013, 05:45 #6 New Member   Stefan Gaerling Join Date: Dec 2012 Posts: 22 Rep Power: 4 Okay i took your case files, changed the nu and p values and the case converged after 224 iterations so there should be no problem. please post your terminal content after some iterations.

 August 2, 2013, 06:00 #7 Member   Vishal Join Date: Jul 2013 Posts: 73 Rep Power: 4 Yeah it converged after 224 iterations. You are absolutely correct about that. But did you look at the results? My results are very weird. The velocity distribution looks odd. It should have an entrance region and then gradually become parabolic.

 August 2, 2013, 06:02 #8 Member   Vishal Join Date: Jul 2013 Posts: 73 Rep Power: 4 U.jpg Just check the above image.

 August 2, 2013, 07:36 #9 Member   Vishal Join Date: Jul 2013 Posts: 73 Rep Power: 4 Here is my test case again. Please tell me where am i going wrong. As far as i know the boundary conditions conform with those for Poiseuille flow. 2D_pipe_flow_pres_induced.zip

 Thread Tools Display Modes Linear Mode

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

 Similar Threads Thread Thread Starter Forum Replies Last Post brahim OpenFOAM Running, Solving & CFD 20 June 9, 2015 09:09 ajay_ks CFX 8 March 25, 2013 05:02 sfigato OpenFOAM Running, Solving & CFD 0 February 8, 2013 05:14 StudentAndrew CFX 6 November 21, 2005 07:49 Chetan FLUENT 3 April 15, 2004 19:13

All times are GMT -4. The time now is 21:57.