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

[snappyHexMesh] cellSet (or cellZone) refinement by snappyHexMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2024, 12:44
Default cellSet (or cellZone) refinement by snappyHexMesh
  #1
New Member
 
Jacob Child
Join Date: May 2024
Posts: 3
Rep Power: 2
JacobTheWindWrangler is on a distinguished road
Hello all!
Second post here, feel free to correct any forum/thread things I don't do correctly.

Problem: I have an external mesh. I have created a cellSet using a topoSetDict and topoSet, and I want to refine it using snappyHexMesh (I thought this was done in the snap step, but is it castellation? I tried both). However, snappy doesn't seem to see it or refine it.

Information: I called the cellSet GeneralRefine and also converted it to a cellZone as well. Under refinementRegions I put:
Code:
GeneralRefine
       {
        levels ((2 2));
        mode inside;
       }
I also tried the following based off of cannot find MRF cellZone

Code:
GeneralRefine
       {
        levels (2 2);
        cellZones GeneralRefine;
        cellZoneInside inside;
       }
neither option caused any refinement, and I am wondering if this is possible?

More in depth: The mesh is generated outside of snappy. I want to do some local refinement based off of a field function, so I created a cellSet and then originally ran refineMesh on that cellSet. This worked, but led to some unintented consequences such as large jumps between sizes. In snappy you can specify the number of cells between levels, so I was hopeful of creating the cellSet and then using snappy to refine it by just running the snap stage. Just in case I also ran the castellation stage, but it also didn't do anything. Could I create the cellSet in snappy based off of a field?
JacobTheWindWrangler is offline   Reply With Quote

Reply

Tags
cellsets, cellzones, refinemesh, snappyhexmesh


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 running killed! Mark JIN OpenFOAM Meshing & Mesh Conversion 7 June 14, 2022 02:37
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 18:16
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 10:42
[snappyHexMesh] snappyHexMesh aborting Tobi OpenFOAM Meshing & Mesh Conversion 0 November 10, 2010 04:23


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