SlideShare a Scribd company logo
1 of 8
Cfd
Computational fluid dynamics (CFD) is the use of applied mathematics, physics and
computational software to visualize how a gas or liquid flows -- as well as how the gas
or liquid affects objects as it flows past. Computational fluid dynamics is based on the
Navier-Stokes equations. These equations describe how the velocity, pressure,
temperature, and density of a moving fluid are related.
Computational Fluid Dynamics became a commonly applied tool for generating
solutions for fluid flows with or without solid interaction. In a CFD analysis, the
examination of fluid flow in accordance with its physical properties such as velocity,
pressure, temperature, density and viscosity is conducted. To virtually generate a
solution for a physical phenomenon associated with fluid flow, without compromise on
accuracy, those properties have to be considered simultaneously.
A mathematical model of the physical case and a numerical method are used in a
software tool to analyze the fluid flow. For instance, the Navier-Stokes equations are
specified as the mathematical model of the physical case. This describes changes on all
those physical properties for both fluid flow and heat transfer. The mathematical model
varies in accordance with the content of the problem such as heat transfer, mass
transfer, phase change, chemical reaction, etc. Moreover, the reliability of a CFD
analysis highly depends on the whole structure of the process. The verification of the
mathematical model is extremely important to create an accurate case for solving the
problem. Besides, the determination of proper numerical methods to generate a path
through the solution is as important as a mathematical model. The software, which the
analysis is conducted with is one of the key elements in generating a sustainable
product development process, as the amount of physical prototypes can be reduced
drastically.
History of Computational Fluid Dynamics
From antiquity to present, humankind has been eager to discover phenomena based on
fluid flow. So, how old is CFD? Experimental studies in the field of computational fluid
dynamics have one big disadvantage: if they need to be accurate, they consume a
significant amount of time and money. Consequently, scientists and engineers wanted
to generate a method that enabled them to pair a mathematical model and a numerical
method with a computer for faster examination.
The brief story of Computational Fluid Dynamics can be seen below:
 Until 1910: Improvements on mathematical models and numerical methods.
 1910 - 1940: Integration of models and methods to generate numerical solutions
based on hand calculations11.
 1940 - 1950: Transition to computer-based calculations with early computers
(ENIAC)33. Solution for flow around cylinder by Kawaguti with a mechanical desk
calculator in 195388.
 1950 - 1960: Initial study using computers to model fluid flow based on the Navier-
Stokes equations by Los Alamos National Lab, US. Evaluation of vorticity - stream
function method44. First implementation for 2D, transient, incompressible flow in the
world66.
 1960 – 1970: First scientific paper “Calculation of potential flow about arbitrary
bodies” was published about computational analysis of 3D bodies by Hess and Smith
in 196755. Generation of commercial codes. Contribution of various methods such k-
ε turbulence model, Arbitrary Lagrangian-Eulerian, SIMPLE algorithm which are all
still broadly used66.
 1970 – 1980: Codes generated by Boeing, NASA and some have unveiled and
started to use several yields such as submarines, surface ships, automobiles,
helicopters and aircrafts4,64,6.
 1980 – 1990: Improvement of accurate solutions of transonic flows in three-
dimensional case by Jameson et. al. Commercial codes have started to implement
through both academia and industry77.
 1990 – Present: Thorough developments in Informatics: worldwide usage of CFD
