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

simpleFoam Convergence Stalling

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 28, 2011, 11:17
Default simpleFoam Convergence Stalling
  #1
Member
 
Greg Givogue
Join Date: Aug 2010
Location: Ottawa Canada
Posts: 57
Rep Power: 15
Greg Givogue is on a distinguished road
Hi,

I've been trying to model an aircraft external tank using simpleFoam. When the flow is axial (x-direction only) simpleFoam convergences <1e-6 on all initial residuals and the forces compare well with experimental results. When I change the flow so that it is non-axial (10 deg of angle of attack and 15 deg of side slip), simpleFoam does not converge <1.4 e-5 and the drag values are 3 or 4 times greater than expected. The only thing that I change between the axial and non-axial conditions are the domain patches (rectangular domain with 6 patches). For the axial case I have 1 inlet patch and 1 outlet patch. For the non-axial case I have 3 inlet patches and 2 outlet patches. I have set the patch that the pod pylon rests against as type slip.

Geometry - 35cm diameter, 218 cm long, with conical tips
Mesh - 6M cells, y+=3, growth rate from body of 1.15 (30 layers prisms the rest tets), wake refinement, checkMesh ok
Flow - Re=1.77e7, V=121.6m/s, alpha=10 deg, Beta=15 deg
Turbulence - Komega SST

I have read several of the posts on this subject but I have not been able to find the solution. I'm hoping someone with more experience can point me in the right direction.

Thanks in advance - I appreciate your help!
Greg
Attached Images
File Type: jpg pod and pylon.jpg (26.4 KB, 50 views)
Attached Files
File Type: gz pod.tar.gz (28.0 KB, 12 views)
Greg Givogue is offline   Reply With Quote

Old   February 28, 2011, 21:43
Default
  #2
Member
 
Greg Givogue
Join Date: Aug 2010
Location: Ottawa Canada
Posts: 57
Rep Power: 15
Greg Givogue is on a distinguished road
Just corrected the KOmegaSST bug in 1.7.1.

Any suggestions on the the convergence problem?

Last edited by Greg Givogue; March 1, 2011 at 08:26.
Greg Givogue is offline   Reply With Quote

Old   March 1, 2011, 03:42
Default
  #3
Senior Member
 
Felix L.
Join Date: Feb 2010
Location: Hamburg
Posts: 165
Rep Power: 18
FelixL is on a distinguished road
Hello, Greg,


regarding your convergence problems: since this is a blunt body at a high angle of attack and side slip I would expect separation around the body. This separation most probably leads to periodic vortex-shedding behind the body, which clearly is a transient phenomena.

Since the SIMPLE algorithm solves the incompressible, steady NS equations, transient flow features can not be captured. Sometimes vortex shedding can be identified by oscillating residuals but usually simpleFoam simply doesn't converge when seeking for a steady solution on an actually transient configuration.


Greetings,
Felix.
FelixL is offline   Reply With Quote

Old   March 1, 2011, 09:04
Default
  #4
Member
 
Greg Givogue
Join Date: Aug 2010
Location: Ottawa Canada
Posts: 57
Rep Power: 15
Greg Givogue is on a distinguished road
Thanks Felix for responding so quickly. I had a feeling that this was the problem and I was in the process of setting up a run with pisoFoam. I'm a CFD rookie and I've never used pisoFoam so I was a bit hesitant going down that path. Before I get completely off track - can you take a look at my fvSchemes and fvSolution files that I'll be using in pisoFoam? Most of the settings I have chosen comes from the tutorials in the pisoFoam folder and my old set-up in simpleFoam. What is the best solver to use fvSolution and how about the other settings? How about divSchemes?

Thanks so much and I really appreciate your help!
Attached Files
File Type: gz fvSchemes.gz (488 Bytes, 6 views)
File Type: gz fvSolution.gz (547 Bytes, 7 views)
Greg Givogue is offline   Reply With Quote

Old   March 1, 2011, 12:02
Default
  #5
Member
 
Greg Givogue
Join Date: Aug 2010
Location: Ottawa Canada
Posts: 57
Rep Power: 15
Greg Givogue is on a distinguished road
Actually I lied, I'm having issues with wmake and recompiling the solvers after updating the KOmegaSST.C file. I have started a new thread for this... http://www.cfd-online.com/Forums/ope...implefoam.html

Perhaps someone here will be able to help me with this too... Thanks

Problem solved by playing around with permissions...

Last edited by Greg Givogue; March 1, 2011 at 12:43.
Greg Givogue is offline   Reply With Quote

Old   March 6, 2011, 12:24
Default pisoFoam not converging either
  #6
Member
 
Greg Givogue
Join Date: Aug 2010
Location: Ottawa Canada
Posts: 57
Rep Power: 15
Greg Givogue is on a distinguished road
Hi Everyone!

Ok, I have re-ran the problem by first initializing with simpleFoam (1000 iterations) and then running pisoFoam. I get the same problem as before - p fails to converge <10^-5 and k converges and diverges.

I have attached System files for pisoFoam along with log.pisoFoam files (spilt in 2 for uploading). I am completely stuck now...

Thanks!
Greg
Attached Files
File Type: txt controlDict.txt (2.4 KB, 6 views)
File Type: txt fvSchemes.txt (1.6 KB, 14 views)
File Type: txt fvSolution.txt (2.8 KB, 19 views)
File Type: gz log.pisoFoam1.txt.gz (79.0 KB, 3 views)
File Type: gz log.pisoFoam2.txt.gz (77.0 KB, 1 views)
Greg Givogue is offline   Reply With Quote

Old   March 9, 2011, 20:23
Default
  #7
Member
 
Greg Givogue
Join Date: Aug 2010
Location: Ottawa Canada
Posts: 57
Rep Power: 15
Greg Givogue is on a distinguished road
Another problem fixed - my y+ was way to low for using wall functions - should be more like y+>30. Still hoping for suggestions...
Greg Givogue 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
SimpleFOAM + SST-Model + problem with convergence A.Devesa OpenFOAM Running, Solving & CFD 0 November 9, 2010 04:43
Convergence Problems SimpleFOAM Kutti OpenFOAM 16 June 14, 2010 08:12
Getting faster convergence in simpleFoam basneb OpenFOAM 8 February 9, 2010 04:20
Definition of convergence criterion in simpleFoam titio OpenFOAM Running, Solving & CFD 1 February 6, 2010 01:34
Convergence of CFX field in FSI analysis nasdak CFX 2 June 29, 2009 01:17


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