CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

Snappy: cell normal orientation on open surface

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 17, 2011, 11:34
Default Snappy: cell normal orientation on open surface
  #1
New Member
 
Nolwenn
Join Date: Apr 2010
Posts: 23
Rep Power: 6
Nolwenn is on a distinguished road
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?
Nolwenn is offline   Reply With Quote

Old   August 25, 2011, 17:39
Default
  #2
Senior Member
 
Andrea Pasquali
Join Date: Sep 2009
Location: Germany
Posts: 138
Rep Power: 7
andrea.pasquali is on a distinguished road
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
__________________
Andrea Pasquali
andrea.pasquali is offline   Reply With Quote

Old   August 26, 2011, 04:08
Default
  #3
New Member
 
Nolwenn
Join Date: Apr 2010
Posts: 23
Rep Power: 6
Nolwenn is on a distinguished road
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
Nolwenn is offline   Reply With Quote

Old   August 26, 2011, 04:16
Default
  #4
Senior Member
 
Andrea Pasquali
Join Date: Sep 2009
Location: Germany
Posts: 138
Rep Power: 7
andrea.pasquali is on a distinguished road
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
Attached Images
File Type: jpg faceZone.jpg (69.5 KB, 42 views)
__________________
Andrea Pasquali
andrea.pasquali is offline   Reply With Quote

Old   June 29, 2012, 07:20
Default
  #5
New Member
 
Stefanie Schiffer
Join Date: Mar 2010
Location: Cologne, Germany
Posts: 26
Rep Power: 6
StSchiff is on a distinguished road
Hi,
I have the same problem. Did you ever find out how to reset the surface normals?
Regards
Stefanie
StSchiff is offline   Reply With Quote

Old   July 5, 2012, 05:40
Default
  #6
New Member
 
Nolwenn
Join Date: Apr 2010
Posts: 23
Rep Power: 6
Nolwenn is on a distinguished road
Hi,
Nothing new ... I extract the values from neighbours cells during post processing.

Nolwenn
Nolwenn is offline   Reply With Quote

Reply

Tags
cell normals, snappyhexmesh

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
Macro existing for calculating a cell surface? maximeg OpenFOAM Post-Processing 7 July 13, 2010 14:30
OpenFOAM with IBM AIX matthias OpenFOAM Installation 20 March 25, 2008 04:36
Problem with Gmsh nishant_hull Open Source Meshers: Gmsh, Netgen, CGNS, ... 17 December 7, 2007 02:33
How can estimate the normal size of near wall cell Emanuele FLUENT 0 November 13, 2005 17:25
Warning 097- AB CD-adapco 6 November 15, 2004 05:41


All times are GMT -4. The time now is 12:39.