virtually in every sector.
The following steps are going to explain the mathematical approach behind a CFD simulation. For
you to understand it more easily, they are categorized into 7 steps.
Applications of Computational Fluid Dynamics
Where there is fluid, there is CFD. the initial stage to conduct a CFD simulation is
specifying an appropriate mathematical model of reality. Rapprochements and
assumptions give direction through solution processes to examine the case in the
computational domain. For instance, fluid flow over a sphere / cylinder is a repetitive
issue that has been taught by the lecturer as an example in fluid courses. The same
phenomenon is virtually available in the movement of clouds in the atmosphere which is
indeed tremendous
Incompressible and Compressibleflow
If compressibility becomes a non-negligible factor, this type of analysis helps you to find
solutions in a very robust and accurate way. One example would be a Large Eddy
Simulation of flow around a cylinder.
Laminar and Turbulentflow
Different turbulence models play a role in this type of analysis. A lot of computing power
is required to solve turbulence simulations and its complex numerical models. The
difficulty of turbulence is the simulation of changes over time. The entire domain where
the simulation takes place needs to be recalculated after every time step.
The analysis of a ball valve is one possible application of a turbulent flow analysis.
Mass and Thermal transport
Mass transport simulations include smoke propagation, passive scalar transport or gas
distributions. To solve these kinds of simulations, OpenFOAM solvers are used.
Heat exchanger simulations are one possible application.
Different Types of CFD Applications
Computational Fluid Dynamics tools diversify in accordance with mathematical models,
numerical methods, computational equipment and post-processing facilities. As a
physical phenomenon could be modeled with completely different mathematical
approaches, it would also be integrated with unlike numerical methods simultaneously.
Thus, a conscious rapprochement is the essential factor on the path to developing CFD
tools. There are several license-required commercial software solutions, though there
are also open source projects available. One of the most used open-source solvers for
CFD is OpenFOAM1818.
CFD ANALYSIS PROCESS
First step:
Problem Statement:
The first step of the simulation is to gather information about the simulation process in general.
 What is the most convenient way of solving this problem in an economic way:
o Cheap solution: No high computational costs
o Fast solution: Fast solution possible without giving up much information of the solution
o Uncomplicated solution: Simplify the problem as much as possible without restating a new problem
 Modelling:
o Laminar or Turbulent - if turbulent → +turbulence model + near-wall treatment
o Combustion
o Other Physical Models
o Is the flow steady or unsteady?
o Are there any problems about the flow simulation that others have dealt with in the past?
o Will physical phenomena influence the simulation?
o What is the goal of the CFD simulation?
Second step:
Mathematical Fundamental:
The Initial Boundary Value Problem consists of the Partial Differential Equation the Initial Conditions
as well as the Boundary Conditions:
IBVP = PDE + IC + BC
 Choose flow model that fits your simulation:
o Spalart-Allmaras
o k-epsilon
o k-omega
o L-VEL & yPlus
 Identify the forces which cause and influence the motion of the fluid.
 Define the Computational Domain of the problem.
 Formulate conservation laws for mass, momentum and energy.
 If possible, simplify the equations:
o Check for Symmetry
o Check for dominant flow directions (1D/2D).
o Terms that have no influence on the solution can be neglected.
o Incorporate knowledge that you’ve had beforehand (CFD results, measurement data).
 Add constitutive relations:
o Shear Stress
o Viscosity
 Dynamic Viscosity
 Kinematic Viscosity
 Add Boundary Conditions and Initial Conditions.
Third step:
Discretization:
The system of Partial Differential Equations is transformed into algebraic equations.
The discretion process is divided into three parts.
1. Mesh generation - Nodes and Cells
 Structured Mesh / Unstructured Mesh / Hybrid Mesh.
 Mesh adaption in “critical” regions and set size:
o r-Refinement
o h-Refinement
o p-Refinement
2. Space discretization - Coupled Ordinary Differential Equation/ Differential algebraic equation
systems
 Finite-Difference-Method / Finite-Volume-Method / Finite-Element-Method.
 High-Order-Approximation / Low-Order-Approximation.
3. Time discretization - Algebraic System (Ax=b).
 Explicit Schemes / Implicit Schemes
Fourth step:
Iterative solution of the algebraic equation:
 Solving systems of linear equations:
o Direct Methods: Gaussian elimination, LU decomposition.
o Iterative Methods: Strongly Implicit Procedure (SIP) , Alternating Direction Implicit (ADI) ,
Tridiagonal Matrix Algorithm (TDMA), Runge-Kutta method, Multigrid method.
 Coupled systems of equations.
 Nonlinear Equations
 Methods for transient problems: Linear multistep method etc.
