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

[snappyHexMesh] Combining SHM with cellSet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 19, 2015, 22:00
Default Combining SHM with cellSet
  #1
New Member
 
Cristina Moreira
Join Date: Jan 2015
Location: Portugal
Posts: 28
Rep Power: 11
CrisMoreira is on a distinguished road
Hello,

I want to, from an basic mesh, create 3 blocks of refinement. These 3 blocks are strategical areas from whom i need a better refinement. My ideia is to refine without using a Mesh too heavy.

So i tried to apply an tutorial (greenwater) but as it was only for one area i'm now experience some trouble creating the same concept for 3 diferent areas of my mesh.

I'm not familiar with these kind of things, so i'm really struggling with OF.

As explained on the tutorial,
i created an empty file named SetRefin and within:

Code:
cellSet refin new boxToCell (xmin ymin zmin) (xmax ymax zmax)
and created within it 3 lines (as describe above) but using paraFoam i saw that what i was doing only created 1area even with the 3lines of code inside SetRefin.

Can anyone, please, help me create 3 different zones of refinement?

this is what i want to do:

blockMesh
setSet -batch setRefin
refineMesh -dict system -overwrite
surfaceFeatureExtract
snappyHexMesh -overwrite

Areas to refine:

(4.50 0.00 0.00) (7.00 0.40 0.49)
(0.00 0.00 0.32) (10.0 0.40 0.48)
(8.30 0.00 0.00) (9.95 0.40 0.70)

I already have the SHM ready and the .stl file, just need this to work.

Best regards

Cristina

Edit: The problem was solved using "new" on the first line and "add" on the other 2.

Last edited by CrisMoreira; July 10, 2015 at 12:55.
CrisMoreira 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] MultiRegion(Snappy): how to define new zones Cartuns11 OpenFOAM Meshing & Mesh Conversion 6 May 3, 2019 12:02
cellSet volume in fvOptions pablo_fil OpenFOAM Running, Solving & CFD 6 April 21, 2017 04:47
irregular model simulation with chtMultiregionFoam lg88 OpenFOAM 59 July 28, 2016 11:44
[snappyHexMesh] Obtain a cellSet according to sHM refinement level gianlu.it OpenFOAM Meshing & Mesh Conversion 0 April 23, 2016 17:32
Creating a cellSet fom yPlus buffi OpenFOAM Post-Processing 0 December 17, 2012 04:19


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