CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] Adding layers refinement moves regions - snappyHexMesh

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

Like Tree1Likes
  • 1 Post By AtoHM

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2022, 06:12
Default Adding layers refinement moves regions - snappyHexMesh
  #1
New Member
 
Join Date: May 2022
Posts: 2
Rep Power: 0
genus is on a distinguished road
Hi to all!

I'm working with snappyHexMesh (OpenFOAM v1812) and I would like to generate a mesh for a ALM simulation of a wind turbine.

I have subdivided my domain, which is a box, in regions, which are cylinders. I would like to add layers on the bottom of my domanin which should be the same for all the bottom region of the box. The problem is that each time I generate the grid with the addlayerscontrols it moves in vertical direction the regions (which have to be centered in the origin) by lenght equal to the total height of the added layers.

Any ideas?
Attached Images
File Type: jpg alm.jpg (197.6 KB, 11 views)
Attached Files
File Type: txt blockMeshDict.txt (2.1 KB, 2 views)
File Type: txt snappyHexMeshDict.txt (12.3 KB, 0 views)
genus is offline   Reply With Quote

Old   June 15, 2022, 11:07
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 640
Rep Power: 12
AtoHM is on a distinguished road
This is how most (I dont know of any exception, but maybe there is?) meshers insert boundary layers. They generate an initial mesh, push inside the outer cells to insert the BL.
If you want to avoid that, in your simple case you could try to define the layers already in blockMesh.
genus likes this.
AtoHM is offline   Reply With Quote

Old   June 15, 2022, 11:14
Default
  #3
New Member
 
Join Date: May 2022
Posts: 2
Rep Power: 0
genus is on a distinguished road
Already done that but thanks anyway. Does not looks as the most elegant solution but seems working.
genus is offline   Reply With Quote

Reply

Tags
1812, addlayercontrols, mesh, openfoam, snappyhexmesh

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
[snappyHexMesh] snappyHexMesh can't create refimenet region clktp OpenFOAM Meshing & Mesh Conversion 3 February 27, 2022 10:26
[snappyHexMesh] SnappyHexMesh with local refinement of ONE STLfile wolle1982 OpenFOAM Meshing & Mesh Conversion 31 May 14, 2020 11:57
[snappyHexMesh] snappyHexMesh fails adding layers biscarri OpenFOAM Meshing & Mesh Conversion 13 March 21, 2020 13:40
SimpleFoam & Theater jipai OpenFOAM Running, Solving & CFD 3 June 18, 2019 11:11
[snappyHexMesh] snappyHexMesh ignores refinement regions kilroy OpenFOAM Meshing & Mesh Conversion 2 June 10, 2013 15:02


All times are GMT -4. The time now is 00:51.