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

[blockMesh] How to make a cylinder mesh that the cells dense inside and sparse outside

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2024, 10:33
Default How to make a cylinder mesh that the cells dense inside and sparse outside
  #1
New Member
 
Huang, Ching-Chan
Join Date: Jan 2023
Posts: 16
Rep Power: 3
Allen_Huang is on a distinguished road
How to make a cylinder mesh that is Dense inside and sparse outside, I have try this video but there were some error when I used checkMesh. https://youtu.be/3v50ev75aDw?si=LvcrGvT77deIaMp1
Allen_Huang is offline   Reply With Quote

Old   April 12, 2024, 05:59
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 703
Rep Power: 13
AtoHM is on a distinguished road
If I understand your target correctly, you cannot do that with blockMesh alone. It is very basic with snappyHexMesh, though. Just create a big blockMesh (cube) with the spacing you want to have "on the outside" and then you can use a searchableCylinder source in snappyHexMesh (defined in the geometry section of the snappyHexMeshDict) and add a volumetric refinement for that region inside the refinementRegions section of the snappyHexMeshDict. This is a very basic thing and should be easily found in tutorials online.
AtoHM is offline   Reply With Quote

Reply

Tags
blockmesh, blockmesh cylinder, cylinder, negative


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



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