Presentation is loading. Please wait.

Presentation is loading. Please wait.

Motorbike Simulation with OpenFOAM

Similar presentations


Presentation on theme: "Motorbike Simulation with OpenFOAM"— Presentation transcript:

1 Motorbike Simulation with OpenFOAM
Hasret Türkeri 9 December 2016

2 OpenFOAM Computer software Solves equation for flows
Momentum Pressure Energy Developed for Linux No graphic interface Run with commands

3 The Concepts CFD : Computational Fluid Dynamics
Initial and boundary conditions Mesh - Grid Numerical Methods

4 Steps in CFD Pre-Processing Processing Post-Processing
Preparation of grid Setting initial and boundary conditions Selecting numerical schemes Processing Solving the equation using computer software, OpenFOAM Post-Processing Plotting and analyzing the results

5 Pre-Processing in OpenFOAM
Case directory U, p, rho,… Constant System blockMesh fvSchemes, fvSolutions

6 Pre-Processing in OpenFOAM blockMesh
vertices ( ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ); blocks hex ( ) (20 8 8) simpleGrading (1 1 1)

7 Pre-Processing in OpenFOAM Setting the motorbike velocity
0.org/U => fixedValues => initialConditions -> flowVelocity (20 0 0) Setting the grid size In system/blockMesh change the values in green box blocks ( hex ( ) (20 8 8) simpleGrading (1 1 1) );

8 Processing with OpenFOAM
OpenFOAM runs with commands ln motorbike case directory ./Allrun wait until it finishes, it may take a couple of ten minutes Check log.* files in case of any problem

9 Post-Processing with OpenFOAM
run the command in the motorbike directory paraFoam Using parafoam draw countor plots, and streamlines to analyze your results For tutorial about post-processing you can refer to the post- processing section

10 How to Start OpenFOAM on Windows
I strongly recommend to download and install OpenfOAM from the link below Follow the instruction on the webpage

11 How to Start OpenFOAM on Windows
Open OpenFOAMforWindows 16.10 C:/OpenFOAM/16.10/Faruk-3.0.x/run

12 How to Start OpenFOAM on Windows
Copy motorBike case dir From C:\OpenFOAM\16.10\cygwin64\opt\OpenFOAM\OpenFOAM- 3.0.x\tutorials\incompressible\simpleFoam To C:/OpenFOAM/16.10/Faruk-3.0.x/run

13 How to Start OpenFOAM on Windows
Open 0.org/initialConditions and set the flow velocity flowVelocity (20 0 0) Important: The dimension here is m/s Open system/blockMesh change the values in green box blocks ( hex ( ) (20 8 8) simpleGrading (1 1 1) ); The number of cells in x, y, z, direction respectively

14 How to Start OpenFOAM on Windows
In terminal, change your directory into motorBike cd motorBike In terminal, run the commands ./Allclean ./Allrun Wait until it finishes, it may takes a couple ten minutes Once it completes, in terminal, run paraFoam

15 How to Start OpenFOAM on Windows
In terminal, change your directory into motorBike cd motorBike In terminal, run the commands ./Allclean ./Allrun Wait until it finishes, it may takes a couple ten minutes Once it completes, in terminal, run paraFoam

16 How to Start OpenFOAM on Windows
Follow the tutorial for paraFoam at the link Plot contour plots Stream lines ….


Download ppt "Motorbike Simulation with OpenFOAM"

Similar presentations


Ads by Google