CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] snappy extrude snappy

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

Like Tree1Likes
  • 1 Post By Ship Designer

LinkBack Thread Tools Search this Thread Display Modes
Old   February 11, 2022, 02:18
Default snappy extrude snappy
Join Date: Mar 2018
Posts: 33
Rep Power: 8
ghastbug is on a distinguished road
Snappy has 3 phases: refinement, snapping, layering. Can we use extrudemesh right after the refinement phase, and then proceed to snap and add layers?.

I think it would be great for 2D meshes. Mine at least take very long to snap, so if the snapping subdictionary can snap extruded stuff, it would run faster
ghastbug is offline   Reply With Quote

Old   February 11, 2022, 20:48
Senior Member
Claudio Boezio
Join Date: May 2020
Location: Europe
Posts: 137
Rep Power: 7
Ship Designer is on a distinguished road
In theory it should be possible. You would run snappyHexMesh the first time with only castellation true, then extrude the grid with extrudeMesh and finally run sHM again with castellation set to false and snap and addlayers to true. If you don't use the -overwrite option, you'll have to pay attention to move/copy the latest grid edit from any time folder to constant/, so that any subsequent utilities work on the correct polymesh.

In extrudeMeshDict I believe you'd have to specify constructFrom mesh in order to retain the cell refinement in direction of the extrusion. Otherwise only the patch will be extruded and on each cell layer there would be only 1 cell, thus loosing cell refinement in that direction previously done by sHM.
ghastbug likes this.
Ship Designer is offline   Reply With Quote



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
[GMSH] extrude rotation from arbitrary OpenCASCADE center crubio.abujas Mesh Generation & Pre-Processing 0 February 2, 2022 13:44
Can't use the Extrude Translation lamagavoragine Pointwise & Gridgen 3 March 11, 2019 23:05
Error while running pisoFoam with snappy but ran smoothly without snappy in empty dm faiazk OpenFOAM Running, Solving & CFD 0 October 24, 2018 13:51
[Gmsh] 3D mesh using transfinite surface + extrude with layer? CFD-Lover OpenFOAM Meshing & Mesh Conversion 0 July 5, 2016 02:26
[Gmsh] Cannot get the right mesh from gmsh JinBiao OpenFOAM Meshing & Mesh Conversion 2 August 31, 2010 04:51

All times are GMT -4. The time now is 23:42.