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

[snappyHexMesh] Free surface refinement

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 30, 2020, 07:14
Default Free surface refinement
  #1
MFS
New Member
 
Manuel Fraga Seoane
Join Date: Jan 2020
Posts: 9
Rep Power: 6
MFS is on a distinguished road
Hi Foamers,


I'm trying to make a mesh for a floating device sailing in the free surface. I have made meshes with Starccm+ before and I had no problem. Now, with OpenFoam I am having some problems refining the mesh to capture the free surface.


I have read some forums and I discovered that SnappyHexMesh can only carry out isotropic refinements. On the contrary, with topoSet and refineMesh it is possible to get anysotropic refinements.



Now you can have a look at the picture attached. First of all, I executed blockMesh. Then, I created a topoSet which included the free surface and refineMesh only in Z. Finally, I executed snappyHexMesh.



I am wondering if is there any possibility of keeping an homogeneous refinement in the Z axis in the whole cellSet selected with topoSet. I mean, I would like to have all this cellSet refined as level 5 in Z axis. Far away from the device, I prefer to have level 0 in X and Y axis (yes, I know that perhaps is too much aspect ratio) and when the mesh is getting nearer the device it becomes more refined in X and Y axis. So, this way I would have level 5 cells (in all axis) next to the device, in order to develop a reasonable prism layer. In short, I want to have a transition in the X and Y axis refinement from 0 to 5 but I would like to keep a 5 level refinement in Z axis.


Thank you in advance,


MFS
Attached Images
File Type: jpg FSrefinement.jpg (56.0 KB, 69 views)

Last edited by MFS; March 31, 2020 at 04:20.
MFS 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
[snappyHexMesh] snappyHexMesh sticking point natty_king OpenFOAM Meshing & Mesh Conversion 11 February 20, 2024 09:12
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 09:42
[snappyHexMesh] Bad meshing result on corrugated metal sheet UebertreibeR OpenFOAM Meshing & Mesh Conversion 1 August 19, 2016 04:55
[snappyHexMesh] Layers don't fully surround surface EVBUCF OpenFOAM Meshing & Mesh Conversion 14 August 20, 2012 04:31
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


All times are GMT -4. The time now is 18:32.