|
[Sponsors] |
[snappyHexMesh] Create Cylinder (HOLLOW NO MESH OR CAVITY) inside a Cuboid |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 5, 2017, 11:25 |
Create Cylinder (HOLLOW NO MESH OR CAVITY) inside a Cuboid
|
#1 |
Senior Member
sandy
Join Date: Feb 2016
Location: .
Posts: 117
Rep Power: 10 |
hello foamers
i have an interesting problem to discuss with you all. 1. i am having a cuboid of 10 cmx 10 cmx 10cm...which i can easily make in blockmesh. 2. i have to create a cylinder which lies entirely inside the cuboid close to the bottom. its dia is 1 cm and length 6 cm so it lies inside the cuboid. 3.i have to give boundary condition to this cylinder surface. so its a wall here how do i delete the mesh of this cylinder, the cylinder is not supposed to have mesh inside how do i define a patch of cylindrical surface, so i can give bc in 0 folder the issue is: i cannot do so using blockmesh which is very tiring and prone to mistakes i am trying to use cell set by deleting the cells using cylinder to cell and define a patch using cylinder to cell but i don't know exactly how to write this procedure using toposet dict please help me foamers i really need to get this done |
|
August 6, 2017, 07:10 |
|
#2 |
Senior Member
sandy
Join Date: Feb 2016
Location: .
Posts: 117
Rep Power: 10 |
i'm so glad i did it...
however i ran into another minute issue when i create the cylinder the mesh around it is irregular and nott a perfect circle. how ca i smooth these faces to get the smooth circle...not exactly..but how can i improve this?? collapse edges or what?? image is attached here |
|
August 6, 2017, 15:08 |
|
#3 |
Senior Member
sandy
Join Date: Feb 2016
Location: .
Posts: 117
Rep Power: 10 |
i tried more refinement but still the circumference of circle contues to be irregular
my conclusion is: it can't be done using refinement or toposet or blockmesh only way is use .stl file of cylinder inside a cuboid next use snapphexmesh to get the job done will keept his thread updated |
|
August 7, 2017, 22:19 |
|
#4 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
If you know there is going to be cylinder in your geometry, then you can use blockMesh to create a mesh that has a cylinder. That way you can avoid the issue with irregular cells. Cheers, Antimony |
|
August 8, 2017, 11:15 |
|
#5 | |
Senior Member
sandy
Join Date: Feb 2016
Location: .
Posts: 117
Rep Power: 10 |
Quote:
i am thinking about using snappy hex mesh using .stl file if u have any simple beginner tutorials using a cylinder, could you point me in that direction??? |
||
August 8, 2023, 08:10 |
|
#6 |
New Member
Atefeh T
Join Date: Jan 2023
Posts: 6
Rep Power: 3 |
Hi, can you please explain how did you extract the mesh inside the cylinder from your general mesh?
|
|
Tags |
cellsets, cylinder domain, mesh manipulation, toposetdict |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
OpenFoam "Permission denied" and "command not found" problems. | iyidaniel@yahoo.co.uk | OpenFOAM Running, Solving & CFD | 11 | January 2, 2018 07:47 |
Mesh type in rotating blade inside cylinder | Mah.tavana | Mesh Generation & Pre-Processing | 0 | July 26, 2014 07:53 |
[ANSYS Meshing] Meshing Strategy for inside geometry | powpow | ANSYS Meshing & Geometry | 6 | January 16, 2013 05:32 |
How do I create a simple cylinder with a mesh | s_lab | FLUENT | 1 | January 27, 2011 03:08 |