Transient, Source Terms and Relaxation

Size: px
Start display at page:

Download "Transient, Source Terms and Relaxation"

Transcription

1 F. Moukalled L. Mangani M. Darwish An Advanced Introduction with OpenFOAM and Matlab This textbook explores both the theoretical foundation of the Finite Volume Method (FVM) and its applications in Computational Fluid Dynamics (CFD). Readers will discover a thorough explanation of the FVM numerics and algorithms used in the simulation of incompressible and compressible fluid flows, along with a detailed examination of the components needed for the development of a collocated unstructured pressure-based CFD solver. Two particular CFD codes are explored. The first is ufvm, a three-dimensional unstructured pressure-based finite volume academic CFD code, implemented within Matlab. The second is OpenFOAM, an open source framework used in the development of a range of CFD programs for the simulation of industrial scale flow problems. FMIA Moukalled Mangani Darwish Fluid Mechanics and Its Applications 113 Series Editor: A. Thess The Finite Volume Method in Computational Fluid Dynamics With over 220 figures, numerous examples and more than one hundred exercises on FVM numerics, programming, and applications, this textbook is suitable for use in an introductory course on the FVM, in an advanced course on CFD algorithms, and as a reference for CFD programmers and researchers. Fluid Mechanics and Its Applications F. Moukalled L. Mangani M. Darwish The Finite Volume Method in Computational Fluid Dynamics The Finite Volume Method in Computational Fluid Dynamics An Advanced Introduction with OpenFOAM and Matlab Engineering ISBN Transient, Source Terms and Relaxation Chapter 14 to review

2 Source Term Discretization

3 Source Term F 1 F 2 Diffusion f 2 f 1 Convection Transient C F 3 f 3 Source/ Sink f 6 F 6 f 4 F 4 F 5 f 5! # # # # # # # # # "#!!!!! a F1 a F2 a F3!!!!!! $! &# &# &# &# &# &# &# &# &# %& "# φ C $! & # & # & # & # & = b C # & # & # & # & # %& "# $ & & & & & & & & & %&

4 Source Term Linearization ( ) Q φ φ (n+1) + ( ) Q (n+1) = Q (n) + Q φ φ V P ( ) Pr evious iteration value (n+1) a NB = QV P ( Q (n+1) Q (n) ) ( ) Q = Q( φ) = Q (n) Q φ φ Q(n) + Q φ φ Q(n+1)!# #" ### $! #" ## $ (n+1) + (n+1) a NB Current iteration value = φ (n) (n) Q( φ ) φ -ve φ (n) V P

5 Example

6 Solution

7 Consequence

8 Relaxation

9 Under-Relaxation For non-linear problems, a common solution procedure is Picard Iteration Guess Φ Find coefficients ap, anb and bp Use Iterative solver to find new Φ Repeat until convergence No Guarantee to converge for strong non-linearities Control the amount of Φ from iteration to iteration using under-relaxation

10 Relaxation At each iteration, at each cell, a new value for variableφ in cell P can then be calculated from that equation. It is common to apply relaxation as follows: new, used Here α is the relaxation factor: = old + λ( new, predicted old ) α < 1 is underrelaxation. This may slow down speed of convergence but increases the stability of the calculation, i.e. it decreases the possibility of divergence or oscillations in the solutions. α = 1 corresponds to no relaxation. One uses the predicted value of the variable.

11 Recommendations Underrelaxation factors are there to suppress oscillations in the flow solution that result from numerical errors. Underrelaxation factors that are too small will significantly slow down convergence, sometimes to the extent that the user thinks the solution is converged when it really is not. The recommendation is to always use underrelaxation factors that are as high as possible, without resulting in oscillations or divergence. Typically one should stay with the default factors in the solver. When the solution is converged but the pressure residual is still relatively high, the factors for pressure and momentum

12 Under-Relaxation Consider Φ the correction to field Φ, from one iteration to another φ = φ + φ We want to control the amount of change introduced φ = φ + λ φ ( ) = φ + λ φ new iteration φ Where λ is some factor with 0<λ<1 b C φ C = φ * C + λ For the discrete equation φ C + The updated Φ value could be written b C asa NB φ C = NB(C ) a NB * φ C NB(C ) a NB = b P λ φ C + NB(C ) a NB λ = b C + ( 1 λ) * φ C λ ( ) b C b C + 1 λ * φ C λ

13 False Time-Step ( ρφ) t + ( ρvφ) = ( Γ φ) + S( φ,... ) ρv t old ( ) ρv t ( ) o ( + ) + a NB = b P + o o = ρv t

14 Relation between Transient and URF Factor = λ b P λ = Ε Ε +1 a NB + ( 1 λ)a P = E 1+ E b a P NB + 1 E 1+ E E + a NB = b P + 1 E a P t = E t t = ρ V

15 Implicit Relaxation + + φ P + a NB a NB = αb P + ( 1 α )b P = αb P + 1 α ( ) + a NB ( + ) ( ) φ P + a NB = b P + a NB = b P φ P + a NB + a NB + a NB = RES = αb P + 1 α ( ) φ P + a NB φ P + φ ( P + )+ = α b P a NB + α a NB = α b P a NB a NB ( + ) ( + ) + ( 1 α )a P + ( 1 α )φ P + α a NB = α b P φ P + a NB + α a NB = αres ( + ) + a NB = α b P φ P + a NB a P + a NB = αres

16 Convergence Criteria

17 Convergence The iterative process is repeated until the change in the variable from one iteration to the next becomes so small that the solution can be considered converged. At convergence: All discrete conservation equations (momentum, energy, etc.) are obeyed in all cells to a specified tolerance. The solution no longer changes with additional iterations. Mass, momentum, energy and scalar balances are obtained. Residuals measure imbalance (or error) in conservation equations. The absolute residual at point P is defined as: R P = nb a nb φ nb b