Convergence: Check if the iterations converge.
 Residuals (Decrease by three orders of magnitude indicate at least qualitative convergence).
 Mass, Momentum, Energy, and Scalar balances are achieved.
Fifth step:
Simulation Run:
Once the problem is well defined with the boundary conditions, and if necessary with initial
conditions, the problem is solved with a software. Open∇FOAM is a popular option for a solver
which is used by several companies that provide CFD software. SimScale is among them.
Sixth step:
Post-Processing:
Looking at the solutions from the the computed flow.
 Post-Processing of integral parameters (Drag, Lift etc.)
 Visualization in different dimensions:
o 1-D: Straight lines
o 2-D: Contour plots, Streamlines
o 3-D: Isosurfaces, Isovolumes, Streamtracer
o Animation of the flow
 Statistical analysis
Seventh step:
According to AIAA (1998) & Oberkampf and Trucano (2002) the following terminology is widely used
and accepted:
Verification (“Are we solving the equations right?”) :
→ Quantification of errors
 Compare results with analytical solutions if possible.
If we ignore the fact that there might be coding errors and user errors, we can examine the
following:
 Roundoff Error
 Iterative Convergence Error
 Discretization Error
Validation (“Are we solving the right equations?”) :
→ Quantification of input & physical model uncertainty
 Input uncertainty
 Physical uncertainty
General tips
Influencing parameters for computation times in CFD
 Code used in order to solve the flow (→ MPI, Vectorization)
 Hardware (CPU, RAM, etc.)
 Mesh size / Mesh Quality
 Algorithms
 Solvers
REFRENCES
Literature References:
 Laurien & Oertel: Numerische Strömungsmechanik - Grundgleichungen und Modelle -
Lösungsmethoden - Qualität und Genauigkeit
 Versteeg & Malalasekera: An Introduction to Computational Fluid Dynamics - The Finite
Volume Method - 2nd Edition
 http://www.mathematik.uni-dortmund.de/~kuzmin/Transport.pdf 12
 http://www.mathematik.uni-dortmund.de/~kuzmin/cfdintro/lecture1.pdf
WHAT IS COMPUTATIONAL FLUID DYNAMICS (CFD)

More Related Content

What's hot

Cfd notes 1
Cfd notes 1Cfd notes 1
Cfd notes 1
sach437
 

What's hot (20)

Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)
 
CFD.pptx
CFD.pptxCFD.pptx
CFD.pptx
 
Role of CFD in Engineering Design
Role of CFD in Engineering DesignRole of CFD in Engineering Design
Role of CFD in Engineering Design
 
Cfd simulation of flow heat and mass transfer
Cfd simulation of flow  heat and mass transferCfd simulation of flow  heat and mass transfer
Cfd simulation of flow heat and mass transfer
 
Introduction to Computational Fluid Dynamics (CFD)
Introduction to Computational Fluid Dynamics (CFD)Introduction to Computational Fluid Dynamics (CFD)
Introduction to Computational Fluid Dynamics (CFD)
 
multiphase flow modeling and simulation ,Pouriya Niknam , UNIFI
multiphase flow modeling and  simulation ,Pouriya Niknam , UNIFImultiphase flow modeling and  simulation ,Pouriya Niknam , UNIFI
multiphase flow modeling and simulation ,Pouriya Niknam , UNIFI
 
Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD) Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)
 
CFD
CFDCFD
CFD
 
CFD Best Practices & Key Features
CFD Best Practices & Key FeaturesCFD Best Practices & Key Features
CFD Best Practices & Key Features
 
01 multiphase flows- fundamental definitions
01 multiphase flows- fundamental definitions01 multiphase flows- fundamental definitions
01 multiphase flows- fundamental definitions
 
