|
[Sponsors] |
December 10, 2011, 12:24 |
Divergence in simpleFoam
|
#1 | ||
New Member
LB_K kjk
Join Date: Nov 2011
Location: Moscow, Russia
Posts: 9
Rep Power: 15 |
Hello everyone.
I am a newbie in OpenFoam, so don't be too strict to me. I have a task to calculate the steady state pressure and velocity field in cylinder with 2 cylinder holes - one of them inlet, and another one is outlet. The inlet velocity in known. I tried to use icoFoam, but after a lot of calculation steps the courant number went very high and the solution diverged. So, i changed solver to simpleFoam. Some information about how to use simpleFoam i've got from http://www.cfd-online.com/Forums/ope...am-solver.html Simplefoam looks to work well, but starting from the 300th step something strange happens. Quote:
Geometry - Mesh information - Quote:
Thanks. |
|||
December 12, 2011, 14:57 |
|
#2 |
New Member
Michael Ahlmann
Join Date: Feb 2010
Posts: 27
Rep Power: 16 |
What do your boundary conditions look like? In particular, you might try an inletOutlet condition on velocity. Basically, this sets a zeroGradient condition on the boundary when flow is going out, and a fixed value when flow is attempting to go back in. I've seen similar instabilities when there is a flow reversal on the exit boundary condition with a zeroGradient on velocity.
If the problem is in fact a flow reversal, you may also be able to get rid of it by further removing your boundary condition from your flow domain (although that's often not a practical solution). |
|
December 12, 2011, 15:52 |
|
#3 |
New Member
LB_K kjk
Join Date: Nov 2011
Location: Moscow, Russia
Posts: 9
Rep Power: 15 |
For velocity i use these conditions
Code:
wall { type fixedValue; value uniform (0 0 0); } inlet { type fixedValue; value uniform (0 0 1); } outlet { type zeroGradient; } Code:
wall { type zeroGradient; } inlet { type zeroGradient; } outlet { type fixedValue; value uniform 0; } Solver for velocity now is PBicG, before it was SmoothSolver. Solver for pressure is PCG before it was GAMG. Thanks. |
|
December 14, 2011, 21:01 |
|
#4 |
New Member
LB_K kjk
Join Date: Nov 2011
Location: Moscow, Russia
Posts: 9
Rep Power: 15 |
I'd like to add that i thought that my Reynold number is about 1, but it was a great mistake - Re was about million, so i've such troubles with convergence.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Divergence problem for species transport model | MY | FLUENT | 3 | January 11, 2014 05:46 |
Laminar simpleFoam and inviscid simpleFoam | herenger | OpenFOAM Running, Solving & CFD | 7 | July 11, 2013 07:27 |
Quarter Burner mesh with periosic condition | SamCanuck | FLUENT | 2 | August 31, 2011 12:34 |
Naca0012 k-e mpirun gives fpe whereas simpleFoam not | Pierpaolo | OpenFOAM | 1 | May 8, 2010 04:08 |
divergence in MAC Method | Maciej Matyka | Main CFD Forum | 2 | December 19, 2000 11:43 |