18 Residuals are usually scaled relative to the local value of the property φ in order to obtain a relative error: R C,scaled = φ C + They can also be normalized, by dividing them by the maximum residual that was found at any time during the iterative process. An overall measure of the residual in the domain is: a N φ N φ b C R = all cells φ C + φ a N φ N b C

19 Recommendations Always ensure proper convergence before using a solution: unconverged solutions can be misleading!! Solutions are converged when the flow field and scalar fields are no longer changing. Determining when this is the case can be difficult. It is most common to monitor the residuals.

20 Conclusion

The Finite Volume Mesh

The Finite Volume Mesh FMIA F Moukalled L Mangani M Darwish An Advanced Introduction with OpenFOAM and Matlab This textbook explores both the theoretical foundation of the Finite Volume Method (FVM) and its applications in Computational

More information

Solving the Navier-Stokes Equations

Solving the Navier-Stokes Equations FMIA F. Moukalled L. Mangani M. Darwish An Advanced Introduction with OpenFOAM and Matlab This textbook explores both the theoretical oundation o the Finite Volume Method (FVM) and its applications in

More information

The Finite Volume Method in

The Finite Volume Method in FMIA F Moukalled L Mangani M Darwish An Advanced Introduction with OpenFOAM and Matlab This textbook explores both the theoretical oundation o the Finite Volume Method (FVM) and its applications in omputational

More information

FMIA. Fluid Mechanics and Its Applications 113 Series Editor: A. Thess. Moukalled Mangani Darwish. F. Moukalled L. Mangani M.

FMIA. Fluid Mechanics and Its Applications 113 Series Editor: A. Thess. Moukalled Mangani Darwish. F. Moukalled L. Mangani M. FMIA F. Moukalled L. Mangani M. Darwish An Advanced Introduction with OpenFOAM and Matlab This textbook explores both the theoretical foundation of the Finite Volume Method (FVM) and its applications in

More information

The Discretization Process

The Discretization Process FMIA F Moukalled L Mangan M Darwsh An Advanced Introducton wth OpenFOAM and Matlab Ths textbook explores both the theoretcal foundaton of the Fnte Volume Method (FVM) and ts applcatons n Computatonal Flud

More information

IMPLEMENTATION OF A PARALLEL AMG SOLVER

IMPLEMENTATION OF A PARALLEL AMG SOLVER IMPLEMENTATION OF A PARALLEL AMG SOLVER Tony Saad May 2005 http://tsaad.utsi.edu - tsaad@utsi.edu PLAN INTRODUCTION 2 min. MULTIGRID METHODS.. 3 min. PARALLEL IMPLEMENTATION PARTITIONING. 1 min. RENUMBERING...

More information

5. FVM discretization and Solution Procedure

5. FVM discretization and Solution Procedure 5. FVM discretization and Solution Procedure 1. The fluid domain is divided into a finite number of control volumes (cells of a computational grid). 2. Integral form of the conservation equations are discretized

More information

A finite-volume algorithm for all speed flows

A finite-volume algorithm for all speed flows A finite-volume algorithm for all speed flows F. Moukalled and M. Darwish American University of Beirut, Faculty of Engineering & Architecture, Mechanical Engineering Department, P.O.Box 11-0236, Beirut,

More information

SOE3213/4: CFD Lecture 3