Computational fluid dynamics
Computational fluid dynamicsComputational fluid dynamics
Computational fluid dynamics
 
Computational Fluid Dynamics & Its Application.pptx
Computational Fluid Dynamics & Its Application.pptxComputational Fluid Dynamics & Its Application.pptx
Computational Fluid Dynamics & Its Application.pptx
 
Numerical modelling for Fluid-structure interaction
Numerical modelling for Fluid-structure interaction Numerical modelling for Fluid-structure interaction
Numerical modelling for Fluid-structure interaction
 
CFD : Modern Applications, Challenges and Future Trends
CFD : Modern Applications, Challenges and Future Trends CFD : Modern Applications, Challenges and Future Trends
CFD : Modern Applications, Challenges and Future Trends
 
CFD Introduction using Ansys Fluent
CFD Introduction using Ansys FluentCFD Introduction using Ansys Fluent
CFD Introduction using Ansys Fluent
 
CFD Modeling of Multiphase Flow. Focus on Liquid-Solid Flow
CFD Modeling of Multiphase Flow. Focus on Liquid-Solid FlowCFD Modeling of Multiphase Flow. Focus on Liquid-Solid Flow
CFD Modeling of Multiphase Flow. Focus on Liquid-Solid Flow
 
01 intro cfd
01 intro cfd01 intro cfd
01 intro cfd
 
How CFD can help gain the most efficient data centre designs
How CFD can help gain the most efficient data centre designsHow CFD can help gain the most efficient data centre designs
How CFD can help gain the most efficient data centre designs
 
Cfd notes 1
Cfd notes 1Cfd notes 1
Cfd notes 1
 
Fvm fdm-fvm
Fvm fdm-fvmFvm fdm-fvm
Fvm fdm-fvm
 

Similar to WHAT IS COMPUTATIONAL FLUID DYNAMICS (CFD)

Heat Transfer & Periodic Flow Analysis of Heat Exchanger by CFD with Nano Fluids
Heat Transfer & Periodic Flow Analysis of Heat Exchanger by CFD with Nano FluidsHeat Transfer & Periodic Flow Analysis of Heat Exchanger by CFD with Nano Fluids
Heat Transfer & Periodic Flow Analysis of Heat Exchanger by CFD with Nano Fluids
IJERA Editor
 
Heat Transfer & Periodic Flow Analysis of Heat Exchanger by CFD with Nano Fluids
Heat Transfer & Periodic Flow Analysis of Heat Exchanger by CFD with Nano FluidsHeat Transfer & Periodic Flow Analysis of Heat Exchanger by CFD with Nano Fluids
Heat Transfer & Periodic Flow Analysis of Heat Exchanger by CFD with Nano Fluids
IJERA Editor
 
Jamie Fogarty CFD FINAL DRAFT PRINT
Jamie Fogarty CFD FINAL DRAFT PRINTJamie Fogarty CFD FINAL DRAFT PRINT
Jamie Fogarty CFD FINAL DRAFT PRINT
Jamie Fogarty
 
IARE_ ACAD LAB MANUAL.pdf
IARE_ ACAD LAB MANUAL.pdfIARE_ ACAD LAB MANUAL.pdf
IARE_ ACAD LAB MANUAL.pdf
RebyRoy2
 
ravishanara-2020-implementation.pdf
ravishanara-2020-implementation.pdfravishanara-2020-implementation.pdf
ravishanara-2020-implementation.pdf
SID202
 

Similar to WHAT IS COMPUTATIONAL FLUID DYNAMICS (CFD) (20)

Cfd 0
Cfd 0Cfd 0
Cfd 0
 
Cfd 0
Cfd 0Cfd 0
Cfd 0
 
Introduction to Computational Fluid Dynamics
Introduction to Computational Fluid DynamicsIntroduction to Computational Fluid Dynamics
Introduction to Computational Fluid Dynamics
 
