CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[cfMesh] CfMesh Stop Layer growth at symmetryPlane

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 22, 2015, 07:48
Default CfMesh Stop Layer growth at symmetryPlane
  #1
New Member
 
Join Date: Feb 2015
Posts: 18
Rep Power: 11
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, 123 views)
jojosaxo is offline   Reply With Quote

Old   May 26, 2015, 07:59
Default
  #2
Senior Member
 
Franjo Juretic
Join Date: Aug 2011
Location: Velika Gorica, Croatia
Posts: 124
Rep Power: 16
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 and CF-MESH+
www.cfmesh.com
Social media: LinkedIn, Twitter, YouTube, Facebook, Pinterest, Instagram
franjo_j is offline   Reply With Quote

Old   May 26, 2015, 08:56
Default
  #3
New Member
 
Join Date: Feb 2015
Posts: 18
Rep Power: 11
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

Old   November 6, 2020, 04:16
Default
  #4
New Member
 
Massimiliano Tarrini
Join Date: Jul 2009
Location: PISA Italy
Posts: 22
Rep Power: 16
massimiliano.tarrini is on a distinguished road
Send a message via Skype™ to massimiliano.tarrini
Quote:
Originally Posted by franjo_j View Post
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!
is it then necessary to recompile?
massimiliano.tarrini is offline   Reply With Quote

Old   November 6, 2020, 05:27
Default
  #5
New Member
 
Massimiliano Tarrini
Join Date: Jul 2009
Location: PISA Italy
Posts: 22
Rep Power: 16
massimiliano.tarrini is on a distinguished road
Send a message via Skype™ to massimiliano.tarrini
Quote:
Originally Posted by jojosaxo View Post
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!
Hi! I am facing the same problem. BL spreads out to the mirror plane.
I tried to use by comparison ASMOctree adding layers and you know what is funny?
the BL is nicely mapped on thebody and it ends normal to the mirror plane... did you manage to solve?
regs
max
massimiliano.tarrini is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
y+ = 1 boundary layer mesh with snappyHexMesh Arzed23 OpenFOAM Running, Solving & CFD 6 November 23, 2022 16:15
[snappyHexMesh] Help with Snappy: no layers growing GianF OpenFOAM Meshing & Mesh Conversion 2 September 23, 2020 09:26
[snappyHexMesh] snappyHexMesh Boundary Layer at Corner panpanzhong OpenFOAM Meshing & Mesh Conversion 5 July 3, 2018 06:53
[snappyHexMesh] Boundary layer generation problems ivan_cozza OpenFOAM Meshing & Mesh Conversion 0 October 6, 2010 14:47
errors Fahad Main CFD Forum 0 March 23, 2004 14:20


All times are GMT -4. The time now is 11:01.