Lecture Objectives Review SIMPLE CFD Algorithm SIMPLE Semi-Implicit Method for Pressure-Linked Equations Define Residual and Relaxation.

Slides:



Advertisements
Similar presentations
My First Fluid Project Ryan Schmidt. Outline MAC Method How far did I get? What went wrong? Future Work.
Advertisements

8-2: Solving Systems of Equations using Substitution
Turbulent Models.  DNS – Direct Numerical Simulation ◦ Solve the equations exactly ◦ Possible with today’s supercomputers ◦ Upside – very accurate if.
Lecture Objectives: Simple algorithm Boundary conditions.
MTM 144 ASPEN FLUENT Timeschedule ProgramLecturesTeaching assistance Fluent INTRO4h2h GAMBIT4h8h FLUENT6h14h ASPEN6h4h
Lectures on CFD Fundamental Equations
Coupled Fluid-Structural Solver CFD incompressible flow solver has been coupled with a FEA code to analyze dynamic fluid-structure coupling phenomena CFD.
Peyman Mostaghimi, Martin Blunt, Branko Bijeljic 11 th January 2010, Pore-scale project meeting Direct Numerical Simulation of Transport Phenomena on Pore-space.
12/21/2001Numerical methods in continuum mechanics1 Continuum Mechanics On the scale of the object to be studied the density and other fluid properties.
1 Systems of Linear Equations Iterative Methods. 2 B. Direct Methods 1.Jacobi method and Gauss Seidel 2.Relaxation method for iterative methods.
Derivation of the Gaussian plume model Distribution of pollutant concentration c in the flow field (velocity vector u ≡ u x, u y, u z ) in PBL can be generally.
Partial differential equations Function depends on two or more independent variables This is a very simple one - there are many more complicated ones.
Lecture 5 - Solution Methods Applied Computational Fluid Dynamics
Lecture Objectives: Review discretization methods for advection diffusion equation Accuracy Numerical Stability Unsteady-state CFD Explicit vs. Implicit.
© Fluent Inc. 9/5/2015L1 Fluids Review TRN Solution Methods.
Lecture Objectives: -Define turbulence –Solve turbulent flow example –Define average and instantaneous velocities -Define Reynolds Averaged Navier Stokes.
Next Class Final Project and Presentation – Prepare and me the ppt files 5-7 slides Introduce your problem (1-2 slides) – Problem – Why CFD? Methods.
ME451 Kinematics and Dynamics of Machine Systems Numerical Solution of DAE IVP Newmark Method November 1, 2013 Radu Serban University of Wisconsin-Madison.
1 Discretization of Fluid Models (Navier Stokes) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal.
Lecture Objectives: Analyze the unsteady-state heat transfer Conduction Introduce numerical calculation methods Explicit – Implicit methods.
3-2 Solving Equations by Using Addition and Subtraction Objective: Students will be able to solve equations by using addition and subtraction.
© Fluent Inc. 10/26/ Introductory FLUENT Notes FLUENT v6.0 Jan 2002 Fluent User Services Center Solver Settings.
Lecture Objectives: Explicit vs. Implicit Residual, Stability, Relaxation Simple algorithm.
1 Discretization of Fluid Models (Navier Stokes) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal.
Lecture Objectives Unsteady State Simulation Example Modeling of PM.
Using the Segregated and Coupled Solvers
Lecture Objectives Review Define Residual and Relaxation SIMPLE CFD Algorithm SIMPLE Semi-Implicit Method for Pressure-Linked Equations.
Modeling of the Unsteady Separated Flow over Bilge Keels of FPSO Hulls under Heave or Roll Motions Yi-Hsiang Yu 09/23/04 Copies of movies/papers and today’s.
Chapter 3 –Systems of Linear Equations
Do Now (3x + y) – (2x + y) 4(2x + 3y) – (8x – y)
Solving Linear Equations Substitution. Find the common solution for the system y = 3x + 1 y = x + 5 There are 4 steps to this process Step 1:Substitute.
FALL 2015 Esra Sorgüven Öner
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Solving Linear Systems by Substitution
Solve Linear Systems by Substitution January 28, 2014 Pages
Part 3 Chapter 12 Iterative Methods
Lecture Objectives Meshing Unsteady State CFD.
Lecture Objectives: Review discretization methods for advection diffusion equation –Accuracy –Numerical Stability Unsteady-state CFD –Explicit vs. Implicit.
Lecture Objectives: Define 1) Reynolds stresses and
Lecture Objectives -Analyze some examples related to natural ventilation.
Lecture Objectives: - Numerics. Finite Volume Method - Conservation of  for the finite volume w e w e l h n s P E W xx xx xx - Finite volume.
DEPARTMENT OF MECHANICAL ENGINEERING K.I.E.T, GHAZIABAD NUMERICAL ANALYSIS OF FLUID FLOW AND HEAT TRANSFER IN MICROCHANNEL UNDER THE GUIDANCE OF Mr. Deepak.
Substitution Method: Solve the linear system. Y = 3x + 2 Equation 1 x + 2y=11 Equation 2.
Entry Task   by.
Objective Numerical methods SIMPLE CFD Algorithm Define Relaxation
“Solve the equations right” Mathematical problem Validation :
Lecture Objectives: Review Explicit vs. Implicit
© Fluent Inc. 1/10/2018L1 Fluids Review TRN Solution Methods.
3-2: Solving Systems of Equations using Substitution
Objective Review Reynolds Navier Stokes Equations (RANS)
Lecture Objectives: Advance discretization methods
Objective Unsteady state Numerical methods Discretization
Objective Numerical methods.
Solve a system of linear equation in two variables
3-2: Solving Systems of Equations using Substitution
Solving Systems of Equations using Substitution
Conservation of momentum
3-2: Solving Systems of Equations using Substitution
Objective Numerical methods Finite volume.
Lecture Objectives Review for exam Discuss midterm project
Lecture Objectives: Simple Algorithm vs. Direct Solvers Discuss HW 3
Objective Reynolds Navier Stokes Equations (RANS) Numerical methods.
Topic9_Pressure_Correction
3-2: Solving Systems of Equations using Substitution
Engineering Analysis ENG 3420 Fall 2009
3-2: Solving Systems of Equations using Substitution
3-2: Solving Systems of Equations using Substitution
3-2: Solving Systems of Equations using Substitution
3-2: Solving Systems of Equations using Substitution
Section 4.2 Solving a System of Equations in Two Variables by the Substitution Method.
Presentation transcript:

