-
Notifications
You must be signed in to change notification settings - Fork 234
/
Copy pathREADME
24 lines (19 loc) · 867 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Axisymmetric 2D Simulation in OpenFOAM
All code can be found at: https://github.com/lordvon/OpenFOAM_Tutorials/tree/master/Axisymmetric2D
The video can be found here: https://www.youtube.com/watch?v=MUGnlYncqck
DESCRIPTION:
Here we will do a simple 2D axisymmetric simulation of a donut shape in freestream. The 'wedge' boundary condition will be introduced and details on setting up an axisymmetric case will be shown.
OUTLINE:
-Use rotational extrude in Gmsh to create a wedge shape.
-Convert the mesh and change the boundary file.
-Change the write format in system/controlDict to 'binary' to prevent errors.
-Run the simulation and view post-processed results.
COMMANDS:
gmsh mesh/main.geo -3 -o test.msh
gmshToFoam test.msh -case case
# Modify boundary file
pimpleFoam
This tutorial was run successfully on:
-Ubuntu 14.04 64-bit
-OpenFOAM 2.3.1
-Gmsh 2.9.3