Challenges for finite volume models Haroldo F. de Campos Velho

Slides:



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

Compatible Spatial Discretizations for Partial Differential Equations May 14, 2004 Compatible Reconstruction of Vectors Blair Perot Dept. of Mechanical.
CFD II w/Dr. Farouk By: Travis Peyton7/18/2015 Modifications to the SIMPLE Method for Non-Orthogonal, Non-Staggered Grids in k- E Turbulence Flow Model.
1 Numerical Simulation for Flow in 3D Highly Heterogeneous Fractured Media H. Mustapha J. Erhel J.R. De Dreuzy H. Mustapha INRIA, SIAM Juin 2005.
Chapter 8 Elliptic Equation.
Navier-Stokes.
P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2013 – 12269: Continuous Solution for Boundary Value Problems.
Fluent Lecture Dr. Thomas J. Barber
Lectures on CFD Fundamental Equations
Coupling Continuum Model and Smoothed Particle Hydrodynamics Methods for Reactive Transport Yilin Fang, Timothy D Scheibe and Alexandre M Tartakovsky Pacific.
Introduction to numerical simulation of fluid flows
Chapter 3 Steady-State Conduction Multiple Dimensions
A Bezier Based Approach to Unstructured Moving Meshes ALADDIN and Sangria Gary Miller David Cardoze Todd Phillips Noel Walkington Mark Olah Miklos Bergou.
Copyright 2001, J.E. Akin. All rights reserved. CAD and Finite Element Analysis Most ME CAD applications require a FEA in one or more areas: –Stress Analysis.
1 Internal Seminar, November 14 th Effects of non conformal mesh on LES S. Rolfo The University of Manchester, M60 1QD, UK School of Mechanical,
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac Professor of Aerospace Engineering.
Copyright © 2002J. E. Akin Rice University, MEMS Dept. CAD and Finite Element Analysis Most ME CAD applications require a FEA in one or more areas: –Stress.
1 MECH 221 FLUID MECHANICS (Fall 06/07) Tutorial 6 FLUID KINETMATICS.
CE A Mathematical Approach for Discretization In the previous set of notes we saw how we could numerically solve With boundary conditions Using.
Some Geometric integration methods for PDEs Chris Budd (Bath)
Types of Governing equations
A finite volume solution method for thermal convection in a spherical shell with strong temperature- und pressure-dependent viscosity CIG Workshop 2005.
Numerical methods for PDEs PDEs are mathematical models for –Physical Phenomena Heat transfer Wave motion.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
1 Finite-Volume Formulation. 2 Review of the Integral Equation The integral equation for the conservation statement is: Equation applies for a control.
Hybrid WENO-FD and RKDG Method for Hyperbolic Conservation Laws
A Hybrid Particle-Mesh Method for Viscous, Incompressible, Multiphase Flows Jie LIU, Seiichi KOSHIZUKA Yoshiaki OKA The University of Tokyo,
Chapter 9: Differential Analysis of Fluid Flow SCHOOL OF BIOPROCESS ENGINEERING, UNIVERSITI MALAYSIA PERLIS.
Vector Analysis Copyright © Cengage Learning. All rights reserved.
Partial Differential Equations Finite Difference Approximation.
1 Discretization of Fluid Models (Navier Stokes) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal.
Discontinuous Galerkin Methods and Strand Mesh Generation
A conservative FE-discretisation of the Navier-Stokes equation JASS 2005, St. Petersburg Thomas Satzger.
A particle-gridless hybrid methods for incompressible flows
Natural Elements Method for Shallow Water Equations
Discontinuous Galerkin Methods Li, Yang FerienAkademie 2008.
Discontinuous Galerkin Methods for Solving Euler Equations Andrey Andreyev Advisor: James Baeder Mid.
The swiss-carpet preconditioner: a simple parallel preconditioner of Dirichlet-Neumann type A. Quarteroni (Lausanne and Milan) M. Sala (Lausanne) A. Valli.
Stable, Circulation- Preserving, Simplicial Fluids Sharif Elcott, Yiying Tong, Eva Kanso, Peter Schröder, and Mathieu Desbrun.
Grid or Mesh or Adaptive Procedure Fluid Dynamics is Made for This And this was developed in the Early 1970s.
© Fluent Inc. 11/24/2015J1 Fluids Review TRN Overview of CFD Solution Methodologies.
23/5/20051 ICCS congres, Atlanta, USA May 23, 2005 The Deflation Accelerated Schwarz Method for CFD C. Vuik Delft University of Technology
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.
A Non-iterative Hyperbolic, First-order Conservation Law Approach to Divergence-free Solutions to Maxwell’s Equations Richard J. Thompson 1 and Trevor.
Partial Derivatives Example: Find If solution: Partial Derivatives Example: Find If solution: gradient grad(u) = gradient.
Lecture Objectives: Define 1) Reynolds stresses and
F. Fairag, H Tawfiq and M. Al-Shahrani Department of Math & Stat Department of Mathematics and Statistics, KFUPM. Nov 6, 2013 Preconditioning Technique.
CAD and Finite Element Analysis Most ME CAD applications require a FEA in one or more areas: –Stress Analysis –Thermal Analysis –Structural Dynamics –Computational.
3/23/05ME 2591 Numerical Methods in Heat Conduction Reference: Incropera & DeWitt, Chapter 4, sections Chapter 5, section 5.9.
A Fully Conservative 2D Model over Evolving Geometries Ricardo Canelas Master degree student IST Teton Dam 1976.
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.
Implementing Finite Volume Methods 1.  Continue on Finite Volume Methods for Elliptic Equations  Finite Volumes in Two-Dimensions  Poisson’s Equation.
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 Water Computational Fluid Dynamics Volumes Lagrangian vs. Eulerian modelling Navier-Stokes equations.
An Introduction to Computational Fluids Dynamics Prapared by: Chudasama Gulambhai H ( ) Azhar Damani ( ) Dave Aman ( )
1 Copyright by PZ Bar-Yoseph © Finite Element Methods in Engineering Winter Semester Lecture 7.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Computational Fluid Dynamics.
Computational Fluid Dynamics Lecture II Numerical Methods and Criteria for CFD Dr. Ugur GUVEN Professor of Aerospace Engineering.
Christopher Crawford PHY
CAD and Finite Element Analysis
Implementing Finite Volume Methods
© Fluent Inc. 1/10/2018L1 Fluids Review TRN Solution Methods.
Lecture 19 MA471 Fall 2003.
Pressure Poisson Equation
topic13_grid_generation
topic13_grid_generation
topic4: Implicit method, Stability, ADI method
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 4/30/2019
Low Order Methods for Simulation of Turbulence in Complex Geometries
Presentation transcript:

Challenges for finite volume models Haroldo F. de Campos Velho

Outline 1. Few words on finite volume (FV) approach 2. Patankar’s FV approach for CFD 3. The driven cavity flow 4. Investigations a) Mixed grids b) Fractal cavity 5. Step back: some FV discretizations

Few words on finite volume 1. We can consider some strategies for solving PDE a) Domain decomposition b) Boundary decomposition c) Spectral methods 2. Finite volume is a domain decomposition method a) Partition the computational domain into control volumes (which are not necessarily the cells of the mesh) b) Discretise the integral formulation of the over each control volume (Gauss divergence theorem). b) Discretise the integral formulation of the conservation laws over each control volume (Gauss divergence theorem). c) Solve the resulting set of algebraic equations or update the values of the dependent variables.

FV: integral form A key issue: integral form of conservation law: A key issue: integral form of conservation law: applying the Gauss divergence theorem applying the Gauss divergence theorem (there are some advantages for considering conservative form instead of non-conservative one)

Source terms It is difficult to maintain the balance of the form It is difficult to maintain the balance of the form applying standard finite volume approach: applying standard finite volume approach: Gauss theorem can not be applied to the source term.

An application: incompressible fluid 1. We starting from the fluid dynamics formulation 2. Initial and boundary conditions

Some remarks on incompressible fluid 1. Incompressible fluid is consider a simpler version of the N-S equation. 2. Is it the above statement true? 3. Yes and no: Yes: there are less equations to be solved. Yes: there are less equations to be solved. No: Who is the integration factor? No: Who is the integration factor?

Integration factor 1. Simple ODE: 2. the integration factor is:, therefore

Integration factor 1. Matrix ODE: 2. If P -1 exists:

Integration factor 1. Incompressible fluid: who is the pressure? 2. Is there an integration factor? 3. Clearly: M -1 does not exist. Mathematical tools: a) Drazin generalized inverse (ODE) - after discretization b) Application of a type singular semi-group (PDE).

Integrating incompressible fluid 1. Deriving a Poisson equation for pressure 2. with Neumann boundary conditions

FV: discrete version 1. The flux terms are discretised by where is the numerical flux.

FV: discrete version 1. For 2D flow:

FV: discrete version 1. For 2D flow:

FV: discrete version For 2D flow (pressure: white; velocities: blue): Patankar staggered grid control volume (red) node Grid cell

FV: discrete version – a question: Looking at the figure: Why should not we use a simple triangular control volume (black), instead of red one? And then, the bad dream started …

What would we want? 1. We were trying to study a fluid flow inside of a fractal domain. 2. The first idea is to use unstructured grids 3. We were also interested to investigate a mixed grid (combining structured grid + unstructured grid). 4. Why is someone interested in mixed grid? 5. Obvious reason: improve computational performance.

Driven cavity flow 1. This is easier fluid dynamical problem that it must be solved by numerical process.

Studing fractal cavity flow 1. Koch curve generator: 2. Two pre-fractals:

Studing fractal cavity flow 1. Fractal cavity + finite volume decomposition

Mixed grids (Chimera/Dragon grid)

FV: unstructured grids baricenter

FV: unstructured grids 1. Grid-(a): work! 2. Grid-(b): doesn’t work 3. Grid-(c): doesn’t work 4. Grid-(d): doesn’t work Why?

Answering the question 1. S. Abdallah (J. Comput. Phys., 70, 1987) has shown that structured grids obey the compatibility equation. 2. How about the unstrutured grids?

Answering the question 1. The compatibility equation: it is an identity in fluid dynamics. 2. The solution for the Poisson eqution for pressure exists if the compatibility condition is verified:

Discrete compatibility equation 1. Using the discrete pressure Poisson equation 2. Assuming (S a edge size):

Discrete compatibility condition

Discrete compatibility equation

Fractal cavities properties 1. Attractors for fractal cavities: (a) standard cavity (b) fractal cavity (a) standard cavity (b) fractal cavity

Co-localized approaches 1. Someone should be surprised with the results, where cell-center and cell-vertex did not work. 2. Beause, some authors have used cell-center and cell- vertex, and such procedures presented good results. 3. What’s wrong?

Co-localized approaches 1. Actually, nothing is wrong. 2. However, the evil is in details: a) Co-localized variables and cell-center: - Frink’s approach (AIAA, 1994): he use a different interpolation scheme. - Frink’s approach (AIAA, 1994): he use a different interpolation scheme. - Marthur-Marthy (Num. Heat Transf., 1997): they uses a different scheme to compute the gradient. - Marthur-Marthy (Num. Heat Transf., 1997): they uses a different scheme to compute the gradient. b) Velocities located at vertex, and pressure at barycenter: - Thomadakis-Leschziner (Num. Methods Fluids, 1996): The control volume is computed with union of barycenter, we used median-dual scheme. - Thomadakis-Leschziner (Num. Methods Fluids, 1996): The control volume is computed with union of barycenter, we used median-dual scheme.

Spectral schemes x Finite volume 1. Finite volume approaches can be used in a more complex domain (geometry). 2. Recent results are indicating that for high resolution, spectral schemes have a bigger computational effort than finite volume. 3. Which is the future for the spectral schemes? 4. Maybe, it depends on the type of computing used.

Spectral schemes x Finite volume 1. Transforms (FFT/Legendre) could be implemented in a hybrid computing: hardware and software for processing. 2. Hybrid computing: FPGA, GPU. FPGA, GPU.

Spectral schemes x Finite volume 1. Enhancing the computing: appering the first optical processors. 2. Optical processors (FPGA): (a) Lenslet (Mar/2003) (b) Intel (Feb/2006)

Final remarks 1. Structured grid the compatibility equation is always verified. 2. Compatibility condition can be used to select a type of unstrutured grid. 3. Nothing is neutral in numerical approximation. 4. Remember: the evil is in details.

Preliminar Analysis Smallest cube: L = 120 h -1 Mpc 1.7  10 7  2.2  10 6 particulesruning time ~ 60 h redshift computed z = 10.0, 1.0, 0.1 e 0.0 Edge effect L z Mpctodos Mpc Mpc Mpc Mpc

Percolation (FoF) Percolation radius R perc = b f = n /  2/ b 3 Mass scales: M(N p ) M(M  ) class 1  7  small and galaxies LMC 2  M   —3  “regular” galaxies Via-Láctea 7  M  M87 3  M  50-15k 3  —1  groups or clusters Grupo Local 4  M  Coma 1  M  > 15k > 1  superaclusters SA Local 2  M  R perc b f N p Gal VL  10 part. (R= kpc) Cluster Gr. Local  55 part. SA > SA Local  part.

Obrigado pela atenção.