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

Flow around a cylinder

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2018, 05:27
Default Flow around a cylinder
  #1
Member
 
Çağatay Emre Ayhan
Join Date: Sep 2017
Location: Istanbul, Turkey
Posts: 31
Rep Power: 9
Cagatayemre is on a distinguished road
Hello my friends, can I ask you a question. I am trying to solve flow around a cylinder case. I have used snappyHexMesh. When I look at the results in paraview, no velocity or pressure change occurs around the cylinder. I think openfoam doesnt recognize my cylinder but I couldnt handle the problem. My case files are attached. Thank you very much.
Attached Files
File Type: gz cylinderSimple3.tar.gz (13.3 KB, 36 views)
Cagatayemre is offline   Reply With Quote

Old   January 23, 2018, 13:41
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 15
clapointe is on a distinguished road
If you are interested in flow around the cylinder, you just need to remove the cylinder from the original domain (created with blockMesh) using snappyHexMesh. I've modified your case accordingly -- it's been tested with version 4.x. The main changes involved updating the snappyHexMeshDict to only work with your cylinder. There are good tutorials using snappy that are good references for usage and setup of the snappy dictionary (e.g. https://github.com/OpenFOAM/OpenFOAM.../les/motorBike).

Caelan
Attached Files
File Type: gz cylinderSimple3.tar.gz (12.8 KB, 50 views)
clapointe is offline   Reply With Quote

Old   January 23, 2018, 14:28
Default
  #3
Member
 
Çağatay Emre Ayhan
Join Date: Sep 2017
Location: Istanbul, Turkey
Posts: 31
Rep Power: 9
Cagatayemre is on a distinguished road
Thank you very much my friend. Good idea. I have used only fluid.stl to generate the geometry and mesh. In this way I substracted cylinder.

I have just found where the problem is. It is the snappyHexMeshDict. The code that I put inside the dict was trying to mesh inside the cylinder. That was the problem I think. What do you think?
This is wrong.
refinementSurfaces
{
solid
{
// Surface-wise min and max refinement level
level (1 5);
faceZone solid;
cellZone solid;
cellZoneInside inside;
}

The following is correct.
refinementSurfaces
{
solid
{
// Surface-wise min and max refinement level
level (1 5);
}
}



}
Quote:
Originally Posted by clapointe View Post
If you are interested in flow around the cylinder, you just need to remove the cylinder from the original domain (created with blockMesh) using snappyHexMesh. I've modified your case accordingly -- it's been tested with version 4.x. The main changes involved updating the snappyHexMeshDict to only work with your cylinder. There are good tutorials using snappy that are good references for usage and setup of the snappy dictionary (e.g. https://github.com/OpenFOAM/OpenFOAM.../les/motorBike).

Caelan
Cagatayemre is offline   Reply With Quote

Old   January 23, 2018, 15:59
Default
  #4
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
https://holzmann-cfd.de/openfoam/ope...ng-with-layers
__________________
Keep foaming,
Tobias Holzmann
Tobi 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
Drag force coefficient too low for a flow past cylinder at Re= 1e05 Scabbard STAR-CCM+ 2 June 5, 2020 15:44
Flow past a cylinder at Re 1e05 using LES, drag force coefficient is to low Scabbard Main CFD Forum 21 June 19, 2018 14:58
Flow around cylinder free to rotate Jonas Holdeman Main CFD Forum 5 August 3, 2015 18:54
benchmark: flow over a circular cylinder goodegg Main CFD Forum 12 January 22, 2013 12:47
Flow over a cylinder Anna Main CFD Forum 9 March 24, 2006 15:32


All times are GMT -4. The time now is 00:51.