SOE3213/4: CFD Lecture 3 CFD { SOE323/4: CFD Lecture 3 @u x @t @u y @t @u z @t r:u = 0 () + r:(uu x ) = + r:(uu y ) = + r:(uu z ) = @x @y @z + r 2 u x (2) + r 2 u y (3) + r 2 u z (4) Transport equation form, with source @x Two

More information

Coupled calculations in OpenFOAM -

Coupled calculations in OpenFOAM - Coupled calculations in OpenFOAM - Multiphysics handling, structures and solvers, Gothenburg Region OpenFOAM User Group Meeting Klas Jareteg Chalmers University of Technology November 14, 2012 Outline

More information

ME 608 Numerical Methods in Heat, Mass, and Momentum Transfer

ME 608 Numerical Methods in Heat, Mass, and Momentum Transfer ME 608 Numerical Methods in Heat, Mass, and Momentum Transfer Solution to Final Examination Date: May 4, 2011 1:00 3:00 PM Instructor: J. Murthy Open Book, Open Notes Total: 100 points Use the finite volume

More information

OpenFOAM selected solver

OpenFOAM selected solver OpenFOAM selected solver Roberto Pieri - SCS Italy 16-18 June 2014 Introduction to Navier-Stokes equations and RANS Turbulence modelling Numeric discretization Navier-Stokes equations Convective term {}}{

More information

Project 4: Navier-Stokes Solution to Driven Cavity and Channel Flow Conditions

Project 4: Navier-Stokes Solution to Driven Cavity and Channel Flow Conditions Project 4: Navier-Stokes Solution to Driven Cavity and Channel Flow Conditions R. S. Sellers MAE 5440, Computational Fluid Dynamics Utah State University, Department of Mechanical and Aerospace Engineering

More information

Tutorial 11. Use of User-Defined Scalars and User-Defined Memories for Modeling Ohmic Heating

Tutorial 11. Use of User-Defined Scalars and User-Defined Memories for Modeling Ohmic Heating Tutorial 11. Use of User-Defined Scalars and User-Defined Memories for Modeling Ohmic Heating Introduction The purpose of this tutorial is to illustrate the use of user-defined scalars (UDS) and user defined

More information

Express Introductory Training in ANSYS Fluent Lecture 2 Boundary Conditions & Solver Settings

Express Introductory Training in ANSYS Fluent Lecture 2 Boundary Conditions & Solver Settings Express Introductory Training in ANSYS Fluent Lecture 2 Boundary Conditions & Solver Settings Dimitrios Sofialidis Technical Manager, SimTec Ltd. Mechanical Engineer, PhD PRACE Autumn School 2013 - Industry

More information

Calculating equation coefficients

Calculating equation coefficients Fluid flow Calculating equation coefficients Construction Conservation Equation Surface Conservation Equation Fluid Conservation Equation needs flow estimation needs radiation and convection estimation

More information

Pressure-velocity correction method Finite Volume solution of Navier-Stokes equations Exercise: Finish solving the Navier Stokes equations

Pressure-velocity correction method Finite Volume solution of Navier-Stokes equations Exercise: Finish solving the Navier Stokes equations Today's Lecture 2D grid colocated arrangement staggered arrangement Exercise: Make a Fortran program which solves a system of linear equations using an iterative method SIMPLE algorithm Pressure-velocity

More information

PDE Solvers for Fluid Flow

PDE Solvers for Fluid Flow PDE Solvers for Fluid Flow issues and algorithms for the Streaming Supercomputer Eran Guendelman February 5, 2002 Topics Equations for incompressible fluid flow 3 model PDEs: Hyperbolic, Elliptic, Parabolic

More information

Draft Notes ME 608 Numerical Methods in Heat, Mass, and Momentum Transfer

Draft Notes ME 608 Numerical Methods in Heat, Mass, and Momentum Transfer Draft Notes ME 608 Numerical Methods in Heat, Mass, and Momentum Transfer Instructor: Jayathi Y. Murthy School of Mechanical Engineering Purdue University Spring 00 c 1998 J.Y. Murthy and S.R. Mathur.

More information

Rhie-Chow interpolation in OpenFOAM 1

Rhie-Chow interpolation in OpenFOAM 1 Rhie-Chow interpolation in OpenFOAM 1 Fabian Peng Kärrholm Department of Applied Mechanics Chalmers Univesity of Technology Göteborg, Sweden, 2006 1 Appendix from Numerical Modelling of Diesel Spray Injection

More information

OpenFOAM SIMULATION OF THE FLOW IN THE HÖLLEFORSEN DRAFT TUBE MODEL

OpenFOAM SIMULATION OF THE FLOW IN THE HÖLLEFORSEN DRAFT TUBE MODEL Turbine-99 III Proceedings of the third IAHR/ERCOFTAC workshop on draft tube flow 8-9 December 2005, Porjus, Sweden Paper No. 8 OpenFOAM SIMULATION OF THE FLOW IN THE HÖLLEFORSEN DRAFT TUBE MODEL Nilsson

More information

2.29 Numerical Fluid Mechanics Fall 2011 Lecture 5

2.29 Numerical Fluid Mechanics Fall 2011 Lecture 5 .9 Numerical Fluid Mechanics Fall 011 Lecture 5 REVIEW Lecture 4 Roots of nonlinear equations: Open Methods Fixed-point Iteration (General method or Picard Iteration), with examples Iteration rule: x g(

More information

Computation of Incompressible Flows: SIMPLE and related Algorithms

Computation of Incompressible Flows: SIMPLE and related Algorithms Computation of Incompressible Flows: SIMPLE and related Algorithms Milovan Perić CoMeT Continuum Mechanics Technologies GmbH milovan@continuummechanicstechnologies.de SIMPLE-Algorithm I - - - Consider

More information

Large Scale Fluid-Structure Interaction by coupling OpenFOAM with external codes

Large Scale Fluid-Structure Interaction by coupling OpenFOAM with external codes Large Scale Fluid-Structure Interaction by coupling OpenFOAM with external codes Thomas Gallinger * Alexander Kupzok Roland Wüchner Kai-Uwe Bletzinger Lehrstuhl für Statik Technische Universität München

More information

FVM for Fluid-Structure Interaction with Large Structural Displacements

FVM for Fluid-Structure Interaction with Large Structural Displacements FVM for Fluid-Structure Interaction with Large Structural Displacements Željko Tuković and Hrvoje Jasak Zeljko.Tukovic@fsb.hr, h.jasak@wikki.co.uk Faculty of Mechanical Engineering and Naval Architecture

More information

Dan s Morris s Notes on Stable Fluids (Jos Stam, SIGGRAPH 1999)

Dan s Morris s Notes on Stable Fluids (Jos Stam, SIGGRAPH 1999) Dan s Morris s Notes on Stable Fluids (Jos Stam, SIGGRAPH 1999) This is intended to be a detailed by fairly-low-math explanation of Stam s Stable Fluids, one of the key papers in a recent series of advances

More information

Diffusion / Parabolic Equations. PHY 688: Numerical Methods for (Astro)Physics

Diffusion / Parabolic Equations. PHY 688: Numerical Methods for (Astro)Physics Diffusion / Parabolic Equations Summary of PDEs (so far...) Hyperbolic Think: advection Real, finite speed(s) at which information propagates carries changes in the solution Second-order explicit methods

More information

Solution Methods. Steady State Diffusion Equation. Lecture 04

Solution Methods. Steady State Diffusion Equation. Lecture 04 Solution Methods Steady State Diffusion Equation Lecture 04 1 Solution methods Focus on finite volume method. Background of finite volume method. Discretization example. General solution method. Convergence.

More information

Transport equation cavitation models in an unstructured flow solver. Kilian Claramunt, Charles Hirsch

Transport equation cavitation models in an unstructured flow solver. Kilian Claramunt, Charles Hirsch Transport equation cavitation models in an unstructured flow solver Kilian Claramunt, Charles Hirsch SHF Conference on hydraulic machines and cavitation / air in water pipes June 5-6, 2013, Grenoble, France

More information

SIMPLE Algorithm for Two-Dimensional Channel Flow. Fluid Flow and Heat Transfer

SIMPLE Algorithm for Two-Dimensional Channel Flow. Fluid Flow and Heat Transfer SIMPLE Algorithm for Two-Dimensional Channel Flow Fluid Flow and Heat Transfer by Professor Jung-Yang San Mechanical Engineering Department National Chung Hsing University Two-dimensional, transient, incompressible

More information

ME 608 Numerical Methods in Heat, Mass, and Momentum Transfer. q 0 = εσ ( T 4 T 4) Figure 1: Computational Domain for Problem 1.

ME 608 Numerical Methods in Heat, Mass, and Momentum Transfer. q 0 = εσ ( T 4 T 4) Figure 1: Computational Domain for Problem 1. ME 68 Numerical Methods in Heat, Mass, and Momentum Transfer Mid-Term Examination Solution Date: March 1, 21 6: 8: PM Instructor: J. Murthy Open Book, Open Notes Total: 1 points 1. Consider steady 1D conduction

More information

Overview of Convection Heat Transfer

Overview of Convection Heat Transfer Overview of Convection Heat Transfer Lecture Notes for ME 448/548 Gerald Recktenwald March 16, 2006 1 Introduction CFD is a powerful tool for engineering design involving fluid flow and heat transfer.

More information

Computation for the Backward Facing Step Test Case with an Open Source Code

Computation for the Backward Facing Step Test Case with an Open Source Code Computation for the Backward Facing Step Test Case with an Open Source Code G.B. Deng Equipe de Modélisation Numérique Laboratoire de Mécanique des Fluides Ecole Centrale de Nantes 1 Rue de la Noë, 44321

More information

A 2-D Test Problem for CFD Modeling Heat Transfer in Spent Fuel Transfer Cask Neutron Shields. G Zigh and J Solis U.S. Nuclear Regulatory Commission

A 2-D Test Problem for CFD Modeling Heat Transfer in Spent Fuel Transfer Cask Neutron Shields. G Zigh and J Solis U.S. Nuclear Regulatory Commission CFD4NRS2010 A 2-D Test Problem for CFD Modeling Heat Transfer in Spent Fuel Transfer Cask Neutron Shields G Zigh and J Solis U.S. Nuclear Regulatory Commission Abstract JA Fort Pacific Northwest National

More information

ALGEBRAIC FLUX CORRECTION FOR FINITE ELEMENT DISCRETIZATIONS OF COUPLED SYSTEMS

ALGEBRAIC FLUX CORRECTION FOR FINITE ELEMENT DISCRETIZATIONS OF COUPLED SYSTEMS Int. Conf. on Computational Methods for Coupled Problems in Science and Engineering COUPLED PROBLEMS 2007 M. Papadrakakis, E. Oñate and B. Schrefler (Eds) c CIMNE, Barcelona, 2007 ALGEBRAIC FLUX CORRECTION

More information

Workshop on Iterative Errors in Unsteady Flow Simulations L. Eça, G. Vaz and M. Hoekstra. 3-5 May 2017

Workshop on Iterative Errors in Unsteady Flow Simulations L. Eça, G. Vaz and M. Hoekstra. 3-5 May 2017 Workshop on Iterative Errors in Unsteady Flow Simulations L. Eça, G. Vaz and M. Hoekstra 3-5 May 2017 Contents Objective Test Case - Definition of flow problem - Quantities of interest Participants Overview

More information

Two-Dimensional Unsteady Flow in a Lid Driven Cavity with Constant Density and Viscosity ME 412 Project 5

Two-Dimensional Unsteady Flow in a Lid Driven Cavity with Constant Density and Viscosity ME 412 Project 5 Two-Dimensional Unsteady Flow in a Lid Driven Cavity with Constant Density and Viscosity ME 412 Project 5 Jingwei Zhu May 14, 2014 Instructor: Surya Pratap Vanka 1 Project Description The objective of

More information

Micro-Scale CFD Modeling of Packed-Beds

Micro-Scale CFD Modeling of Packed-Beds Micro-Scale CFD Modeling of Packed-Beds Daniel P. Combest and Dr. P.A. Ramachandran and Dr. M.P. Dudukovic Chemical Reaction Engineering Laboratory (CREL) Department of Energy, Environmental, and Chemical

More information

IMPLEMENTATION OF PRESSURE BASED SOLVER FOR SU2. 3rd SU2 Developers Meet Akshay.K.R, Huseyin Ozdemir, Edwin van der Weide

IMPLEMENTATION OF PRESSURE BASED SOLVER FOR SU2. 3rd SU2 Developers Meet Akshay.K.R, Huseyin Ozdemir, Edwin van der Weide IMPLEMENTATION OF PRESSURE BASED SOLVER FOR SU2 3rd SU2 Developers Meet Akshay.K.R, Huseyin Ozdemir, Edwin van der Weide Content ECN part of TNO SU2 applications at ECN Incompressible flow solver Pressure-based

More information

Math 1080: Numerical Linear Algebra Chapter 4, Iterative Methods

Math 1080: Numerical Linear Algebra Chapter 4, Iterative Methods Math 1080: Numerical Linear Algebra Chapter 4, Iterative Methods M. M. Sussman sussmanm@math.pitt.edu Office Hours: MW 1:45PM-2:45PM, Thack 622 March 2015 1 / 70 Topics Introduction to Iterative Methods

More information

Newton s Method and Efficient, Robust Variants

Newton s Method and Efficient, Robust Variants Newton s Method and Efficient, Robust Variants Philipp Birken University of Kassel (SFB/TRR 30) Soon: University of Lund October 7th 2013 Efficient solution of large systems of non-linear PDEs in science

More information

Introduction. Math 1080: Numerical Linear Algebra Chapter 4, Iterative Methods. Example: First Order Richardson. Strategy

Introduction. Math 1080: Numerical Linear Algebra Chapter 4, Iterative Methods. Example: First Order Richardson. Strategy Introduction Math 1080: Numerical Linear Algebra Chapter 4, Iterative Methods M. M. Sussman sussmanm@math.pitt.edu Office Hours: MW 1:45PM-2:45PM, Thack 622 Solve system Ax = b by repeatedly computing

More information

Chapter 5. Methods for Solving Elliptic Equations

Chapter 5. Methods for Solving Elliptic Equations Chapter 5. Methods for Solving Elliptic Equations References: Tannehill et al Section 4.3. Fulton et al (1986 MWR). Recommended reading: Chapter 7, Numerical Methods for Engineering Application. J. H.

More information

1 Exercise: Linear, incompressible Stokes flow with FE

1 Exercise: Linear, incompressible Stokes flow with FE Figure 1: Pressure and velocity solution for a sinking, fluid slab impinging on viscosity contrast problem. 1 Exercise: Linear, incompressible Stokes flow with FE Reading Hughes (2000), sec. 4.2-4.4 Dabrowski

More information

Finite Volume Method

Finite Volume Method Finite Volume Method An Introduction Praveen. C CTFD Division National Aerospace Laboratories Bangalore 560 037 email: praveen@cfdlab.net April 7, 2006 Praveen. C (CTFD, NAL) FVM CMMACS 1 / 65 Outline

More information

Cranfield University, Cranfield, Bedfordshire, MK43 0AL, United Kingdom. Cranfield University, Cranfield, Bedfordshire, MK43 0AL, United Kingdom

Cranfield University, Cranfield, Bedfordshire, MK43 0AL, United Kingdom. Cranfield University, Cranfield, Bedfordshire, MK43 0AL, United Kingdom MultiScience - XXX. microcad International Multidisciplinary Scientific Conference University of Miskolc, Hungary, 21-22 April 2016, ISBN 978-963-358-113-1 NUMERICAL INVESTIGATION OF AN INCOMPRESSIBLE

More information

Computational Engineering

Computational Engineering Coordinating unit: 205 - ESEIAAT - Terrassa School of Industrial, Aerospace and Audiovisual Engineering Teaching unit: 220 - ETSEIAT - Terrassa School of Industrial and Aeronautical Engineering Academic

More information

Determining the Roots of Non-Linear Equations Part I

Determining the Roots of Non-Linear Equations Part I Determining the Roots of Non-Linear Equations Part I Prof. Dr. Florian Rupp German University of Technology in Oman (GUtech) Introduction to Numerical Methods for ENG & CS (Mathematics IV) Spring Term

More information

A Study on Numerical Solution to the Incompressible Navier-Stokes Equation

A Study on Numerical Solution to the Incompressible Navier-Stokes Equation A Study on Numerical Solution to the Incompressible Navier-Stokes Equation Zipeng Zhao May 2014 1 Introduction 1.1 Motivation One of the most important applications of finite differences lies in the field

More information

Stratified scavenging in two-stroke engines using OpenFOAM

Stratified scavenging in two-stroke engines using OpenFOAM Stratified scavenging in two-stroke engines using OpenFOAM Håkan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 1 Acknowledgements I would like to thank Associate Professor Håkan Nilsson at the

More information

An underrelaxation control method

An underrelaxation control method The current issue and full text archive of this journal is available at www.emeraldinsight.com/064-4401.htm An under-relaxation for accelerating the iteration convergence of flow field simulation C.H.

More information

Boundary Conditions - Inlet

Boundary Conditions - Inlet Boundary Conditions - Inlet Boundary Conditions Need? What is physical and mathematical significance of a boundary condition? The boundary conditions of any problem is used to define the upper and lower

More information

Development of an explicit pressure-based unstructured solver for three-dimensional incompressible flows with graphics hardware acceleration

Development of an explicit pressure-based unstructured solver for three-dimensional incompressible flows with graphics hardware acceleration Graduate Theses and Dissertations Graduate College 2012 Development of an explicit pressure-based unstructured solver for three-dimensional incompressible flows with graphics hardware acceleration Jordan

More information

3. FORMS OF GOVERNING EQUATIONS IN CFD

3. FORMS OF GOVERNING EQUATIONS IN CFD 3. FORMS OF GOVERNING EQUATIONS IN CFD 3.1. Governing and model equations in CFD Fluid flows are governed by the Navier-Stokes equations (N-S), which simpler, inviscid, form is the Euler equations. For

More information

Solution of the Two-Dimensional Steady State Heat Conduction using the Finite Volume Method

Solution of the Two-Dimensional Steady State Heat Conduction using the Finite Volume Method Ninth International Conference on Computational Fluid Dynamics (ICCFD9), Istanbul, Turkey, July 11-15, 2016 ICCFD9-0113 Solution of the Two-Dimensional Steady State Heat Conduction using the Finite Volume

More information

Numerical methods for the Navier- Stokes equations

Numerical methods for the Navier- Stokes equations Numerical methods for the Navier- Stokes equations Hans Petter Langtangen 1,2 1 Center for Biomedical Computing, Simula Research Laboratory 2 Department of Informatics, University of Oslo Dec 6, 2012 Note:

More information

2. FLUID-FLOW EQUATIONS SPRING 2019

2. FLUID-FLOW EQUATIONS SPRING 2019 2. FLUID-FLOW EQUATIONS SPRING 2019 2.1 Introduction 2.2 Conservative differential equations 2.3 Non-conservative differential equations 2.4 Non-dimensionalisation Summary Examples 2.1 Introduction Fluid

More information

Solution Methods. Steady convection-diffusion equation. Lecture 05

Solution Methods. Steady convection-diffusion equation. Lecture 05 Solution Methods Steady convection-diffusion equation Lecture 05 1 Navier-Stokes equation Suggested reading: Gauss divergence theorem Integral form The key step of the finite volume method is to integrate

More information

Advanced near-wall heat transfer modeling for in-cylinder flows

Advanced near-wall heat transfer modeling for in-cylinder flows International Multidimensional Engine Modeling User s Group Meeting at the SAE Congress April 20, 2015 Detroit, MI S. Šarić, B. Basara AVL List GmbH Advanced near-wall heat transfer modeling for in-cylinder

More information

Chapter 9 Implicit integration, incompressible flows

Chapter 9 Implicit integration, incompressible flows Chapter 9 Implicit integration, incompressible flows The methods we discussed so far work well for problems of hydrodynamics in which the flow speeds of interest are not orders of magnitude smaller than

More information

Heat Transfer Modeling using ANSYS FLUENT

Heat Transfer Modeling using ANSYS FLUENT Lecture 2 - Conduction Heat Transfer 14.5 Release Heat Transfer Modeling using ANSYS FLUENT 2013 ANSYS, Inc. March 28, 2013 1 Release 14.5 Agenda Introduction Energy equation in solids Equation solved

More information

Process Chemistry Toolbox - Mixing

Process Chemistry Toolbox - Mixing Process Chemistry Toolbox - Mixing Industrial diffusion flames are turbulent Laminar Turbulent 3 T s of combustion Time Temperature Turbulence Visualization of Laminar and Turbulent flow http://www.youtube.com/watch?v=kqqtob30jws

More information

A numerical study of vortex-induced vibrations (viv) in an elastic cantilever

A numerical study of vortex-induced vibrations (viv) in an elastic cantilever A numerical study of vortex-induced vibrations (viv) in an elastic cantilever Lorentzon, Johan; Austrell, Per Erik; Szász, Robert-Zoltán; Revstedt, Johan 2009 Link to publication Citation for published

More information

Conservation of Mass. Computational Fluid Dynamics. The Equations Governing Fluid Motion

Conservation of Mass. Computational Fluid Dynamics. The Equations Governing Fluid Motion http://www.nd.edu/~gtryggva/cfd-course/ http://www.nd.edu/~gtryggva/cfd-course/ Computational Fluid Dynamics Lecture 4 January 30, 2017 The Equations Governing Fluid Motion Grétar Tryggvason Outline Derivation

More information

JMBC Computational Fluid Dynamics I Exercises by A.E.P. Veldman

JMBC Computational Fluid Dynamics I Exercises by A.E.P. Veldman JMBC Computational Fluid Dynamics I Exercises by A.E.P. Veldman The exercises will be carried out on PC s in the practicum rooms. Several (Matlab and Fortran) files are required. How these can be obtained

More information

Line Search Methods. Shefali Kulkarni-Thaker

Line Search Methods. Shefali Kulkarni-Thaker 1 BISECTION METHOD Line Search Methods Shefali Kulkarni-Thaker Consider the following unconstrained optimization problem min f(x) x R Any optimization algorithm starts by an initial point x 0 and performs

More information

A Robust Preconditioned Iterative Method for the Navier-Stokes Equations with High Reynolds Numbers

A Robust Preconditioned Iterative Method for the Navier-Stokes Equations with High Reynolds Numbers Applied and Computational Mathematics 2017; 6(4): 202-207 http://www.sciencepublishinggroup.com/j/acm doi: 10.11648/j.acm.20170604.18 ISSN: 2328-5605 (Print); ISSN: 2328-5613 (Online) A Robust Preconditioned

More information

DEVELOPMENT OF CFD MODEL FOR A SWIRL STABILIZED SPRAY COMBUSTOR

DEVELOPMENT OF CFD MODEL FOR A SWIRL STABILIZED SPRAY COMBUSTOR DRAFT Proceedings of ASME IMECE: International Mechanical Engineering Conference & Exposition Chicago, Illinois Nov. 5-10, 2006 IMECE2006-14867 DEVELOPMENT OF CFD MODEL FOR A SWIRL STABILIZED SPRAY COMBUSTOR

More information

VALIDATION OF TURBULENT NATURAL CONVECTION IN A SQUARE CAVITY FOR APPLICATION OF CFD MODELLING TO HEAT TRANSFER AND FLUID FLOW IN ATRIA GEOMETRIES

VALIDATION OF TURBULENT NATURAL CONVECTION IN A SQUARE CAVITY FOR APPLICATION OF CFD MODELLING TO HEAT TRANSFER AND FLUID FLOW IN ATRIA GEOMETRIES VALIDATION OF TURBULENT NATURAL CONVECTION IN A SQUARE CAVITY FOR APPLICATION OF CFD MODELLING TO HEAT TRANSFER AND FLUID FLOW IN ATRIA GEOMETRIES C.A. Rundle and M.F. Lightstone Department of Mechanical

More information

Numerical simulation of fluid flow in a monolithic exchanger related to high temperature and high pressure operating conditions

Numerical simulation of fluid flow in a monolithic exchanger related to high temperature and high pressure operating conditions Advanced Computational Methods in Heat Transfer X 25 Numerical simulation of fluid flow in a monolithic exchanger related to high temperature and high pressure operating conditions F. Selimovic & B. Sundén

More information

Computation Fluid Dynamics Prof. Dr. Suman Chakraborty Department of Mechanical Engineering Indian Institute of Technology, Kharagpur

Computation Fluid Dynamics Prof. Dr. Suman Chakraborty Department of Mechanical Engineering Indian Institute of Technology, Kharagpur Computation Fluid Dynamics Prof. Dr. Suman Chakraborty Department of Mechanical Engineering Indian Institute of Technology, Kharagpur Lecture No. # 40 What is there in implementing a CFD Code So far, we

More information

Convergence and accuracy of sea ice dynamics solvers. Martin Losch (AWI) Annika Fuchs (AWI), Jean-François Lemieux (EC)

Convergence and accuracy of sea ice dynamics solvers. Martin Losch (AWI) Annika Fuchs (AWI), Jean-François Lemieux (EC) Convergence and accuracy of sea ice dynamics solvers Martin Losch (AWI) Annika Fuchs (AWI), Jean-François Lemieux (EC) Sea ice thickness with MITgcm (JPL) Review of 2D momentum equations m Du Dt = mf k

More information

Technology Computer Aided Design (TCAD) Laboratory. Lecture 2, A simulation primer

Technology Computer Aided Design (TCAD) Laboratory. Lecture 2, A simulation primer Technology Computer Aided Design (TCAD) Laboratory Lecture 2, A simulation primer [Source: Synopsys] Giovanni Betti Beneventi E-mail: gbbeneventi@arces.unibo.it ; giobettibeneventi@gmail.com Office: Engineering

More information

Thermal Simulation for Design Validation of Electrical Components in Vibration Monitoring Equipment

Thermal Simulation for Design Validation of Electrical Components in Vibration Monitoring Equipment International Journal of Thermal Technologies E-ISSN 2277 4114 2017 INPRESSCO, All Rights Reserved Available at http://inpressco.com/category/ijtt/ Research Article Thermal Simulation for Design Validation

More information

UNIVERSITÉ DE LIÈGE FACULTÉ DES SCIENCES APPLIQUÉES DÉPARTEMENT D AÉROSPATIALE ET MÉCANIQUE LABORATOIRE DE THERMODYNAMIQUE

UNIVERSITÉ DE LIÈGE FACULTÉ DES SCIENCES APPLIQUÉES DÉPARTEMENT D AÉROSPATIALE ET MÉCANIQUE LABORATOIRE DE THERMODYNAMIQUE UNIVERSITÉ DE LIÈGE FACULTÉ DES SCIENCES APPLIQUÉES DÉPARTEMENT D AÉROSPATIALE ET MÉCANIQUE LABORATOIRE DE THERMODYNAMIQUE Annex 60 : subtask 2.2 Modeling heat transport in district heating networks Preliminary

More information

Code Verification of Multiphase Flow with MFIX

Code Verification of Multiphase Flow with MFIX Code Verification of Multiphase Flow with MFIX A N I R U D D H A C H O U D H A R Y ( A N I R U D D @ V T. E D U ), C H R I S T O P H E R J. ROY ( C J R O Y @ V T. E D U ), ( V I R G I N I A T E C H ) 23

More information

Numerical Methods. Root Finding

Numerical Methods. Root Finding Numerical Methods Solving Non Linear 1-Dimensional Equations Root Finding Given a real valued function f of one variable (say ), the idea is to find an such that: f() 0 1 Root Finding Eamples Find real

More information

CFD-Simulations of a 4π-continuous-mode dilution refrigerator for the CB-ELSA experiment

CFD-Simulations of a 4π-continuous-mode dilution refrigerator for the CB-ELSA experiment CFD-Simulations of a 4π-continuous-mode dilution refrigerator for the CB-ELSA experiment M. Bornstein, H. Dutz, S. Goertz, S. Reeve, University of Bonn, Germany E-mail: runkel@physik.uni-bonn.de The polarized

More information

Spatial discretization scheme for incompressible viscous flows

Spatial discretization scheme for incompressible viscous flows Spatial discretization scheme for incompressible viscous flows N. Kumar Supervisors: J.H.M. ten Thije Boonkkamp and B. Koren CASA-day 2015 1/29 Challenges in CFD Accuracy a primary concern with all CFD

More information

Computational Engineering Introduction to Numerical Methods

Computational Engineering Introduction to Numerical Methods Michael Schafer Computational Engineering Introduction to Numerical Methods With 204 Figures 4y Springer ire discussed. The following, structural mechanics, fluid 1 grids, finite-volume meth- n, properties

More information

Math background. Physics. Simulation. Related phenomena. Frontiers in graphics. Rigid fluids

Math background. Physics. Simulation. Related phenomena. Frontiers in graphics. Rigid fluids Fluid dynamics Math background Physics Simulation Related phenomena Frontiers in graphics Rigid fluids Fields Domain Ω R2 Scalar field f :Ω R Vector field f : Ω R2 Types of derivatives Derivatives measure

More information

The method of lines (MOL) for the diffusion equation

The method of lines (MOL) for the diffusion equation Chapter 1 The method of lines (MOL) for the diffusion equation The method of lines refers to an approximation of one or more partial differential equations with ordinary differential equations in just

More information

Numerical Modeling of Inclined Negatively Buoyant Jets

Numerical Modeling of Inclined Negatively Buoyant Jets Numerical Modeling of Inclined Negatively Buoyant Jets Presentation by: Hossein Kheirkhah Graduate Student in Civil Engineering Dep. of Civil Engineering University of Ottawa CANADA ICDEMOS April2014 Outline

More information

Design Of An Anisokinetic Probe For Sampling RadioactiveParticles From Ducts Of Nuclear Facilities

Design Of An Anisokinetic Probe For Sampling RadioactiveParticles From Ducts Of Nuclear Facilities Design Of An Anisokinetic Probe For Sampling RadioactiveParticles From Ducts Of Nuclear Facilities Author P. Geraldini 1 1 Sogin Spa Via Marsala 51C, 00185 Rome Italy, geraldini@sogin.it Abstract: The

More information

Numerical Methods I Solving Nonlinear Equations

Numerical Methods I Solving Nonlinear Equations Numerical Methods I Solving Nonlinear Equations Aleksandar Donev Courant Institute, NYU 1 donev@courant.nyu.edu 1 MATH-GA 2011.003 / CSCI-GA 2945.003, Fall 2014 October 16th, 2014 A. Donev (Courant Institute)

More information

Finite volume method for CFD

Finite volume method for CFD Finite volume method for CFD Indo-German Winter Academy-2007 Ankit Khandelwal B-tech III year, Civil Engineering IIT Roorkee Course #2 (Numerical methods and simulation of engineering Problems) Mentor:

More information

Numerical Methods Lecture 3

Numerical Methods Lecture 3 Numerical Methods Lecture 3 Nonlinear Equations by Pavel Ludvík Introduction Definition (Root or zero of a function) A root (or a zero) of a function f is a solution of an equation f (x) = 0. We learn

More information

Some notes about PDEs. -Bill Green Nov. 2015

Some notes about PDEs. -Bill Green Nov. 2015 Some notes about PDEs -Bill Green Nov. 2015 Partial differential equations (PDEs) are all BVPs, with the same issues about specifying boundary conditions etc. Because they are multi-dimensional, they can

More information

Effect of Static Magnetic Field Application on the Mass Transfer in Sequence Slab Continuous Casting Process

Effect of Static Magnetic Field Application on the Mass Transfer in Sequence Slab Continuous Casting Process , pp. 844 850 Effect of Static Magnetic Field Application on the Mass Transfer in Sequence Slab Continuous Casting Process Baokuan LI and Fumitaka TSUKIHASHI 1) Department of Thermal Engineering, The School

More information

MAE 598 Project #1 Jeremiah Dwight

MAE 598 Project #1 Jeremiah Dwight MAE 598 Project #1 Jeremiah Dwight OVERVIEW A simple hot water tank, illustrated in Figures 1 through 3 below, consists of a main cylindrical tank and two small side pipes for the inlet and outlet. All

More information

Answers to Exercises Computational Fluid Dynamics

Answers to Exercises Computational Fluid Dynamics Answers to Exercises Computational Fluid Dynamics Exercise - Artificial diffusion upwind computations.9 k=. exact.8 k=..7 k=..6 k=..5.4.3.2...2.3.4.5.6.7.8.9 x For k =.,. and., and for N = 2, the discrete

More information

Numerical modelling of direct contact condensation of steam in BWR pressure suppression pool system

Numerical modelling of direct contact condensation of steam in BWR pressure suppression pool system Numerical modelling of direct contact condensation of steam in BWR pressure suppression pool system Gitesh Patel, Vesa Tanskanen, Juhani Hyvärinen LUT School of Energy Systems/Nuclear Engineering, Lappeenranta

More information

Fluid Animation. Christopher Batty November 17, 2011

Fluid Animation. Christopher Batty November 17, 2011 Fluid Animation Christopher Batty November 17, 2011 What distinguishes fluids? What distinguishes fluids? No preferred shape Always flows when force is applied Deforms to fit its container Internal forces

More information

Iterative Solvers in the Finite Element Solution of Transient Heat Conduction

Iterative Solvers in the Finite Element Solution of Transient Heat Conduction Iterative Solvers in the Finite Element Solution of Transient Heat Conduction Mile R. Vuji~i} PhD student Steve G.R. Brown Senior Lecturer Materials Research Centre School of Engineering University of