100-423-1-PB.pdf
100-423-1-PB.pdf100-423-1-PB.pdf
100-423-1-PB.pdf
 
CFD Concepts.ppt
CFD Concepts.pptCFD Concepts.ppt
CFD Concepts.ppt
 
Pros and-cons-of-cfd-and-physical-flow-modeling
Pros and-cons-of-cfd-and-physical-flow-modelingPros and-cons-of-cfd-and-physical-flow-modeling
Pros and-cons-of-cfd-and-physical-flow-modeling
 
Reportnew
ReportnewReportnew
Reportnew
 
Mathematical Modelling and Parameter Optimization of Pulsating Heat Pipes
Mathematical Modelling and Parameter Optimization of Pulsating Heat PipesMathematical Modelling and Parameter Optimization of Pulsating Heat Pipes
Mathematical Modelling and Parameter Optimization of Pulsating Heat Pipes
 
CFD-CH01-Rao-2021-1.pdf
CFD-CH01-Rao-2021-1.pdfCFD-CH01-Rao-2021-1.pdf
CFD-CH01-Rao-2021-1.pdf
 
Heat Transfer & Periodic Flow Analysis of Heat Exchanger by CFD with Nano Fluids
Heat Transfer & Periodic Flow Analysis of Heat Exchanger by CFD with Nano FluidsHeat Transfer & Periodic Flow Analysis of Heat Exchanger by CFD with Nano Fluids
Heat Transfer & Periodic Flow Analysis of Heat Exchanger by CFD with Nano Fluids
 
Heat Transfer & Periodic Flow Analysis of Heat Exchanger by CFD with Nano Fluids
Heat Transfer & Periodic Flow Analysis of Heat Exchanger by CFD with Nano FluidsHeat Transfer & Periodic Flow Analysis of Heat Exchanger by CFD with Nano Fluids
Heat Transfer & Periodic Flow Analysis of Heat Exchanger by CFD with Nano Fluids
 
Course Syllabus.pdf
Course Syllabus.pdfCourse Syllabus.pdf
Course Syllabus.pdf
 
Jamie Fogarty CFD FINAL DRAFT PRINT
Jamie Fogarty CFD FINAL DRAFT PRINTJamie Fogarty CFD FINAL DRAFT PRINT
Jamie Fogarty CFD FINAL DRAFT PRINT
 
IARE_ ACAD LAB MANUAL.pdf
IARE_ ACAD LAB MANUAL.pdfIARE_ ACAD LAB MANUAL.pdf
IARE_ ACAD LAB MANUAL.pdf
 
ravishanara-2020-implementation.pdf
ravishanara-2020-implementation.pdfravishanara-2020-implementation.pdf
ravishanara-2020-implementation.pdf
 
An Immersed Boundary Method To Solve Flow And Heat Transfer Problems Involvin...
An Immersed Boundary Method To Solve Flow And Heat Transfer Problems Involvin...An Immersed Boundary Method To Solve Flow And Heat Transfer Problems Involvin...
An Immersed Boundary Method To Solve Flow And Heat Transfer Problems Involvin...
 
CFD PPT.ppt
CFD PPT.pptCFD PPT.ppt
CFD PPT.ppt
 
CFD and Artificial Neural Networks Analysis of Plane Sudden Expansion Flows
CFD and Artificial Neural Networks Analysis of Plane Sudden Expansion FlowsCFD and Artificial Neural Networks Analysis of Plane Sudden Expansion Flows
CFD and Artificial Neural Networks Analysis of Plane Sudden Expansion Flows
 
Fluent and Gambit Workshop
Fluent and Gambit WorkshopFluent and Gambit Workshop
Fluent and Gambit Workshop
 
1,2. Dimensional Analysis and fluid .pptx
1,2. Dimensional Analysis and fluid .pptx1,2. Dimensional Analysis and fluid .pptx
1,2. Dimensional Analysis and fluid .pptx
 

More from Malik Abdul Wahab