Lecture Objectives Review SIMPLE CFD Algorithm SIMPLE Semi-Implicit Method for Pressure-Linked Equations Define Residual and Relaxation

Review Conservation equations Turbulent flow and turbulence modeling RANS Equation Discretization System of equation and solution methods –Accuracy –Numerical stability of solution procedure Solution algorithm (new today)

Navier Stokes Equations In order to use linear equation solver we need to solve two problems: 1)find velocities that constitute in advection coefficients 2) link pressure field with continuity equation This velocities that constitute advection coefficients: F=  V Pressure is in momentum equations which already has one unknown Continuity equation Momentum x Momentum y Momentum z

Pressure and velocities in NS equations How to find velocities that constitute in advection coefficients? For the first step use Initial guess And for next iterative steps use the values from previous iteration

Pressure and velocities in NS equations How to link pressure field with continuity equation? SIMPLE ( Semi-Implicit Method for Pressure-Linked Equations ) algorithm The momentum equations can be solved only when the pressure field is given or is somehow estimated. Use * for estimated pressure and the corresponding velocities P E W xx xx xx Ae Aw Aw=Ae=A side We have two additional equations for y and x directions

SIMPLE algorithm Guess pressure field: P* W, P* P, P* E, P* N, P* S, P* H, P* L 1) For this pressure field solve system of equations: Solution is: x: y: z: ……………….. P = P* + P’ 2) The pressure and velocity correction P’ – pressure correction V = V* + f(P’) For all nodes E,W,N,S,… V’ – velocity correction Substitute P=P* + P’ into momentum equations (simplify equation) and obtain 3) Substitute V = V* + f(P’) into continuity equation solve P’ and then V V’=f(P’) V = V* + V’ 4) Solve T, k,  equations

SIMPLE algorithm Step1: solve V* from momentum equations Step2: introduce correction P’ and express V = V* + f(P’) Step3: substitute V into continuity equation solve P’ and then V Step4: Solve T, k, e equations Guess p* start end Converged (residual check) yes no p=p*

Other methods SIMPLER SIMPLEC variation of SIMPLE PISO COUPLED - use Jacobeans of nonlinear velocity functions to form linear matrix ( and avoid iteration )

Residual Example: x-exp(1/x)-2=0 Find x using iteration Explicit form 1: x=exp(1/x)+2 Explicit form 2: x=1/(ln(x)-ln(2)) Solution process: Guess x 0 Iteration : x 1 =exp(1/x 0 )+2, R 1 =x 1 -x 0 X 2 =exp(1/x 1 )+2, R 2 =x 2 -x 1 …….. ……. Not all iteration process converge! See the example for the same equation

Convergence example Explicit form 2: x=1/(ln(x)-ln(2)

Residual calculation for CFD Residual for the cell R  ijk =  k ijk -  k-1 ijk Total residual for the simulation domain R  total =  R  ijk | Scaled (normalized) residual R  =  R  ijk |/F  iteration cell position Variable: p,V,T,… For all cells Flux of variable  used for normalization Vary for different CFD software

Relaxation Relaxation with iterative solvers: When the equations are nonlinear it can happen that you get divergency in iterative procedure for solving considered time step Under-Relaxation is often required when you have nonlinear equations! iteration convergence variable divergence solution Solution is Under-Relaxation: Y*=f·Y(n)+(1-f)·Y(n-1) Y – considered parameter, n –iteration, f – relaxation factor For our example Y* in iteration 101 =f·Y(100)+(1-f) ·Y(99) f = [0-1] – under-relaxation -stabilize the iteration f = [1-2] – over-relaxation - speed-up the convergence Value which is should be used for the next iteration

Example of relaxation (example from homework 3 assignment) Example: Advection diffusion equation, 1-D, steady-state, 4 nodes ) Explicit format: 2) Guess initial values: 3) Substitute and calculate: 4) …………………………. Substitute and calculate: