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

[snappyHexMesh] snappy extrude snappy

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Ship Designer

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 11, 2022, 03:18
Default snappy extrude snappy
  #1
Member
 
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, 21:48
Default
  #2
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

Reply

Tags
snappyhesmesh


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 14:44
Can't use the Extrude Translation lamagavoragine Pointwise & Gridgen 3 March 12, 2019 00:05
Error while running pisoFoam with snappy but ran smoothly without snappy in empty dm faiazk OpenFOAM Running, Solving & CFD 0 October 24, 2018 14:51
[Gmsh] 3D mesh using transfinite surface + extrude with layer? CFD-Lover OpenFOAM Meshing & Mesh Conversion 0 July 5, 2016 03:26
[Gmsh] Cannot get the right mesh from gmsh JinBiao OpenFOAM Meshing & Mesh Conversion 2 August 31, 2010 05:51


All times are GMT -4. The time now is 10:56.