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

OpenFOAM: SimpleFoam Convergence and Solutions Issues

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2014, 02:06
Default OpenFOAM: SimpleFoam Convergence and Solutions Issues
  #1
Member
 
adarsh tiwari's Avatar
 
adarsh tiwari
Join Date: Feb 2014
Location: Bangalore
Posts: 42
Blog Entries: 5
Rep Power: 12
adarsh tiwari is on a distinguished road
Hi All,

sorry for the new thread. I am analyzing a simple case of flow through a duct with sharp 90 deg. contraction in between.

The geometry is having a 2.78m x 3.28m C/S area at inlet and after length of 10m, a sudden contraction occurs and the C/S area becomes 1.3m x 1.3m and length again runs upto 10m. thus the total length is 10m+10m=20m.

for initial run i am running with the coarse mesh and incompressible steady state solver 'simpleFoam'.

after few iterations, the software says that the solution is converged , but the values I am getting is unrealistic. I also had tried different approaches and boundary conditions, the results are more or less same.

I have also referred to various posts in the forum e.g. http://www.cfd-online.com/Forums/ope...fvschemes.html

http://www.cfd-online.com/Forums/ope...-problems.html

For the convenience, i am also attaching my fvSchemes, fvSolutions and other Files.

Thanks and Regards,
Adarsh Tiwari
Attached Files
File Type: zip 0.zip (6.9 KB, 8 views)
File Type: zip system.zip (6.5 KB, 4 views)
File Type: zip turbulence_prop.zip (1.7 KB, 2 views)
adarsh tiwari is offline   Reply With Quote

Old   September 10, 2014, 06:17
Default
  #2
Member
 
Laurent Fitschy
Join Date: May 2011
Posts: 40
Rep Power: 15
GDTech is on a distinguished road
Hi,

Your BCs for U and p are not correct : you cannot fix velocity both at inlet and outlet !
Commonly used BCs are the following :

Inlet :
  • U : fixedValue (or flowRateInletVelocity)
  • p : zeroGradient
Outlet :
  • U : inletOutlet
  • p : fixedValue
Have a look at incompressible/simpleFoam/pitzDaily tutorial.


Best regards.

Last edited by GDTech; September 10, 2014 at 08:00.
GDTech is offline   Reply With Quote

Old   September 10, 2014, 07:20
Default
  #3
Member
 
adarsh tiwari's Avatar
 
adarsh tiwari
Join Date: Feb 2014
Location: Bangalore
Posts: 42
Blog Entries: 5
Rep Power: 12
adarsh tiwari is on a distinguished road
Hi GDTech,

Thanks for your quick reply, I have already tried with the boundary conditions which you are mentioning but unfortunately it doesn't work.

If it is simulated using 'simpleFoam' then the solution diverges after few iterations while if we use 'rhoSimpleFoam' it gives some values which are not convincing.

In the results, the velocity values are okay on inlet side, while on the outlet side, the velocity approaches to approx. 2-3 m/s. Practically, it should be around 9-10 m/s.

Hence, for maintaining it, I thought of fixing velocity at both the ends.
I guess the problem may be in 'epsilon'.
Thanks and Regards,
Adarsh Tiwari
adarsh tiwari is offline   Reply With Quote

Old   September 10, 2014, 08:04
Default
  #4
Member
 
Laurent Fitschy
Join Date: May 2011
Posts: 40
Rep Power: 15
GDTech is on a distinguished road
Quote:
Originally Posted by adarsh tiwari View Post
I have already tried with the boundary conditions which you are mentioning but unfortunately it doesn't work.
Your turbulence modeling is also wrong : nutURoughWallFunction cannot be used for k and epsilon !!

I really suggest you to have a look at incompressible/simpleFoam/pitzDaily tutorial !!!
GDTech 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
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 12 January 31, 2020 15:26
Convergence of Density-based solutions Hybrid FLUENT 3 December 4, 2013 14:03
Convergence Issues ferocity CFX 1 November 7, 2013 16:21
Swirl flow convergence problem with simpleFoam iqbalsk8 OpenFOAM Running, Solving & CFD 7 November 28, 2012 00:54
Convergence Problems SimpleFOAM Kutti OpenFOAM 16 June 14, 2010 08:12


All times are GMT -4. The time now is 12:06.