More information

Natural Convection in Parabolic Enclosure Heated from Below

Natural Convection in Parabolic Enclosure Heated from Below www.ccsenet.org/mas Modern Applied Science Vol. 5, No. 3; June 011 Natural Convection in Parabolic Enclosure Heated from Below Dr. Ahmed W. Mustafa (Corresponding auther) University of Tikrit, College

More information

FEniCS Course. Lecture 6: Incompressible Navier Stokes. Contributors Anders Logg André Massing

FEniCS Course. Lecture 6: Incompressible Navier Stokes. Contributors Anders Logg André Massing FEniCS Course Lecture 6: Incompressible Navier Stokes Contributors Anders Logg André Massing 1 / 11 The incompressible Navier Stokes equations u + u u ν u + p = f in Ω (0, T ] u = 0 in Ω (0, T ] u = g

More information

AN UNCERTAINTY ESTIMATION EXAMPLE FOR BACKWARD FACING STEP CFD SIMULATION. Abstract

AN UNCERTAINTY ESTIMATION EXAMPLE FOR BACKWARD FACING STEP CFD SIMULATION. Abstract nd Workshop on CFD Uncertainty Analysis - Lisbon, 19th and 0th October 006 AN UNCERTAINTY ESTIMATION EXAMPLE FOR BACKWARD FACING STEP CFD SIMULATION Alfredo Iranzo 1, Jesús Valle, Ignacio Trejo 3, Jerónimo

