CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

CfMesh Stop Layer growth at symmetryPlane

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 22, 2015, 06:48
Default CfMesh Stop Layer growth at symmetryPlane
  #1
New Member
 
Join Date: Feb 2015
Posts: 18
Rep Power: 3
jojosaxo is on a distinguished road
Dear All,
I'm trying to mesh a ship hull with cfMesh. I tried to use snappyHexMesh but cfMesh seems to gives much better result when it comes to layer addition. My main issue was to get continious layers around corners. cfMesh seems to do that very well!
However, I'm only modeling a half-hull, but I don't want to have layers on the symmetry-plane. How can i have no layer on the symmetry plane without having some kind of triangular cells at the corner (see attached pictures)!

Many Thanks for your help!
Attached Images
File Type: png cornerHullSymp.png (9.9 KB, 24 views)
jojosaxo is offline   Reply With Quote

Old   May 26, 2015, 06:59
Default
  #2
Senior Member
 
Franjo Juretic
Join Date: Aug 2011
Location: Velika Gorica, Croatia
Posts: 106
Rep Power: 8
franjo_j is on a distinguished road
Send a message via Skype™ to franjo_j
Hello,

cartesianMesh generates at least on layer everywhere at the boundary, see generateBoundaryLayers function in cartesianMeshGenerator.C.
I suggest that you try tetMesh first and find out whether you get the topology you want. It only creates layers at specified locations. If that works for you, then you can copy the content of generateBoundaryLayers function in tetMeshGenerator.C and use it in cartesianMeshGenerator.C. However, this may come with a price of reduced mesh quality.
I hope this helps!
__________________
Principal Developer of cfMesh
www.cfmesh.com
Social media: LinkedIn, Twitter, YouTube, Google+, Facebook, Pinterest
franjo_j is offline   Reply With Quote

Old   May 26, 2015, 07:56
Default
  #3
New Member
 
Join Date: Feb 2015
Posts: 18
Rep Power: 3
jojosaxo is on a distinguished road
Thank you for your answer!
Unfortunately I can't use tetMesh since I absolutely need a high aspect ratio cells close to the free surface. By the way thanks to the anisotropic refinement tool you've set up I can create such kind of refinement.
About BL, I think I'll have to deal with that.

However about free surface refinement, I would like to have a continious layer at the free surface with high aspect ratio. Ideally the thickness (z size) of any cell at the far field should be the same as the thickness close to the hull (where x and y size are much smaller). Does anyone have any clue about that???
jojosaxo is offline   Reply With Quote

Reply

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
Prismatic boundary layer KateEisenhower enGrid 5 September 15, 2015 07:48
snappyHexMesh Boundary Layer at Corner panpanzhong OpenFOAM Native Meshers: snappyHexMesh and Others 4 October 27, 2014 05:31
Boundary layer in a pipe Clementhuon OpenFOAM Native Meshers: snappyHexMesh and Others 6 March 12, 2012 13:41
Boundary layer generation problems ivan_cozza OpenFOAM Native Meshers: snappyHexMesh and Others 0 October 6, 2010 13:47
errors Fahad Main CFD Forum 0 March 23, 2004 14:20


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