CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Native Meshers: snappyHexMesh and Others (http://www.cfd-online.com/Forums/openfoam-meshing-snappyhexmesh/)
-   -   Snappy: cell normal orientation on open surface (http://www.cfd-online.com/Forums/openfoam-meshing-snappyhexmesh/86236-snappy-cell-normal-orientation-open-surface.html)

Nolwenn March 17, 2011 10:34

Snappy: cell normal orientation on open surface
 
Hello everybody,

When i use snappyHexMesh on a surface which isn't a closed one I have a problem with cell normals orientation: it isn't uniform on the surface (kind of random between 1 or -1). Normals are well oriented on my .stl file.

Do you know a way to harmonize cell normals orientation after meshing ?

Or maybe SnappyHexMesh isn't confortable with open surface?

andrea.pasquali August 25, 2011 16:39

Hi Nolwenn,
I have the same problem, I'd like to have uniform cellNormal in some faceZones inside my volume.
I tried renumberMesh but without complete success.
Did you found a solution for your problem?

Andrea

Nolwenn August 26, 2011 03:08

Hello Andrea,

No, for the moment I didn't make any progress with this.
Can you tell me if you find something interesting ?

Cheers

Nolwenn

andrea.pasquali August 26, 2011 03:16

1 Attachment(s)
You can see my problem in attached picture,
I'd like to calculate the mass flow rater throgh a faceZone.
The problem is the cellNormal in Z direction are random! (In my starting .stl the normals are uniform).
So if I calculate the mass flow rate with OF function sum(phi) I got error.
I'm thinking to calculate it like sum(phi*sign(normal)).
Do you know if the normal is exportable like a field? I can see it in paraview but I don't see anything in my time or constant directory (I think paraview elaborate it depending on nodes numbering)

Andrea

StSchiff June 29, 2012 06:20

Hi,
I have the same problem. Did you ever find out how to reset the surface normals?
Regards
Stefanie

Nolwenn July 5, 2012 04:40

Hi,
Nothing new ... I extract the values from neighbours cells during post processing.

Nolwenn


All times are GMT -4. The time now is 09:35.