Download presentation
Presentation is loading. Please wait.
1
Open Source Field Operation and Manipulation
2
What is OpenFOAM? OpenFOAM is a library of C++ codes that solve partial differential equations Incompressible flow (Navier-Stokes) Compressible flow (Navier-Stokes) Solid displacement (Elasticity) Pricing stock options (Black-Scholes)
3
How does OpenFOAM work?
4
How does OpenFOAM work? Editing input files in case folder
Preprocessing Utilities Fluid properties Turbulence properties Meshing
5
How does OpenFOAM work? Editing input files in case folder Solving
Discretization schemes Numerical Methods Parallel processing Creates output files for each write step Velocity, pressure, turbulence properties, temperature, displacement
6
How does OpenFOAM work? Postprocessing paraFOAM
Reads output files created when solving Uses paraView Displays flow properties within the domain Various filters Cut into domain Vector plots Contour plots Plot cell centers Create image and video files
7
2D Poisuille Flow Geometry and fluid properties Length L = 0.1 m
Width 2h = 0.01 m Origin located at the inlet along the centerline Uniform velocity of 0.01 m/s at the inlet Uniform pressure of 0 Pa at the outlet Density of ρ = kg/m3 Dynamic viscosity of μ = 1.82 x 10-5 Pa-s
8
2D Poisuille Flow Analytical Solution Pressure Gradient
Pa/m Maximum velocity 0.015 m/s Average velocity 0.01 m/s
9
2D Poisuille Flow Numerical Solution – Mesh
Cells are clustered at the channel entrance and walls
10
2D Poisuille Flow Numerical Solution – Pressure Gradient
11
2D Poisuille Flow Numerical Solution – Pressure Gradient
12
2D Poisuille Flow Numerical Solution – Velocity Profile (uniform)
13
2D Poisuille Flow Numerical Solution – Velocity Profile (graded)
14
2D Poisuille Flow Numerical Solution – Velocity Profile (comparisson)
15
2D Laminar Flow Over Cylinder
Metric Drag coefficient Strouhal Number (vortex shedding) Variable Reynolds number Meshes Boundary conditions
16
2D Laminar Flow Over Cylinder
First mesh
17
2D Laminar Flow Over Cylinder
First Velocity Field
18
2D Laminar Flow Over Cylinder
Second Mesh
19
2D Laminar Flow Over Cylinder
Second Velocity Field
20
2D Laminar Flow Over Cylinder
Discontinuities
21
2D Laminar Flow Over Cylinder
Third Mesh
22
2D Laminar Flow Over Cylinder
Third Velocity Field (discontinuities)
23
2D Laminar Flow Over Cylinder
Fifth and Sixth meshes Results are invariant to cell density
24
2D Laminar Flow Over Cylinder
Velocity Field
25
2D Laminar Flow Over Cylinder
Drag Coefficient
26
2D Laminar Flow Over Cylinder
Strouhal Number Lift Coefficient
27
Lid-Driven Cavity Flow
Start-to-finish walkthrough Linux in general Laminar Turbulent Mesh density Grading Numerical Schemes paraFoam
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.