320 likes | 340 Views
Title of Presentation. Introduction of Computational Fluid Dynamics. by Wangda Zuo M.Sc. –Student of Computational Engineering Lehrstuhl für Strömungsmechanik FAU Erlangen-Nürnberg Cauerstr. 4, D-91058 Erlangen JASS 2005, St. Petersburg. 1. Contents.
E N D
Title of Presentation Introduction of Computational Fluid Dynamics by Wangda Zuo M.Sc. –Student of Computational Engineering Lehrstuhl für Strömungsmechanik FAU Erlangen-NürnbergCauerstr. 4, D-91058 Erlangen JASS 2005, St. Petersburg 1
Contents • What is Computational Fluid Dynamics(CFD)? • Why and where use CFD? • Physics of Fluid • Navier-Stokes Equation • Numerical Discretization • Grids • Boundary Conditions • Numerical Staff • Case Study: Backward-Facing Step
What is CFD? Comparison&Analysis Fluid Mechanics Simulation Results Physics of Fluid Mathematics Computer Navier-Stokes Equations Computer Program Programming Language Numerical Methods Geometry Discretized Form Grids Fluid Problem C F D
Contents • What is Computational Fluid Dynamics(CFD)? • Why and where use CFD? • Physics of Fluid • Navier-Stokes Equation • Numerical Discretization • Grids • Boundary Conditions • Numerical Staff • Case Study: Backward-Facing Step
Where use CFD? Aerospace • Aerospace • Automotive • Biomedical • Chemical Processing • HVAC • Hydraulics • Power Generation • Sports • Marine Biomedicine Automotive Temperature and natural convection currents in the eye following laser heating.
Where use CFD? Streamlines for workstation ventilation Chemical Processing • Aerospacee • Automotive • Biomedical • Chemical Processing • HVAC(Heat Ventilation Air Condition) • Hydraulics • Power Generation • Sports • Marine reactor vessel - prediction of flow separation and residence time effects. Hydraulics HVAC
Where use CFD? Sports Power Generation • Aerospace • Automotive • Biomedical • Chemical Processing • HVAC • Hydraulics • Power Generation • Sports • Marine Flow around cooling towers Marine
Contents • What is Computational Fluid Dynamics(CFD)? • Why and where use CFD? • Physics of Fluid • Navier-Stokes Equation • Numerical Discretization • Grids • Boundary Conditions • Numerical Staff • Case Study: Backward-Facing Step
Density ρ • Viscosity μ: resistance to flow of a fluid Physics of Fluid • Fluid = Liquid + Gas
Contents • What is Computational Fluid Dynamics(CFD)? • Why and where use CFD? • Physics of Fluid • Navier-Stokes Equation • Numerical Discretization • Grids • Boundary Conditions • Numerical Staff • Case Study: Backward-Facing Step
Conservation Law in M out Mass Momentum Energy
Incompressible Navier-Stokes Equation I • Mass ConservationContinuity Equation Compressible
Navier-Stokes Equation II • Momentum ConservationMomentum Equation I : Local change with time II : Momentum convection III: Surface force IV: Molecular-dependent momentum exchange(diffusion) V: Mass force
Navier-Stokes Equation III • Momentum Equation for Incompressible Fluid
Navier-Stokes Equation IV • Energy ConservationEnergy Equation I : Local energy change with time II: Convective term III: Pressure work IV: Heat flux(diffusion) V: Irreversible transfer of mechanical energy into heat
Contents • What is Computational Fluid Dynamics(CFD)? • Why and where use CFD? • Physics of Fluid • Navier-Stokes Equation • Numerical Discretization • Grids • Boundary Conditions • Numerical Staff • Case Study: Backward-Facing Step
Discretization Discretization Analytical Equations Discretized Equations • Discretization Methods • Finite Difference Straightforward to apply, simple, sturctured grids • Finite Element Any geometries • Finite Volume Conservation, any geometries
Integrate over the Control Volume(CV) Integral Form of Navier-Stokes Equation Source in CV Local change with time in CV Flux Over the CV Surface Finite Volume I General Form of Navier-Stokes Equation Local change with time Flux Source
A B Finite Volume II Conservation of Finite Volume Method A B
Approximation of Surface Integrals ( Midpoint Rule) Interpolation Upwind Central Finite Volume III Approximation of Volume Integrals
Whole Domain Discretization of Continuity Equation One Control Volume
Time Discretization Explicit Implicit Discretization of Navier-Stokes Equation • FV Discretization of Incompressible N-S Equation Unsteady Convection Diffusion Source
Contents • What is Computational Fluid Dynamics(CFD)? • Why and where use CFD? • Physics of Fluid • Navier-Stokes Equation • Numerical Discretization • Grids • Boundary Conditions • Numerical Staff • Case Study: Backward-Facing Step
Grids • Structured Grid + all nodes have the same number of elements around it • only for simple domains • Unstructured Grid + for all geometries • irregular data structure • Block Structured Grid
Contents • What is Computational Fluid Dynamics(CFD)? • Why and where use CFD? • Physics of Fluid • Navier-Stokes Equation • Numerical Discretization • Grids • Boundary Conditions • Numerical Staff • Case Study: Backward-Facing Step
No-slip walls: u=0,v=0 Outlet, du/dx=0 dv/dy=0,dp/dx=0 Inlet ,u=c,v=0 r Periodic boundary condition in spanwise direction of an airfoil v=0, dp/dr=0,du/dr=0 o x Axisymmetric Boundary Conditions • Typical Boundary Conditions No-slip(Wall), Axisymmetric, Inlet, Outlet, Periodic
Contents • What is Computational Fluid Dynamics(CFD)? • Why and where use CFD? • Physics of Fluid • Navier-Stokes Equation • Numerical Discretization • Grids • Boundary Conditions • Numerical Staff • Case Study: Backward-Facing Step
Numerical Parameters • Under relaxation factor, convergence limit, etc. • Multigrid, Parallelization • Monitor residuals (change of results between iterations) • Number of iterations for steady flow or number of time steps for unsteady flow • Single/double precisions Solver and Numerical Parameters • Solvers • Direct: Cramer’s rule, Gauss elimination, LU decomposition • Iterative: Jacobi method, Gauss-Seidel method, SOR method
Contents • What is Computational Fluid Dynamics(CFD)? • Why and where use CFD? • Physics of Fluid • Navier-Stokes Equation • Numerical Discretization • Grids • Boundary Conditions • Numerical Staff • Case Study: Backward-Facing Step
Case Study • Backward-Facing Step Wall u Wall