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

[Technical] high orthogonality without apparent cause

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 18, 2019, 11:53
Default high orthogonality without apparent cause
  #1
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
louisgag is on a distinguished road
Send a message via ICQ to louisgag
Hi all,

I'm working on a mesh generated with pointwise, but I am excluding the conversion process from my suspicion because I get the same nonOrthogonality values when I examine the mesh directly in pointwise.

My question is: can someone enlighten me as to why on the sharp corner of my 2D mesh shown in the figures is my nonOrtho so high? I read the code cellQuality.C and it seems clear that the intended "angle between cell centers vector and shared face normal" is respected by the projection done there. I'm using OpenFOAM-v1812, but I get the same values with other versions as well...


If I look at my first vertical cell on the right boundary layer cell, it has a nonOrtho of roughly 60°, but none of the "nonOrtho" angles with its 3 neighbors, from visual inspection, seem to go beyond 20°... What I am not understanding correctly?


I initially suspected numerical accuracy (the cell size on the wall is approx. 1e-6*1e-3), but my write format is double precision (16 digits) (and binary), and pointwise does report the same nonOrtho values before any exporting. I also modified cellQuality.C to make both concerned vectors unit-vectors before doing the dot product and taking the inverse sine, but the result stays the same.


The figures are 1. corner with cell centers highlighted; 2: zoom on the corner where nonOrtho goes to roughly 60°; 3: zoom on the face below the corner cell; 4: zoom on the center of the corner cell.



There must be a really simple explanation, can someone open my eyes?


Kind regards,
Attached Images
File Type: png corner.png (12.4 KB, 19 views)
File Type: png cornerZoom.png (5.3 KB, 17 views)
File Type: png lowerFaceZoom.png (3.5 KB, 16 views)
File Type: png rightFaceZoom.png (1.6 KB, 14 views)
louisgag is offline   Reply With Quote

Old   October 3, 2019, 08:00
Default
  #2
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
louisgag is on a distinguished road
Send a message via ICQ to louisgag
Short update:


I did not find the explanation for the apparent discrepancy between displayed mesh and the nonOrthogonality calculation but I did fix it by using a different extrusion method in pointwise (which yields an extremely similar mesh in the first points).
louisgag 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
BC for Actuator Disk - Flow Vel from High Pressure to Low Pressure vinguva OpenFOAM Running, Solving & CFD 2 March 7, 2016 23:46
High Lift Airfoils At High Angles Of Attack Luiz Pancini FLUENT 2 April 9, 2015 08:01
flow with high turbulent viscosity ratio Phillips Main CFD Forum 2 August 25, 2008 18:01
flow with high turbulent viscosity ratio Phillips FLUENT 0 August 24, 2008 18:01
whether DEM or Eulerian approach for high solidup CFDUSERIN Main CFD Forum 0 April 19, 2007 05:35


All times are GMT -4. The time now is 07:46.