CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Mesh Generation & Pre-Processing Software > enGrid

surface orientation airfoil/domain always misaligned

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 16, 2015, 09:23
Default surface orientation airfoil/domain always misaligned
  #1
Senior Member
 
Klaus
Join Date: Mar 2009
Posts: 250
Rep Power: 22
klausb will become famous soon enough
Hello,

I've created a flow domain including an airfoil to do a quasi 2D flow simulation (as I couldn't figure out whether there's a way to create a 2D mesh with boundary layer cells which is then extruded into 3D - just one layer thick).

My problem is, that the surface orientation is always wrong. Either the airfoil is correct OR the domain is correct but I am not able to change the surface orientation of just one of them to align them as needed for meshing.

I need a volume mesh between the outside of the airfoil and the inside of the domain of course. As you can see on the picture, the back (inside of the flow domain) has the wrong surface orientation.

How can I change the surface orientation of individual elements (airfoil or domain)?

Klaus
Attached Images
File Type: png wrong_surface_orientation.png (17.6 KB, 46 views)
klausb is offline   Reply With Quote

Old   April 4, 2015, 07:46
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Klaus,

According to this tutorial: https://github.com/enGits/engrid/wik...ing_Geometries - section "Importing Geometries":
Quote:
Individual flipped faces can be repaired by clicking Correct surface orientation. However, for elegance’s sake surface orientation should be checked from the very start in Blender.
Best regards,
Bruno

Last edited by wyldckat; April 4, 2015 at 16:27. Reason: fixed link
wyldckat is offline   Reply With Quote

Old   April 4, 2015, 15:08
Default not always...
  #3
Senior Member
 
Klaus
Join Date: Mar 2009
Posts: 250
Rep Power: 22
klausb will become famous soon enough
thank you for your feedback, but I didn't use Blender and "Correct surface orientation" changes the surface orientation of all faces so I end up with the same problem the other way around.

Klaus
klausb is offline   Reply With Quote

Old   April 4, 2015, 16:30
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Klaus,

Mmm... if the surfaces are already roughly consistent in the orientation, you should be able to control which side the volume mesh should be generated, as explained near the end of the section "Setting Up the Boundary Conditions": https://github.com/enGits/engrid/wik...ary_Conditions

There is also a utility in OpenFOAM named surfaceOrient. You can check how it's used by running:
Code:
surfaceOrient -help
If this doesn't work either... I don't have an STL file handy to test this with If you could provide one, I or anyone else could have a look into this.

Best regards,
Bruno
taxalian likes this.
wyldckat is offline   Reply With Quote

Old   April 6, 2015, 07:18
Default
  #5
Senior Member
 
Join Date: Nov 2010
Posts: 139
Rep Power: 15
taxalian is on a distinguished road
Send a message via Skype™ to taxalian
Quote:
Originally Posted by klausb View Post
thank you for your feedback, but I didn't use Blender and "Correct surface orientation" changes the surface orientation of all faces so I end up with the same problem the other way around.

Klaus
Hi Klaus,

I agree with Bruno's suggestion and in addition you can also try this option from Jens Höpken's blog, which can be quite helpful:

http://www.sourceflux.de/blog/preparing-geometry/

Another way around could be to correct the surface orientation of your "airfoil.stl" file and then later on merge it with your bounding box defining the computational domain extent.

Good luck,
Taxalian
taxalian is offline   Reply With Quote

Old   March 22, 2016, 07:51
Default
  #6
Member
 
thomas
Join Date: Jul 2014
Posts: 50
Rep Power: 11
thomas. is on a distinguished road
Hi,

one quick question: does it make a difference on which direction the normal vectors are pointing, whether it´s an external or an internal flow? Or does it only matter that the direction of all vectors is consistent (all out, all in)?

Thanks in advance!
thomas. is offline   Reply With Quote

Old   March 26, 2016, 05:57
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by thomas. View Post
one quick question: does it make a difference on which direction the normal vectors are pointing, whether it´s an external or an internal flow? Or does it only matter that the direction of all vectors is consistent (all out, all in)?
Quick answer: Yes, it has to be consistent, at least along a particular surface. See Figure 10 on this wiki page for more details on how you can later assign the boundary conditions depending on the orientation: https://github.com/enGits/engrid/wik...and-enGrid-1.2
wyldckat is offline   Reply With Quote

Old   March 29, 2016, 02:34
Default
  #8
Member
 
thomas
Join Date: Jul 2014
Posts: 50
Rep Power: 11
thomas. is on a distinguished road
Hi,

thanks!
thomas. 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
[Gmsh] Problem with Gmsh nishant_hull OpenFOAM Meshing & Mesh Conversion 23 August 5, 2015 02:09
Recover surface from surface mesh in IcemCFD Jerry Tanner CFX 0 August 20, 2008 12:48
solid edge problem....can you help? cindy Main CFD Forum 3 April 5, 2004 13:43
Patran Volume Meshing Deb CFX 19 April 17, 2003 10:56
free convection heat transfer from a heated horizontal surface through a liquid to a thin cooled fin Kaushik FLUENT 1 May 8, 2000 06:47


All times are GMT -4. The time now is 17:22.