CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

how to deal with bad quality cells?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 18, 2011, 15:53
Default how to deal with bad quality cells?
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 271
Rep Power: 9
phsieh2005 is on a distinguished road
Dear OpenFOAMers,

I obtained a mesh with about 10% bad quality cells. There is nothing I can do to improve the cell quality. This mesh has already 8 million cells. So, I cannot add more cells to improve cell quality.

I am using simpleFoam solver. I have already use 1 iteration for non-orthogonality correction. Is there anything I can do to improve convergence? I am already using upwind for div in fvSchemes. Case is laminar.

Thanks!

Pei
phsieh2005 is offline   Reply With Quote

Old   July 18, 2011, 16:47
Default
  #2
New Member
 
SamboReal
Join Date: Feb 2011
Posts: 9
Rep Power: 6
sambo is on a distinguished road
p { margin-bottom: 0.08in; } Did you try to visualize the bad elements by reading the sets with paraview and what kind of bad elements do you have (skewness , …)?


You can try to improve your convergence by reducing the under relaxation factors but a mesh with 10% of bad quality cells sounds really bad.
sambo is offline   Reply With Quote

Old   July 19, 2011, 08:53
Default
  #3
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 271
Rep Power: 9
phsieh2005 is on a distinguished road
Hi, Sambo,

Yes, I did plot the set in paraview. the issue is non-orthongonality.

I reduced under-relaxation coef of p to 0.2 and U to 0.5. Maybe I need to reduce them more? How about the schemes? I am already using upwind.

Pei
phsieh2005 is offline   Reply With Quote

Old   July 20, 2011, 09:35
Default
  #4
New Member
 
SamboReal
Join Date: Feb 2011
Posts: 9
Rep Power: 6
sambo is on a distinguished road
Hi phsieh2005,
non-orthongonality:Try to increase the number of Non orthoganl correctors more („nNonOrthogonalCorrectors“ in the SIMPLE loop of fvSolutiom).
You also can try to increase your tolerance of p, U,k,epsilon (or omega).
But I am worry that this is not helping.

I would recommend to post your current result and to check which region or element(s) is the problem.
Maybe you have some recirculation at the outlet. In that case you can change your outlet boundary condition to InletOutlet.
For example: If you have a high k value at one element, you have to do a new mesh.
sambo is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SnappyHexMesh for internal Flow vishwa OpenFOAM Native Meshers: snappyHexMesh and Others 23 August 6, 2014 03:50
Import netgen mesh to OpenFOAM hsieh Open Source Meshers: Gmsh, Netgen, CGNS, ... 32 September 13, 2011 05:50
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
snappyHexMesh aborting Tobi OpenFOAM Native Meshers: snappyHexMesh and Others 0 November 10, 2010 04:23
physical boundary error!! kris CD-adapco 2 August 3, 2005 00:32


All times are GMT -4. The time now is 13:36.