|
[Sponsors] |
August 6, 2012, 09:44 |
Hybrid mesh and unstable solution
|
#1 |
Member
|
Dear Foamers
Hi Recently, all of my simulations were blown out after 1 or 2 seconds. I use combination of hexahedral and tetrahedron meshes (hybrid meshes). Is the blowing out related to this? I checkmeshed and every thing is ok. Before that I used netgen3d for meshing and I didn't have any problem. After a lot of run, I believe that the problem definitely arise from the meshing. But I don't know how to deal with it. |
|
August 6, 2012, 12:05 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
Hi dear mohamad
1) print out your checkMesh result here 2) print out the result, your solver name, your openFoam version 3) fvSchemes and fvSolution however generally OpenFOAM solvers can be applied in polyhedral mesh (tet,hex or ...), so it should not be the main cause of error, however ever solver is sensitive to mesh quality, with bad mesh quality, it may diverge |
|
August 6, 2012, 12:27 |
|
#3 |
Member
|
Dear Nima
Thanks for your reply, Here is the details: I use interfoam solver and openfoam version2.0.1. CheckMesh: PHP Code:
PHP Code:
PHP Code:
Thanks in advance |
|
August 6, 2012, 14:24 |
solver's output
|
#5 |
Member
|
Here is the solver output:
PHP Code:
|
|
August 6, 2012, 15:21 |
|
#6 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
hi dear mohamad
some general recommendations: 1) decrease your courant number (less than 0.2) 2)increase your corrector (nCorrectors 3; nNonOrthogonalCorrectors 2; ) 3)start with a very small timestep forexample 1e-8 your mean courant number is small, but your maximum courant number is some how high, it seems somewhere in domain,you get a high velocity, which maybe due to mesh quality,also i recommend to initialize your field better and check where you get high courant number |
|
August 6, 2012, 15:49 |
|
#7 |
Senior Member
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 255
Rep Power: 22 |
Hi Mohammad,
in addition to the hints of Nima you should try these settings in fvSchemes (you have a limiter of 0 there): Code:
gradSchemes { default Gauss linear; grad(U) cellLimited Gauss linear 1; grad(p) cellLimited Gauss linear 1; } Code:
gradSchemes { default Gauss linear; grad(U) cellLimited leastSquares 1; grad(p) cellLimited leastSquares 1; } |
|
August 6, 2012, 15:50 |
|
#8 |
Member
|
Dear Nima
Decreasing courant number to 0.2 cuased sooner divergence. Now I run the case using ncorrectors 3 and nNonorth. 2 and Martins point. By the way, how can I understand where the courant number is high? Last edited by MOHAMMAD67; August 6, 2012 at 16:29. |
|
December 20, 2012, 19:16 |
|
#11 |
Member
Simon Arne
Join Date: May 2012
Posts: 42
Rep Power: 14 |
Hey,
I simulate flow into a tank and experience the same error. Simulation is stable for 25.000 iterations (Residuals super small like e-09, Courant and time step stable) and then suddenly time step decreases and I get the exact same error message while MULE solves for alpha. There is no bounding of variables. It might be because I have a rather coarse mesh (it stops in a moment where the flow reaches a badly meshed obstacle). But increasing resolution at this point brings down my timestep to non-acceptable values. So I am interested in your progress Mohamad. Switching on momentum predictor increased stability for me. The moment of the crash, does your liquid phase encounter a badly meshed region as well? By the way: lowering CFL from 0.8 to 0.5 solved my problem, the mesh is fully tetrahederical (ist this an existing english word?). Greetings, Simon Last edited by simpomann; December 21, 2012 at 10:35. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Instability Vortex and Mesh Choice | kristapsb | Main CFD Forum | 2 | May 11, 2012 07:26 |
Unstable spray for small mesh size (dieselFoam) | namCFD | OpenFOAM | 2 | August 13, 2010 16:51 |
Asymmetry induced by the mesh | Ale | Main CFD Forum | 3 | December 14, 2007 15:44 |
small size cell problem(moving mesh) | Elyor | Siemens | 1 | May 13, 2007 00:45 |
Any mesh limitation for SSG Reynolds Stress Model? | Sam | Main CFD Forum | 1 | October 13, 2005 13:34 |