More from Malik Abdul Wahab (13)

Huawei technologies problems and solutions
Huawei technologies problems and solutionsHuawei technologies problems and solutions
Huawei technologies problems and solutions
 
Islam as religion of peace
Islam as religion of peaceIslam as religion of peace
Islam as religion of peace
 
Minorities Rights in Islam and situation in pakistan
Minorities Rights in Islam and situation in pakistan Minorities Rights in Islam and situation in pakistan
Minorities Rights in Islam and situation in pakistan
 
Minorities Rights in Islam and situation in pakistan
Minorities Rights in Islam and situation in pakistan Minorities Rights in Islam and situation in pakistan
Minorities Rights in Islam and situation in pakistan
 
Islam as religion of peace
Islam as religion of peaceIslam as religion of peace
Islam as religion of peace
 
Islam as religion of peace
Islam as religion of peaceIslam as religion of peace
Islam as religion of peace
 
Concept of human rights in islam
Concept of human rights in islamConcept of human rights in islam
Concept of human rights in islam
 
Concept of human rights in islam
Concept of human rights in islamConcept of human rights in islam
Concept of human rights in islam
 
CFD Analysis of faucet aerator
CFD Analysis of faucet aeratorCFD Analysis of faucet aerator
CFD Analysis of faucet aerator
 
Conducting and reporting the results of a cfd simulation
Conducting and reporting the results of a cfd simulationConducting and reporting the results of a cfd simulation
Conducting and reporting the results of a cfd simulation
 
industrial visit report and recommendations
industrial visit report and recommendationsindustrial visit report and recommendations
industrial visit report and recommendations
 
political history of pakistan 1947-58
political history of pakistan 1947-58political history of pakistan 1947-58
political history of pakistan 1947-58
 
political history of pakistan 1947-1958
political history of pakistan 1947-1958political history of pakistan 1947-1958
political history of pakistan 1947-1958
 

Recently uploaded

1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
hublikarsn
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 

Recently uploaded (20)

👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .ppt
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdf
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata Model
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 

