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

how to deal with bad quality cells?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2011, 16:53
Default how to deal with bad quality cells?
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 322
Rep Power: 13
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, 17:47
Default
  #2
New Member
 
SamboReal
Join Date: Feb 2011
Posts: 9
Rep Power: 11
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, 09:53
Default
  #3
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 322
Rep Power: 13
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, 10:35
Default
  #4
New Member
 
SamboReal
Join Date: Feb 2011
Posts: 9
Rep Power: 11
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 09:54
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 06:50
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
[snappyHexMesh] snappyHexMesh aborting Tobi OpenFOAM Meshing & Mesh Conversion 0 November 10, 2010 04:23
physical boundary error!! kris Siemens 2 August 3, 2005 01:32


All times are GMT -4. The time now is 16:51.