CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to make it converge, ask for tips

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

Like Tree2Likes
  • 2 Post By owayz

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 23, 2012, 12:38
Default How to make it converge, ask for tips
  #1
Member
 
dw
Join Date: Jul 2012
Posts: 32
Rep Power: 13
1/153 is on a distinguished road
I am running a simpleFoam case for flow around a bluff body (2D Steady-RANS), and for one case, it converged perfect well (Judging from velocity field and other flow field and also the force coeffs).

But when I move to another similar but a different geometry case, (it is bluff body external flow), and the shear layer after separation shows instability, looks like a transient simulation, even though it is not totally unsteady, no vortex shedding, but I can still see the velocity wriggling on the edge of boundary layer.

I am using gamma 0.1 scheme for div, gauss linear corrected for laplacian. RF for p is 0.1, U 0.3, others 0.2.

Any ideas?

Thanks,
1/153 dw
1/153 is offline   Reply With Quote

Old   August 25, 2012, 12:29
Default
  #2
Senior Member
 
Awais Ali
Join Date: Feb 2010
Location: Germany
Posts: 128
Rep Power: 17
owayz is on a distinguished road
Send a message via MSN to owayz
May be you should think about your Domain extents and boundary conditions. If you can share your 0/ constant/ and system/ folder we can have a look and I am sure somebody will suggest a good solution.

regards,
Awais
owayz is offline   Reply With Quote

Old   August 27, 2012, 15:41
Default
  #3
Member
 
dw
Join Date: Jul 2012
Posts: 32
Rep Power: 13
1/153 is on a distinguished road
Thank you Awais.
I am sorry I can't release the mesh right now. But it is much like flow around a square cylinder, with turbulence inflow.

After googling a little bit, my impression is, for certain problems, by nature the flow is just too transient, and it might be difficult or impossible to have an converged solution????


What do you think?
1/153 is offline   Reply With Quote

Old   August 27, 2012, 21:55
Default
  #4
Senior Member
 
Awais Ali
Join Date: Feb 2010
Location: Germany
Posts: 128
Rep Power: 17
owayz is on a distinguished road
Send a message via MSN to owayz
Well yes, in-general for transient cases you might not get good convergence sometimes.
But if you are using an algorithm like PISO, you should try to converge in one time step (i.e. for a time step your residuals must be small enough or at least they should come to the minimum before showing some steady behaviors).
I mostly use Pimple algorithm and to get good convergence in a transient case I closely monitor residuals of pressure and momentum. And then I increase the nOuter iterations till I achieve a steady state for residuals or they stop decreasing further. Also pressure corrections in one outer iteration is also important for that I use pressure corrector to decrease pressure residual to certain minimum level.
Time step is also another very important parameter in highly transient flows. It could be possible that time step is very high to capture the motion of Large scales, this thins is specially important in LES. But mostly I have observed people using a Courant Number of less that 0.5 for highly transient flows and then they adjust all other parameters (like outer iterations, pressure corrections and nonorthogonal correctors) accordingly.
Hope this will help you,
Regards,
Awais
sharonyue and immortality like this.
owayz is offline   Reply With Quote

Old   August 27, 2012, 21:59
Default
  #5
Senior Member
 
Awais Ali
Join Date: Feb 2010
Location: Germany
Posts: 128
Rep Power: 17
owayz is on a distinguished road
Send a message via MSN to owayz
Ahh..
But now I see that you are using simpleFoam. So the transient nature of the flow should not be problem for the convergence of your setup. What you will get after simpleFoam simulations is a time averaged solution of the transient problem.
I think you should try playing with Boundary conditions and relaxation factors.
If you can tell what boundary conditions and solver settings you are using it would be easier to help you.
Regards,
Awais
owayz is offline   Reply With Quote

Old   August 28, 2012, 00:09
Default
  #6
Member
 
dw
Join Date: Jul 2012
Posts: 32
Rep Power: 13
1/153 is on a distinguished road
Thanks, I am now playing with the convection scheme, hoping the upwind will calm down the oscillating velocity field.

Since I am working with low-re mode of turb model, so the problem is quite stiff, b.c. of omega is of the order of sqr(y_1st). I will keep you posted. Thank you, Awais
1/153 is offline   Reply With Quote

Old   February 23, 2013, 17:17
Default
  #7
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
dear Barre
I have a high transient problem that pressure seems don't converge.how it can be find which values for outer and pressure(inner)correctors and also maxCo in rhoPimpleFoam is more suitable for converging?
immortality is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make the water slightly compressible in CFX? womo CFX 14 February 12, 2020 07:20
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 09:48
can not converge if use variable density alfred FLUENT 0 November 13, 2007 03:02
CFX FAQ updated - my simulation fails to converge Glenn Horrocks CFX 0 September 1, 2007 08:33
[Q]How to make MPEGs with CFD datas??? Bum-Seok Hyun Main CFD Forum 4 February 16, 2000 19:59


All times are GMT -4. The time now is 00:54.