WHAT IS COMPUTATIONAL FLUID DYNAMICS (CFD)

  • 1. Cfd Computational fluid dynamics (CFD) is the use of applied mathematics, physics and computational software to visualize how a gas or liquid flows -- as well as how the gas or liquid affects objects as it flows past. Computational fluid dynamics is based on the Navier-Stokes equations. These equations describe how the velocity, pressure, temperature, and density of a moving fluid are related. Computational Fluid Dynamics became a commonly applied tool for generating solutions for fluid flows with or without solid interaction. In a CFD analysis, the examination of fluid flow in accordance with its physical properties such as velocity, pressure, temperature, density and viscosity is conducted. To virtually generate a solution for a physical phenomenon associated with fluid flow, without compromise on accuracy, those properties have to be considered simultaneously. A mathematical model of the physical case and a numerical method are used in a software tool to analyze the fluid flow. For instance, the Navier-Stokes equations are specified as the mathematical model of the physical case. This describes changes on all those physical properties for both fluid flow and heat transfer. The mathematical model varies in accordance with the content of the problem such as heat transfer, mass transfer, phase change, chemical reaction, etc. Moreover, the reliability of a CFD analysis highly depends on the whole structure of the process. The verification of the mathematical model is extremely important to create an accurate case for solving the problem. Besides, the determination of proper numerical methods to generate a path through the solution is as important as a mathematical model. The software, which the analysis is conducted with is one of the key elements in generating a sustainable product development process, as the amount of physical prototypes can be reduced drastically. History of Computational Fluid Dynamics From antiquity to present, humankind has been eager to discover phenomena based on fluid flow. So, how old is CFD? Experimental studies in the field of computational fluid dynamics have one big disadvantage: if they need to be accurate, they consume a significant amount of time and money. Consequently, scientists and engineers wanted to generate a method that enabled them to pair a mathematical model and a numerical method with a computer for faster examination. The brief story of Computational Fluid Dynamics can be seen below:  Until 1910: Improvements on mathematical models and numerical methods.
  • 2.  1910 - 1940: Integration of models and methods to generate numerical solutions based on hand calculations11.  1940 - 1950: Transition to computer-based calculations with early computers (ENIAC)33. Solution for flow around cylinder by Kawaguti with a mechanical desk calculator in 195388.  1950 - 1960: Initial study using computers to model fluid flow based on the Navier- Stokes equations by Los Alamos National Lab, US. Evaluation of vorticity - stream function method44. First implementation for 2D, transient, incompressible flow in the world66.  1960 – 1970: First scientific paper “Calculation of potential flow about arbitrary bodies” was published about computational analysis of 3D bodies by Hess and Smith in 196755. Generation of commercial codes. Contribution of various methods such k- ε turbulence model, Arbitrary Lagrangian-Eulerian, SIMPLE algorithm which are all still broadly used66.  1970 – 1980: Codes generated by Boeing, NASA and some have unveiled and started to use several yields such as submarines, surface ships, automobiles, helicopters and aircrafts4,64,6.  1980 – 1990: Improvement of accurate solutions of transonic flows in three- dimensional case by Jameson et. al. Commercial codes have started to implement through both academia and industry77.  1990 – Present: Thorough developments in Informatics: worldwide usage of CFD virtually in every sector. The following steps are going to explain the mathematical approach behind a CFD simulation. For you to understand it more easily, they are categorized into 7 steps. Applications of Computational Fluid Dynamics Where there is fluid, there is CFD. the initial stage to conduct a CFD simulation is specifying an appropriate mathematical model of reality. Rapprochements and assumptions give direction through solution processes to examine the case in the computational domain. For instance, fluid flow over a sphere / cylinder is a repetitive issue that has been taught by the lecturer as an example in fluid courses. The same phenomenon is virtually available in the movement of clouds in the atmosphere which is indeed tremendous
  • 3. Incompressible and Compressibleflow If compressibility becomes a non-negligible factor, this type of analysis helps you to find solutions in a very robust and accurate way. One example would be a Large Eddy Simulation of flow around a cylinder. Laminar and Turbulentflow Different turbulence models play a role in this type of analysis. A lot of computing power is required to solve turbulence simulations and its complex numerical models. The difficulty of turbulence is the simulation of changes over time. The entire domain where the simulation takes place needs to be recalculated after every time step. The analysis of a ball valve is one possible application of a turbulent flow analysis. Mass and Thermal transport Mass transport simulations include smoke propagation, passive scalar transport or gas distributions. To solve these kinds of simulations, OpenFOAM solvers are used. Heat exchanger simulations are one possible application. Different Types of CFD Applications Computational Fluid Dynamics tools diversify in accordance with mathematical models, numerical methods, computational equipment and post-processing facilities. As a physical phenomenon could be modeled with completely different mathematical approaches, it would also be integrated with unlike numerical methods simultaneously. Thus, a conscious rapprochement is the essential factor on the path to developing CFD tools. There are several license-required commercial software solutions, though there are also open source projects available. One of the most used open-source solvers for CFD is OpenFOAM1818.
  • 4. CFD ANALYSIS PROCESS First step: Problem Statement: The first step of the simulation is to gather information about the simulation process in general.  What is the most convenient way of solving this problem in an economic way: o Cheap solution: No high computational costs o Fast solution: Fast solution possible without giving up much information of the solution o Uncomplicated solution: Simplify the problem as much as possible without restating a new problem  Modelling: o Laminar or Turbulent - if turbulent → +turbulence model + near-wall treatment o Combustion o Other Physical Models o Is the flow steady or unsteady? o Are there any problems about the flow simulation that others have dealt with in the past? o Will physical phenomena influence the simulation? o What is the goal of the CFD simulation? Second step: Mathematical Fundamental: The Initial Boundary Value Problem consists of the Partial Differential Equation the Initial Conditions as well as the Boundary Conditions: IBVP = PDE + IC + BC  Choose flow model that fits your simulation: o Spalart-Allmaras o k-epsilon o k-omega o L-VEL & yPlus  Identify the forces which cause and influence the motion of the fluid.  Define the Computational Domain of the problem.  Formulate conservation laws for mass, momentum and energy.  If possible, simplify the equations: o Check for Symmetry o Check for dominant flow directions (1D/2D). o Terms that have no influence on the solution can be neglected.
  • 5. o Incorporate knowledge that you’ve had beforehand (CFD results, measurement data).  Add constitutive relations: o Shear Stress o Viscosity  Dynamic Viscosity  Kinematic Viscosity  Add Boundary Conditions and Initial Conditions. Third step: Discretization: The system of Partial Differential Equations is transformed into algebraic equations. The discretion process is divided into three parts. 1. Mesh generation - Nodes and Cells  Structured Mesh / Unstructured Mesh / Hybrid Mesh.  Mesh adaption in “critical” regions and set size: o r-Refinement o h-Refinement o p-Refinement 2. Space discretization - Coupled Ordinary Differential Equation/ Differential algebraic equation systems  Finite-Difference-Method / Finite-Volume-Method / Finite-Element-Method.  High-Order-Approximation / Low-Order-Approximation. 3. Time discretization - Algebraic System (Ax=b).  Explicit Schemes / Implicit Schemes Fourth step: Iterative solution of the algebraic equation:  Solving systems of linear equations: o Direct Methods: Gaussian elimination, LU decomposition. o Iterative Methods: Strongly Implicit Procedure (SIP) , Alternating Direction Implicit (ADI) , Tridiagonal Matrix Algorithm (TDMA), Runge-Kutta method, Multigrid method.  Coupled systems of equations.  Nonlinear Equations  Methods for transient problems: Linear multistep method etc.
  • 6. Convergence: Check if the iterations converge.  Residuals (Decrease by three orders of magnitude indicate at least qualitative convergence).  Mass, Momentum, Energy, and Scalar balances are achieved. Fifth step: Simulation Run: Once the problem is well defined with the boundary conditions, and if necessary with initial conditions, the problem is solved with a software. Open∇FOAM is a popular option for a solver which is used by several companies that provide CFD software. SimScale is among them. Sixth step: Post-Processing: Looking at the solutions from the the computed flow.  Post-Processing of integral parameters (Drag, Lift etc.)  Visualization in different dimensions: o 1-D: Straight lines o 2-D: Contour plots, Streamlines o 3-D: Isosurfaces, Isovolumes, Streamtracer o Animation of the flow  Statistical analysis Seventh step: According to AIAA (1998) & Oberkampf and Trucano (2002) the following terminology is widely used and accepted: Verification (“Are we solving the equations right?”) : → Quantification of errors  Compare results with analytical solutions if possible. If we ignore the fact that there might be coding errors and user errors, we can examine the following:  Roundoff Error
  • 7.  Iterative Convergence Error  Discretization Error Validation (“Are we solving the right equations?”) : → Quantification of input & physical model uncertainty  Input uncertainty  Physical uncertainty General tips Influencing parameters for computation times in CFD  Code used in order to solve the flow (→ MPI, Vectorization)  Hardware (CPU, RAM, etc.)  Mesh size / Mesh Quality  Algorithms  Solvers REFRENCES Literature References:  Laurien & Oertel: Numerische Strömungsmechanik - Grundgleichungen und Modelle - Lösungsmethoden - Qualität und Genauigkeit  Versteeg & Malalasekera: An Introduction to Computational Fluid Dynamics - The Finite Volume Method - 2nd Edition  http://www.mathematik.uni-dortmund.de/~kuzmin/Transport.pdf 12  http://www.mathematik.uni-dortmund.de/~kuzmin/cfdintro/lecture1.pdf