What You Will Learn ?: Solving Fluid Dynamics Problems Solving Fluid Dynamics Problems
What You Will Learn ?: Solving Fluid Dynamics Problems Solving Fluid Dynamics Problems
What You Will Learn ?: Solving Fluid Dynamics Problems Solving Fluid Dynamics Problems
Solvers
Post-Processing
1
Fluid is Everywhere : Weather & Climate Fluid is Everywhere : Vehicles
Tornadoes Thunderstorm Aircraft Submarines
– Continuity, Navier-Stokes, and energy equations (∂/∂t) ∫∫∫(ρΦ)dv + ∫∫(ρΦ) V•S ds = ∫∫ Γgrad(Φ)•n ds + ∫∫∫ qΦdv
– Coupled, non-linear, partial differential equations Rate of change Convective Diffusive flux
Source or
of Φ in a control flux across across the
– For example, incompressible form volume the surface surface
sink term
∂u ∂ v ∂w
+ + =0 Rate of change Net flow rate Net flow rate Mass produced
∂x ∂y ∂z of density due to velocity due to concentration to reactions
∂u ∂u ∂u ∂u 1 ∂p µ ⎛ ∂ u ∂ u ∂ u ⎞
2 2 2
+u +v +w =− + ⎜ + + ⎟ Here : Φ = 1 Mass conservation equation
∂t ∂x ∂y ∂z ρ ∂x ρ ⎜⎝ ∂x 2 ∂y 2 ∂z 2 ⎟⎠ = u, v, w Momentum conservation equation
= Energy equation
∂v ∂v ∂ρ v ∂ρ v 1 ∂p µ ⎛ ∂ v ∂ v ∂ v ⎞
2 2 2
+u +v +w =− + ⎜ + + ⎟
∂t ∂x ∂y ∂z ρ ∂y ρ ⎜⎝ ∂x 2 ∂y 2 ∂z 2 ⎟⎠ Example: Conservation of Mass (Continuity Equation)
∂w ∂w ∂w ∂w 1 ∂p µ ⎛ ∂ 2w ∂2w ∂2w ⎞
+u +v +w =− + ⎜⎜ 2 + 2 + 2 ⎟⎟
∂t ∂x ∂y ∂z ρ ∂z ρ ⎝ ∂x ∂y ∂z ⎠
Introduction to CFD 11 www.cctech.co.in Introduction to CFD 12 www.cctech.co.in
2
CFD: Discretization CFD: Discretization
– How the equations are solved? – Discretization Methods :
– All the continuous nonlinear equations are discritized – Finite volume methods (FVM)
– To solve NSE, the governing PDEs are converted to algebraic – Use CV (Control Volume) form of NSE equations on each
equations grid cell !
– Discretization Methods : – Most popular approach, especially for commercial codes
– Finite difference methods (FDM)
– Each term in NSE is approximated using Taylor series, e.g.,
– Finite element methods (FEM)
∂U U i +1 − U i
= + O ( ∆x ) – Solve PDE’s by replacing continuous functions by
∂x ∆x piecewise approximations defined on polygons, which are
referred to as elements. Similar to FDM.
∂ U U i +1 − 2U i + U i −1
2
= + O ( ∆x )
2
∂x 2 ( ∆x )
2
3
Various Flow Models CFD Process
Flow Model Selection
Is µ = 0?
Create Geometry : CAD
Viscous Flow In-viscid Flow
No Yes
Is M <= 0.3? Is M <= 0.3?
Pre-Process
Compressible Flow Incompressible Flow Compressible Flow Incompressible Flow Create Mesh : Grid Generation
Compressible Incompressible
Navier Stokes Navier Stokes Solve
NS Equations NS Equation Gas dynamics Ideal Flow
Realistic simulation Realistic simulation
of gases of liquids
Understanding physics is important !!
Realistic Mathematical Models for Flow Post-Process
Introduction to CFD 19 www.cctech.co.in Introduction to CFD 20 www.cctech.co.in
1. Build geometry 2. Mesh 3. Define boundary conditions – Very minor details are not required for CFD
Post-Process
simulation
Solution
– Fillets, rivets etc…
4. Compute 5. Visualize
Grid
4
What is a Grid? Classification of Grids
– Fill a given domain with simple Cartesian Quad tree/Oct tree
shapes such as triangles,
quadrilaterals, etc. so that the
given domain is fully covered. Patched Grid
Mono-Block
– Domain here is space between
Structured (BFC)
two circles.
Overlapping Grid
– The simple shape chosen to fill Multi-Block
the space is triangle.
– Note that
– Triangles collectively cover the Unstructured Triangulation / Tetrahedron
complete space triangles do not
intersect each other Cartesian triangulations
Quadrilateral / Hexahedrons
– Emphasis is on cells (triangles in
the present case); there are grid Cartesian Structured
points but no continuous lines or
what can be called as grid lines. Hybrid
Structured triangulations
5
Hybrid grid Data Flow Analysis of Complex System
• More than one types of grids CAD Interface Geometric
Geometric
IGES Modeler Visualization
Visualization
• Un-structured grid superposed DXF
Modeler
Volume
VolumeGrid
Grid
Stitching Generator
Generator
SurfaceGrid
Surface Grid
Generator surface grid
Generator patches
Introduction to CFD 31 www.cctech.co.in Introduction to CFD 32 www.cctech.co.in
Solve Post-Processing
– Run CFD code on computer – Most important step in project execution
– 2D and small 3D
simulations can be run on – Gives insights of system you are studying
desktop computers – Needs good understanding of physics for
– Unsteady 3D simulations
still require large parallel interpreting the results
computers – Different post-processing tools can be used
– Monitor Residuals – Color plots
– Defined two ways
– Change in flow variables – Contour plots
between iterations – Vector plots
– Error in discrete algebraic
equation – Path lines
– Animations etc…..
Different Type of Solvers are available. Which solver to use ? Which
Boundary Condition to use ?
Introduction to CFD 35 www.cctech.co.in Introduction to CFD 36 www.cctech.co.in
6
Commercial Solvers &
Postprocessing Tools Industrial CFD : Aerospace
– Fluent – FINE/Turbo
– CFX – FINE/Design3D
– FINE/Hexa
– CFView
– Combustor
– External aerodynamics
– FlowZ – Fire suppression
– ViewZ – Inlets and nozzles
instrumentation
– Missile systems
– Propulsion
– Pumps
– Rotor-airframe interaction
– Drying Technology
– Air handling systems
– Emission control
– Engine cooling
– Filtration
– Intake and exhaust manifolds
– Heat and mass transfer
– External aerodynamics
– Materials processing
– Motor sports
– Mixing Simulation
– Power train
– Valve & Pump design
– Oil filters
– Chemical reactors
– Combustion chamber
– Crystallizing equipments
– Passenger Comfort
Industrial CFD :
Industrial CFD : Biomedical Power Generation Systems
7
Industrial CFD :
Electronics and Semiconductors Industrial CFD : Environment
– Electronics
– Component level flow and cooling
– Telecommunication equipment
– Engine and transmission controllers
– Magnetic storage devices – Aeration
– Semiconductor design – Archimedes screw
– Crystal growth – Atmospheric plume dispersion
– Equipment thermal control – Caned turbine pumps
– Etching – Clarifiers
– Controllers – Contact tank
– Plasma processing
– Ovens
Industrial CFD :
HVAC and R Design Industrial CFD : Marine
– Off-shore
– Air flow around buildings – Propulsion
– Burner design – Sail design
– Fan noise – Ship hull design
– Environmental control systems
– Waterborne craft design
– Heating system design
– Ducts, hoods, valves, fittings
– Room flow distribution
8
CFD Companies in India Way to be CFD Engineer
– Product:
– Fluent, StarCD, ANSYS, Matrix CFD Solutions, ESI Software, Flomerics, Zeus
How to execute Man power for
Numerix, Partial Derivative, Flowmaster ###### + 2 student
CFD software Industry
1 1
Engineering
Use of CFD CFD User : Analysis
Colleges
– Consultancy: Basic fluid Software ? of Engineering
UG
– Infosys, Infotech, Quantech Global Services, Pacific MindwareEngineering, Transoft mechanics
International, MachWell, Neilsoft, TCS, Satyam, Sungrace, Plexion, Mahindra Problem
Engineering Design and Development Co. Ltd., CADES, Onward Technologies,
Bechtel, CSM Software, QUEST, Apramaya
Rudimentary 2 2 Courses in
Engineering
Colleges
knowledge of Turbulence
– Engineering:
PG
Computer usage
– Tata Engineering, Ashok Leyland, Mahindra and Mahindra, Thermax, Bayer India, Combustion
BHEL, Kirloskar, MICO, NHMG India, Reliance, NTPC, Escort, Forbs Marshall, Maruti,
Laboratories
Magna Steer, Toyo, Atlas Copco, TVS , Concentric, BHER Numerical methods
Gas Dynamics
R&D
– Design Centers:
– John Deere, John F. Welch Technology Centre GE, Emerson, Cummins, General Computational geometry
Motor, Whirlpool, Snecma Aerospace, Honeywell, Ford, DaimlerChrysler, Intel, TACO,
Delphi Man power for R&D Grid generation
Data structures
CFD Code developer:
This is representative list developing a special Parallel computing
code for a problem ..
Thanks a lot