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

Simulation of flow around a cylinder in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 14, 2023, 10:01
Default Simulation of flow around a cylinder in OpenFOAM
  #1
New Member
 
Martin Mathew
Join Date: Nov 2023
Posts: 4
Rep Power: 3
martinmat13 is on a distinguished road

I have a made a geometry to simulate the flow around a cylinder using FreeCAD and exported it as .stl file. I am confused how to proceed next? I am using pitzDaily case directory for this simulation. Where to begin my simulation and which all files I need to alter?

I tried to change the vertices in blockMeshDict file but I failed. Can there be a technique in which I can import the stl file and the vertices can be updated automatically. Since, my geometry seems complicated after exporting it through MeshLab and there lot of vertices mentioned which I can not understand.
martinmat13 is offline   Reply With Quote

Old   November 17, 2023, 04:25
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 700
Rep Power: 12
AtoHM is on a distinguished road
You will need to look at some basic tutorials about how OpenFOAM works. Usually, we start with a geometry in CAD, export to STL, mesh this with snappyHexMesh, put the result into a simulation case and run. Ofcourse you will need to know what you are doing in each step.


You can bypass a bit of that, if you are already in FreeCAD, by installing the cfdof workbench, which is available in the addon-manager of FreeCAD. There you can go from your geometry, assign the boundary conditions, create a mesh and simulation case in the GUI. This will give you an easy start into OpenFOAM. You can then study whats in the case and learn to adapt to more complex cases.
AtoHM is offline   Reply With Quote

Old   November 17, 2023, 08:24
Default
  #3
Senior Member
 
Josh Williams
Join Date: Feb 2021
Location: Scotland
Posts: 113
Rep Power: 5
joshwilliams is on a distinguished road
I would also suggest to follow a tutorial that actually uses an STL file such as the motorbike tutorial. You will see there how to use snappyHexMesh
joshwilliams is offline   Reply With Quote

Reply

Tags
cfd, openfoam, simulation cfd


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
Force Coefficients fioe flow over cylinder in openfoam Ravi336 OpenFOAM Post-Processing 1 August 3, 2018 11:31
Initial Boundary condition of velocity for flow over the cylinder by LES simulation AM10 Main CFD Forum 1 March 19, 2018 04:43
3D flow past cylinder simulation Beecee CFX 1 March 22, 2015 18:09
LES simulation incompressible flow around Cylinder luca14 OpenFOAM Running, Solving & CFD 0 May 10, 2014 16:37
simulation of cross flow cylinder ravigdch Main CFD Forum 0 April 23, 2014 11:13


All times are GMT -4. The time now is 01:18.