More information

Introduction to numerical simulation of fluid flows

Introduction to numerical simulation of fluid flows Introduction to numerical simulation of fluid flows Mónica de Mier Torrecilla Technical University of Munich Winterschool April 2004, St. Petersburg (Russia) 1 Introduction The central task in natural

More information

Lattice Boltzmann Method Solver Documentation

Lattice Boltzmann Method Solver Documentation Lattice Boltzmann Method Solver Documentation Release 0.0.1 Sayop Kim May 03, 2016 Contents 1 Code Instruction 3 1.1 Quick instruction for running the simulation.............................. 3 2 Results

More information

INDUSTRIAL APPLICATION OF CONTINUOUS ADJOINT FLOW SOLVERS FOR THE OPTIMIZATION OF AUTOMOTIVE EXHAUST SYSTEMS. C. Hinterberger, M.

INDUSTRIAL APPLICATION OF CONTINUOUS ADJOINT FLOW SOLVERS FOR THE OPTIMIZATION OF AUTOMOTIVE EXHAUST SYSTEMS. C. Hinterberger, M. CFD & OPTIMIZATION 2011-069 An ECCOMAS Thematic Conference 23-25 May 2011, Antalya TURKEY INDUSTRIAL APPLICATION OF CONTINUOUS ADJOINT FLOW SOLVERS FOR THE OPTIMIZATION OF AUTOMOTIVE EXHAUST SYSTEMS C.

More information