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

[snappyHexMesh] SnappyHexMesh for adding circle inlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2019, 23:37
Default SnappyHexMesh for adding circle inlet
  #1
New Member
 
Kyriakos Paso
Join Date: Nov 2018
Posts: 20
Rep Power: 7
KyriakosPaso is on a distinguished road
Hello.

I have the geometry that is shown in the image below, and I need to add 4 circle inlets at the upper side of the cylinder. I have tried to use topoSet and createPatch utilities, but the result is not satisfying, due to the fact that in this mesh is impossible to create a circle.
I have read in previous threads, that snappyHexMesh utility could be appropriate for my problem, but i don't know how it could help me? What .stl should I use, cylinders?
Does anyone have any idea that could help me?

Thank you in advance!
Attached Images
File Type: jpg 51206932_1939040462811229_1275442271428280320_n.jpg (114.6 KB, 69 views)
KyriakosPaso is offline   Reply With Quote

Old   February 1, 2019, 17:21
Default
  #2
Member
 
Luis Eduardo
Join Date: Jan 2011
Posts: 85
Rep Power: 15
lebc is on a distinguished road
Hi,

You can use SnappyHexMesh to refine the mesh in the region you want to use topoSet.

There are two tutorials that can help you:

https://github.com/OpenFOAM/OpenFOAM...Foam/rotorDisk

https://github.com/OpenFOAM/OpenFOAM.../turbineSiting

In the second one you can use searchableCylinder instead of searchableBox. Give it a try! =)

Best Regards,
Luis
lebc is offline   Reply With Quote

Old   February 2, 2019, 20:59
Default
  #3
New Member
 
Kyriakos Paso
Join Date: Nov 2018
Posts: 20
Rep Power: 7
KyriakosPaso is on a distinguished road
I'll try it!
Thanks a lot lbec!!

Last edited by KyriakosPaso; February 4, 2019 at 01:09.
KyriakosPaso is offline   Reply With Quote

Old   February 4, 2019, 01:09
Default
  #4
New Member
 
Kyriakos Paso
Join Date: Nov 2018
Posts: 20
Rep Power: 7
KyriakosPaso is on a distinguished road
I have a question. When i define a searchableCylinder in my mesh, and set refineRegions on level 6, shouldn't it be created a cylindrical mesh inside my mesh?
I tried it and i saw no difference in my mesh!
KyriakosPaso is offline   Reply With Quote

Old   February 4, 2019, 01:25
Default
  #5
Member
 
Luis Eduardo
Join Date: Jan 2011
Posts: 85
Rep Power: 15
lebc is on a distinguished road
What searchableCylinder does is to find the cells inside this region and apply the refinement level you choose, but you may get different results depending on how you define the cylinder.
Try using a big cylinder to see if you have any refinement, maybe you are defining a small or thin cylinder in a very coarse mesh, which can not work depending on the case.
lebc is offline   Reply With Quote

Old   February 4, 2019, 12:39
Default
  #6
New Member
 
Kyriakos Paso
Join Date: Nov 2018
Posts: 20
Rep Power: 7
KyriakosPaso is on a distinguished road
May you have some time to examine my blockMeshDict and my snappyHexMeshDIct, because I tried it also for big cylinders but I found no progress.
KyriakosPaso is offline   Reply With Quote

Old   February 4, 2019, 22:37
Default
  #7
Member
 
Luis Eduardo
Join Date: Jan 2011
Posts: 85
Rep Power: 15
lebc is on a distinguished road
Sure, just send me your case folder and I can try here.
lebc 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
setting the correct format of nonuniform List<vector> for inlet in 0 Folder cfdonline2mohsen OpenFOAM Running, Solving & CFD 8 July 18, 2019 08:03
K-Omega-Epsilon BCs for suction inlet CFDBro OpenFOAM Running, Solving & CFD 0 March 27, 2018 18:28
multiphaseInterfoam non-constant inlet kaaja OpenFOAM Running, Solving & CFD 4 February 23, 2018 02:04
snappyhexmesh inlet divergence olhe0002 OpenFOAM Running, Solving & CFD 1 November 27, 2009 12:39
Inlet Velocity in CFX aeroman CFX 12 August 6, 2009 18:42


All times are GMT -4. The time now is 17:50.