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

[Commercial meshers] Severe skewness Where

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By dmoroian
  • 1 Post By mprinkey
  • 1 Post By eugene

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 31, 2006, 07:46
Default Severe skewness Where
  #1
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
Hi, I have imported a mesh with fluentMeshToFoam. When I check the imported mesh I get:
...
--> FOAM Warning :
From function primitiveMesh::checkFaceSkewness(const bool report, labelHashSet* setPtr) const
in file meshes/primitiveMesh/primitiveMeshCheck.C at line 838
Large face skewness detected. Max skewness = 333.553 percent.
This may impair the quality of the result.
98 highly skew faces detected.
Writing 98 skew faces to set skewFaces
...

If I take a look at those faces, in paraview, they look quite good to me:


My question is: if these faces are bad, can I skip them from the computation some how, because I cannot regenerate the mesh, and they are so few?

Dragos
ynos likes this.
dmoroian is offline   Reply With Quote

Old   October 31, 2006, 07:59
Default It is not the faces themsevles
  #2
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
It is not the faces themsevles, but the connection between the cells (or the cell and the boundary) that is "skew".

You should still be able to run despite the warning. Just keep in mind that interpolations and gradient calculations on these faces will be in error. Exactly how wrong will depend on local flow conditions, but in general I wouldn't worry too much about skewness, no one else seems to.

On the other hand, if the skewness on interior faces goes past 1000% then you might have more serious problems.
eugene is offline   Reply With Quote

Old   October 31, 2006, 08:07
Default Beyond accuracy, skewness can
  #3
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
Beyond accuracy, skewness can seriously effect convergence as well. Bad skewness remove most of the implicitness of the operator computations in those cells (i.e., less goes into the matrix and more goes into the RHS). Depending on the type of solver you are using, this more explicit nature of the operator calculations can lead to slow/erratic convergence or complete instability of the solution.

Of course, if the skewed cells are away from areas of significant flow gradients, this is not going to be much of a problem.
fumiya likes this.
mprinkey is offline   Reply With Quote

Old   October 31, 2006, 08:09
Default Thank you Eugene, Though, whe
  #4
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
Thank you Eugene,
Though, when I check the mesh with (Gambit, Tgrid, Fluent), the skewness is below 0.87. How it becomes more than 3 (333%) in OpenFOAM? Probably, the definition of skewness is different in Tgrid than in OpenFOAM.
Bottom line, if you say that below 1000% it will work, I will no longer worry about it.

But do you know how to run computations only on a certain range of cells and not all of them?

Dragos
dmoroian is offline   Reply With Quote

Old   October 31, 2006, 08:44
Default Michael: Stability is only an
  #5
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
Michael: Stability is only an issue if you actually do skewness correction. While ommitting skewness correction reduces the formal accuracy, it tends to cause convergence problems as you say. In my experience it is generally a better idea to just leave out skewness correction, since a large skewness error will also lead to a higher likelyhood of instablity if the correction is applied. (By default most OpenFOAM fvSchemes dictionaries do not apply skewLinear interpolation.)

Dragos: You could delete the cells connected to these faces using setSet/cellSet and subsetMesh. There is no functionality to just disable cells, you have to remove them from the mesh. I don't think it is necessary with this mesh though.
Yemi2favours likes this.
eugene is offline   Reply With Quote

Old   July 3, 2009, 09:44
Default
  #6
Member
 
Jagmohan Meena
Join Date: May 2009
Posts: 30
Rep Power: 16
jmmeena is on a distinguished road
Hi,

Can anybody please tell me why definition of skewness is different from gambit and fluent ? If not why then please tell me relation between gambit skewness and OpenFOAM skewness. for gambit, I know formulas by which it finds cell skewness. I am looking for same kind of formulas for OpenFOAM. Thank you very much.

JM
jmmeena is offline   Reply With Quote

Old   June 1, 2011, 18:38
Default
  #7
Member
 
Join Date: Oct 2010
Location: Germany
Posts: 39
Rep Power: 15
Ivanet is on a distinguished road
Quote:
Originally Posted by eugene View Post
Dragos: You could delete the cells connected to these faces using setSet/cellSet and subsetMesh.
Hi Eugene,
could you explain in more detail how to use setSet/cellSet and subsetMesh with that scope?
Thanks a lot in advance
Ivan
Ivanet is offline   Reply With Quote

Old   August 21, 2014, 06:46
Default
  #8
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Tampa, US
Posts: 308
Rep Power: 15
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
Quote:
Originally Posted by jmmeena View Post
Hi,

Can anybody please tell me why definition of skewness is different from gambit and fluent ? If not why then please tell me relation between gambit skewness and OpenFOAM skewness. for gambit, I know formulas by which it finds cell skewness. I am looking for same kind of formulas for OpenFOAM. Thank you very much.

JM
Hi, Sorry to bring up the old thread, But does anybody has any idea about this?

I cannot find the source which calculates Skewness in OpenFOAM. Couldn't find it in checkMesh.

Thank you.
__________________
Learn OpenFOAM in Persian
SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"
Mojtaba.a 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
[ANSYS Meshing] Difference between average skewness and maximum skewness ParasuRam ANSYS Meshing & Geometry 4 February 15, 2018 06:22
[snappyHexMesh] sHM layer process keeps getting killed MBttR OpenFOAM Meshing & Mesh Conversion 4 August 15, 2016 03:21
[ICEM] High Skewness m5edr ANSYS Meshing & Geometry 5 June 28, 2013 03:01
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 05:50
Severe nonorthogonality and severe skewness problem qtian OpenFOAM Running, Solving & CFD 2 January 22, 2008 18:47


All times are GMT -4. The time now is 21:08.