A higher-order finite volume method with collocated grid arrangement for incompressible flows

Similar documents
Investigation of cross flow over a circular cylinder at low Re using the Immersed Boundary Method (IBM)

1.2 Numerical Solutions of Flow Problems

MESHLESS SOLUTION OF INCOMPRESSIBLE FLOW OVER BACKWARD-FACING STEP

FAST ALGORITHMS FOR CALCULATIONS OF VISCOUS INCOMPRESSIBLE FLOWS USING THE ARTIFICIAL COMPRESSIBILITY METHOD

A COUPLED FINITE VOLUME SOLVER FOR THE SOLUTION OF LAMINAR TURBULENT INCOMPRESSIBLE AND COMPRESSIBLE FLOWS

Driven Cavity Example

On the simulation of wave propagation with a higher-order finite volume scheme based on Reproducing Kernel Methods

FOURTH ORDER COMPACT FORMULATION OF STEADY NAVIER-STOKES EQUATIONS ON NON-UNIFORM GRIDS

ALE Seamless Immersed Boundary Method with Overset Grid System for Multiple Moving Objects

Introduction to ANSYS CFX

Isogeometric Analysis of Fluid-Structure Interaction

An Embedded Boundary Method with Adaptive Mesh Refinements

Parallelization study of a VOF/Navier-Stokes model for 3D unstructured staggered meshes

Debojyoti Ghosh. Adviser: Dr. James Baeder Alfred Gessow Rotorcraft Center Department of Aerospace Engineering

FLOW PAST A SQUARE CYLINDER CONFINED IN A CHANNEL WITH INCIDENCE ANGLE

Verification and Validation of Turbulent Flow around a Clark-Y Airfoil

On the high order FV schemes for compressible flows

CFD Analysis of 2-D Unsteady Flow Past a Square Cylinder at an Angle of Incidence

Numerical Methods in Aerodynamics. Fluid Structure Interaction. Lecture 4: Fluid Structure Interaction

Studies of the Continuous and Discrete Adjoint Approaches to Viscous Automatic Aerodynamic Shape Optimization

cuibm A GPU Accelerated Immersed Boundary Method

Possibility of Implicit LES for Two-Dimensional Incompressible Lid-Driven Cavity Flow Based on COMSOL Multiphysics

Numerical Simulation of Coupled Fluid-Solid Systems by Fictitious Boundary and Grid Deformation Methods

A FULLY COUPLED FINITE VOLUME SOLVER FOR THE SOLUTION OF INCOMPRESSIBLE FLOWS ON LOCALLY REFINED NON-MATCHING BLOCK-STRUCTURED GRIDS

High-order solutions of transitional flow over the SD7003 airfoil using compact finite-differencing and filtering

ITU/FAA Faculty of Aeronautics and Astronautics

Flow and Heat Transfer in a Mixing Elbow

From Hyperbolic Diffusion Scheme to Gradient Method: Implicit Green-Gauss Gradients for Unstructured Grids

Comparisons of Compressible and Incompressible Solvers: Flat Plate Boundary Layer and NACA airfoils

Module 1: Introduction to Finite Difference Method and Fundamentals of CFD Lecture 13: The Lecture deals with:

Axisymmetric Viscous Flow Modeling for Meridional Flow Calculation in Aerodynamic Design of Half-Ducted Blade Rows

Shape optimisation using breakthrough technologies

Introduction to CFX. Workshop 2. Transonic Flow Over a NACA 0012 Airfoil. WS2-1. ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

Ail implicit finite volume nodal point scheme for the solution of two-dimensional compressible Navier-Stokes equations

Final Report. Discontinuous Galerkin Compressible Euler Equation Solver. May 14, Andrey Andreyev. Adviser: Dr. James Baeder

EFFICIENT SOLUTION ALGORITHMS FOR HIGH-ACCURACY CENTRAL DIFFERENCE CFD SCHEMES

SHOCK WAVES IN A CHANNEL WITH A CENTRAL BODY

Program: Advanced Certificate Program

Application of Finite Volume Method for Structural Analysis

The Immersed Interface Method

Tutorial 2. Modeling Periodic Flow and Heat Transfer

Profile Catalogue for Airfoil Sections Based on 3D Computations

C. A. D. Fraga Filho 1,2, D. F. Pezzin 1 & J. T. A. Chacaltana 1. Abstract

Sensitivity Analysis for the Compressible Navier-Stokes Equations Using a Discontinuous Galerkin Method

An Overview of Computational Fluid Dynamics

CFD-1. Introduction: What is CFD? T. J. Craft. Msc CFD-1. CFD: Computational Fluid Dynamics

The Development of a Navier-Stokes Flow Solver with Preconditioning Method on Unstructured Grids

Development of an Integrated Computational Simulation Method for Fluid Driven Structure Movement and Acoustics

SPC 307 Aerodynamics. Lecture 1. February 10, 2018

Application of Wray-Agarwal Turbulence Model for Accurate Numerical Simulation of Flow Past a Three-Dimensional Wing-body

Verification of Moving Mesh Discretizations

Solving Partial Differential Equations on Overlapping Grids

A NEW RESIDUAL LEAST SQUARES ERROR ESTIMATOR FOR FINITE VOLUME METHODS APPLICATIONS TO LAMINAR FLOWS

ANALYSIS AND IMPLEMENTATION OF A HIGH-ORDER RECONSTRUCTION ALGORITHM FOR AN UNSTRUCTURED FINITE VOLUME FLOW SOLVER. Shane Edmond Sawyer

Modeling External Compressible Flow

A Study of the Development of an Analytical Wall Function for Large Eddy Simulation of Turbulent Channel and Rectangular Duct Flow

Application of a Coordinate Transformation and Discretization Method for Computational Fluid Dynamics

The gas-kinetic methods have become popular for the simulation of compressible fluid flows in the last

Analysis of Flow Dynamics of an Incompressible Viscous Fluid in a Channel

Pressure Correction Scheme for Incompressible Fluid Flow

Computational Fluid Dynamics (CFD) for Built Environment

Introduction to C omputational F luid Dynamics. D. Murrin

FEMLAB Exercise 1 for ChE366

Reproducibility of Complex Turbulent Flow Using Commercially-Available CFD Software

Realistic Animation of Fluids

QUASI-3D SOLVER OF MEANDERING RIVER FLOWS BY CIP-SOROBAN SCHEME IN CYLINDRICAL COORDINATES WITH SUPPORT OF BOUNDARY FITTED COORDINATE METHOD

NUMERICAL 3D TRANSONIC FLOW SIMULATION OVER A WING

Computational Study of Laminar Flowfield around a Square Cylinder using Ansys Fluent

Verification and Validation in CFD and Heat Transfer: ANSYS Practice and the New ASME Standard

Numerical Simulation Study on Aerodynamic Characteristics of the High Speed Train under Crosswind

Strömningslära Fluid Dynamics. Computer laboratories using COMSOL v4.4

Mid-Year Report. Discontinuous Galerkin Euler Equation Solver. Friday, December 14, Andrey Andreyev. Advisor: Dr.

Flow in an Intake Manifold

An Optimization Method Based On B-spline Shape Functions & the Knot Insertion Algorithm

Numerical Simulations of Fluid-Structure Interaction Problems using MpCCI

An Accurate Cartesian Grid Method for Viscous Incompressible Flows with Complex Immersed Boundaries

Reproducibility of Complex Turbulent Flow Using Commercially-Available CFD Software

Steady Flow: Lid-Driven Cavity Flow

Faculty of Mechanical and Manufacturing Engineering, University Tun Hussein Onn Malaysia (UTHM), Parit Raja, Batu Pahat, Johor, Malaysia

Solution of 2D Euler Equations and Application to Airfoil Design

CFD VALIDATION FOR SURFACE COMBATANT 5415 STRAIGHT AHEAD AND STATIC DRIFT 20 DEGREE CONDITIONS USING STAR CCM+

Stream Function-Vorticity CFD Solver MAE 6263

High-Order Navier-Stokes Simulations using a Sparse Line-Based Discontinuous Galerkin Method

Incompressible Viscous Flow Simulations Using the Petrov-Galerkin Finite Element Method

Application of coupled solver technology to CFD modeling of multiphase flows with CFX

Computational Fluid Dynamics for Engineers

NIA CFD Seminar, October 4, 2011 Hyperbolic Seminar, NASA Langley, October 17, 2011

A NURBS-BASED APPROACH FOR SHAPE AND TOPOLOGY OPTIMIZATION OF FLOW DOMAINS

Fluid Simulation. [Thürey 10] [Pfaff 10] [Chentanez 11]

A High-Order Accurate Unstructured GMRES Solver for Poisson s Equation

ENERGY-224 Reservoir Simulation Project Report. Ala Alzayer

Numerical and theoretical analysis of shock waves interaction and reflection

Multigrid Solvers in CFD. David Emerson. Scientific Computing Department STFC Daresbury Laboratory Daresbury, Warrington, WA4 4AD, UK

Finite Volume Discretization on Irregular Voronoi Grids

Realistic Animation of Fluids

Immersed Boundary Method and Chimera Method applied to Fluid-

SELECTIVE ALGEBRAIC MULTIGRID IN FOAM-EXTEND

A MULTI-DOMAIN ALE ALGORITHM FOR SIMULATING FLOWS INSIDE FREE-PISTON DRIVEN HYPERSONIC TEST FACILITIES

A 3D VOF model in cylindrical coordinates

Bidimensional modeling for incompressible viscous flow using the Circumcenter Based Approach in an unstructured grid

Transcription:

Computational Methods and Experimental Measurements XVII 109 A higher-order finite volume method with collocated grid arrangement for incompressible flows L. Ramirez 1, X. Nogueira 1, S. Khelladi 2, J. Chassaing 3 & I. Colominas 1 1 GMNI, Universidade da Coruña, Spain 2 Laboratoire de Dynamique des Fluides, Arts et Métiers ParisTech, France 3 Institut Jean Le Rond d Alembert, UPMC-CNRS, France Abstract A high accurate finite volume method based on the use of Moving Least Squares (MLS) approximants is presented for the resolution of the incompressible Navier Stokes equations on unstructured grids. Moreover, in order to eliminate the decoupling between pressure and velocity, we present a new Momentum Interpolation Method that allows interpolations better than linear on any kind of mesh. The accuracy of the new method is evaluated by a steady and unsteady test cases. Keywords: high-order methods, incompressible flow, Moving Least Squares, Momentum Interpolation Method, unstructured grids, collocated grids. 1 Introduction Numerical solution of the Incompressible Navier Stokes equations has a wide range of applications, such as low speed aerodynamics, biomedical fluid flow and hydrodynamics. In this kind of flows, the main problem with numerical solutions is to couple the changes of the velocity field with changes of the pressure field, and assuring at the same time that the continuity equation is satisfied. The staggered variable arrangement has been widely used for the discretization of the Incompressible Navier Stokes equations, but it requires the use of structured meshes. However, most of engineering problems have a complex geometry making doi:10.2495/cmem150101

110 Computational Methods and Experimental Measurements XVII difficult the use of this kind of variable arrangement. On the other hand, in collocated grids, vector variables and scalar variables are stored at the same locations, usually in the centroid of the control volume. This seems to be a good approach to handle complex geometries. The main problem is the possibility of checker-board due to the central-difference discretization of the pressure. In this context, the development of very accurate numerical methods to work on unstructured grids is very desirable. In this work we have proposed a new higher-order accurate finite volume formulation for the numerical solution of incompressible fluid flows on unstructured and collocated grids. The new formulation is based on the use of Moving Least Squares approximants. Moreover, in order to eliminate the decoupling between pressure and velocity, we present a new Momentum Interpolation Method that allows interpolations better than linear on any kind of mesh. 2 Moving Least-Squares The Moving Least Squares (MLS) approach was originally devised in 1981 for data processing and surface generation [1]. The basic idea of the MLS approach is to approximate a function u(x) at a given point x through a weighted least squares fitting on a compact domain around x. The resulting approximation, û(x), can be written as u(x) û(x) = N T (x)u Ωx = pt (x)m 1 (x)p Ωx W (x)u Ωx (1) where N T (x) is the vector of MLS shape functions and u Ωx contains the known values of the function u(x) at the compact domain Ω x. The vector p T (x) represents an m-dimensional functional basis (polynomial in this work), P Ωx is defined as a matrix where the basis functions are evaluated at each point of the stencil and the moment matrix M(x) is obtained through the minimization of an error functional [2] and is defined as M(x) = P Ωx W (x)p T Ω x (2) The kernel or smoothing function, W (x), plays an important role weighting the importance of the different points that take place in the approximation. A wide variety of kernel functions are described in the literature. In this work the exponential kernel has been used, defined in one dimension as W j (x j, x, s x ) = e ( d c ) 2 e ( dm c ) 2 1 e ( dm c ) 2 (3) for j = 1,..., n x, where d = x j x, d m = 2 max ( x j x ). In equation (3) d m is the smoothing length, n x is the number of neighbors and x is the reference point where the compact support is centered, the coefficient c is defined by c = dm s x and s x is the shape parameter of the kernel. This parameter

Computational Methods and Experimental Measurements XVII 111 plays defines the kernel properties and therefore, the properties of the numerical scheme obtained. As far as 2D applications are concerned, a multidimensional kernel can be obtained by means of the product of 1D kernels. For instance the 2D exponential kernel is defined by the following expression W j (x j, y j, x, y, s x, s y ) = W j (x j, x, s x )W j (y j, y, s y ) (4) The order of MLS approximations is determined by the polynomial basis used in the construction of MLS shape functions. Here we use quadratic and cubic polynomial basis. More details can be found in [3, 4]. The high order approximate derivatives of the field variables u(x) can be expressed in terms of the derivatives of the MLS shape function. So the nth derivative is defined as n nx û x n = n N j (x) x n u j (5) j=1 We refer the interested reader to [4, 5] for a complete description of the computation of MLS derivatives. 3 Governing equations and numerical discretization The Navier Stokes equations in Cartesian coordinates can be written in nondimensional form as U t +U ( U) = p + 1 ( U) (6) Re U = 0 (7) In this work we only address 2D problems, so U = (u, v) T is the velocity field. Moreover p(x, y, t) is the pressure variable and Re is the Reynolds number. The continuity equation acts as a constraint in the velocity since the system of equations (6) and (7) is decoupled. Here we use the SIMPLE algorithm [6] to solve the system, and thus pressure is used as a mapping parameter. Figure 1 shows a flowchart of this algorithm. A number of inner iterations is required each time step to obtain a velocity field U = (u, v) T that satisfies equations (6) and (7). Every inner iteration the momentum equation (6) is used to predict the velocity field. A pressure correction equation is obtained from (6) and (7) to define the velocity and pressure corrections needed to satisfy the continuity equation (7).

112 Computational Methods and Experimental Measurements XVII Start Set time t=t+δt Solve the momentum equation (Eq. 25) Time step (n) Solve the pressure correction equation (Eq. 36) Correct velocity and pressure fields (Eq. 37 and 38) Inner iteration (m) Convergence? t>tmax? Exit Figure 1: A flowchart for the unsteady SIMPLE algorithm. A cell-centered finite volume scheme is applied to solve the incompressible Navier Stokes equations (6) (7). The discretized momentum equation reads as 3U m+1,n+1 I V I N f N G = j=1ig=1 4U n I + U n 1 I 2 t [ ] p m,n+1 j ˆn j N f N G + [H j U j ] ig W ig j=1ig=1 N f ig W ig+ 1 Re N G j=1ig=1 [ U m+1,n+1 j ˆnˆṋn j ]ig W ig where N f is the number of faces of the control volume, N G represents the number of quadrature points, W ig is the corresponding quadrature weight for the quadrature point at cell faces and ˆnˆṋn j is the unitary normal n multiplied by the area of the face j. A deferred correction is used to obtain a high-order discretization of the convective term U j in equation (8). It reads as (8) U j = ( U LO ) m+1,n+1 j + (U HO j U LO j ) m,n+1 (9)

Computational Methods and Experimental Measurements XVII 113 where the superscript m, n + 1 refers to the previous inner iteration at the current time step n + 1. In equation (9) the higher-order convective term, U HO j, is treated explicitly from the previous inner iteration (m). In this work we have approximated the terms U HO j, p m,n+1 j, U m+1,n+1 j using Moving Least Squares approximants. The term H j from equation (8) is written as H j = ÛÛÛ j ˆnˆṋn j (10) where the value of ÛÛÛ j is obtained using the Momentum Interpolation Method (MIM) [7], as it will be explained later. Once the velocity field is computed from equation (8) it is required to impose the continuity constraint given by equation (7). In order to satisfy this constraint the following pressure correction equation is solved N f N G j=1 ig=1 ] N f [ [ÛÛÛ j ˆnˆṋn j W N G (VI ) ig ig j=1ig=1 a I j ( p ) ] ˆnˆṋn j j ig W ig = 0 (11) where a I denotes the( diagonal ) term ( of the mass matrix of the momentum equations for cell I. The terms VI a and I p ) are obtained using MLS approximations. j j The value of ÛÛÛ j is computed using the Momentum Interpolation Method (MIM) as ÛÛÛ j = U j + ( VI ) a I j [ ( pi ) ] p j j (12) in equation (12) U j is the solution obtained with the momentum equations (8) approximated at integration points. We remark that all terms with the subscript j of equation (12) require approximations since the known values are located at the centroid of the cells. Rhie and Chow method uses a linear interpolation to obtain ( ) VI a I the values of U,, ( p I )j and p j at the integration point j [7, 8]. We propose obtain these values by using higher-order MLS approximations as n x U j = N k (x j )U k (13) k=1 n ( x pi )j = N k (x j ) p k (14) k=1 In equation (14) the pressure gradient ( p k ) is obtained at the neighboring cell centroid k as

114 Computational Methods and Experimental Measurements XVII n x p k = N l (x k )p l (15) l=1 Finally, the velocity and pressure fields are updated by U m+1,n+1 = U + U = U V I a I ( p ) I p m+1,n+1 = p m,n+1 + (p ) m+1,n+1 (16) (17) where U is the velocity field obtained from the momentum equation (8). The superscript m + 1 refers to the current inner iteration and m refers to the previous inner iteration. In addition, n + 1 refers to the current time iteration. The resolution process is iteratively performed until velocity and pressure satisfy equations (6) and (7). We refer the interest reader to [3] for more details. 4 Numerical results In this section we show two examples to test the accuracy of the new method. 4.1 Kovasznay flow The first test case is the Kovasznay Flow [9]. This test case reproduces the laminar flow over a periodic array of cylinders. Since this flow introduces nonlinear effects it is a common benchmark to test the precision and the order of the numerical scheme [10, 11]. The computational domain is defined as Ω = [ 0.5, 0.5] [ 0.5, 0.5]. The analytical solution has the form: u(x, y) = 1 e αx cos (2πy), v(x, y) = α 2π eαx sin (2πy) (18) p(x, y) = 1 2 ( 1 e 2αx ) where the parameter α is given by α = Re 2 Re 2 4 + 4π 2 Dirichlet boundary conditions are employed on all the boundaries where the values are prescribed with the analytical solution. The Reynolds number is 40 and different quadrilateral cell meshes of 32 32, 64 64, 128 128 and 256 256 are used in order to obtain the spatial order of convergence. A fourth order method is used to solve this problem. Table 1 show the L 2 norm of the error in the variables u, v and p. L 2 norm and the obtained order of accuracy.

Computational Methods and Experimental Measurements XVII 115 Table 1: Accuracy orders of velocity components and pressure field for Kovasznay flow test case with Re = 40. A 4th order scheme is used. The expected order of convergence is recovered. u-velocity field v-velocity Pressure Mesh L2 u Order u L2 v Order v L2 p Order p 32 32 1.41 10 05-7.99 10 06-2.64 10 05-64 64 1.00 10 06 3.81 4.15 10 07 4.27 1.20 10 06 4.47 128 128 6.55 10 08 3.94 2.51 10 08 4.05 6.96 10 08 4.10 256 256 4.17 10 09 3.97 1.55 10 09 4.02 4.98 10 09 3.81 4.2 Viscous flow past a NACA 0015 airfoil In this section we compute the laminar flow around a NACA 0015 airfoil inside a channel at Re = 100 and with an angle of attack of α = 10 degrees. The computational domain has a length of 2.2c and a height of 0.41c, where c denotes the chord of the airfoil. The computational grid is shown in figure 2. It is an unstructured grid with 9469 quadrilateral cells. Figure 2: Unstructured mesh used for the computation of the laminar flow around the NACA 0015 airfoil. The mesh has 9469 quadrilateral cells. The inflow velocity profile is given by u(0, y) = 4Um y(h y) and v(0, y) = 0, H2 where H is the height of the domain and Um = 1.5 is the maximum velocity of the parabolic profile. Pressure outflow is prescribed at the outlet and no-slip boundary conditions are set on all remaining boundaries. The Reynolds number is defined by Re = uc/ν, where the value of the mean velocity is defined as u = 2U3m. A third

116 Computational Methods and Experimental Measurements XVII order version of the proposed method has been used for the computations. Results are plotted in figure 3 where we show the contours of velocity and pressure fields and contours. a) b) Figure 3: Numerical results of the laminar flow around the NACA 0015 airfoil at Re = 100. (a) The velocity field and contours and (b) the pressure field around the airfoil. 5 Conclusions In this work we have presented a new methodology for the numerical solution of incompressible fluid flows on unstructured meshes based on the Moving Least Squares (MLS) approximations. It is a higher-order accurate finite volume formulation, and the SIMPLE algorithm is employed to impose iteratively the incompressibility condition. In order to avoid numerical instabilities a novel high order discretization of the Momentum Interpolation Method is proposed. The methodology presented is validated with some numerical examples, and we show that the formal order of accuracy is recovered. This novel formulation can be easily included in existing finite volume codes. References [1] Lancaster, P. & Salkauskas, K., Pseudo-divergence-free element free galerkin method for incompressible fluid flow. Computer Methods in Applied Mechanics and Engineering, 193, pp. 1119 1136, 2004. [2] Cueto-Felgueroso, L., Colominas, I., Nogueira, X., Navarrina, F. & Casteleiro, M., Finite-volume solvers and moving least-squares approximations for the compressible Navier Stokes equations on unstructured grids. Computer Methods in Applied Mechanics and Engineering, 196, pp. 4712 4736, 2007.

Computational Methods and Experimental Measurements XVII 117 [3] Ramirez, L., Nogueira, X., Khelladi, S., Chassaing, J. & Colominas, I., A new higher-order finite volume method based on moving least squares for the resolutionof the incompressible Navier Stokes equations on unstructured grids. Computer Methods in Applied Mechanics and Engineering, 278, pp. 883 901, 2014. [4] Chassaing, J., Khelladi, S. & X.Nogueira, Accuracy assesment of a highorder moving least squares finite volume method for compressible flows. Computers and Fluids, 71, pp. 41 53, 2013. [5] Khelladi, S., Nogueira, X., Bakir, F. & Colominas, I., Toward a higher-order unsteady finite volume solver based on reproducing kernel particle method. Computer Methods in Applied Mechanics and Engineering, 200, pp. 2348 2362, 2011. [6] Patankar, S., Numerical heat transfer and fluid flow. Hemisphere Publishing Corporation, Taylor and Francis Group, 1980. [7] Yu, B., Tao, W. & Wei, J., Discussion on momentum interpolation method for collocated grids of incompressible flow. Numerical Heat Transfer, 42, pp. 141 166, 2002. [8] Rhie, C. & Chow, W., Numerical study of the turbulent flow past an airfoil with trailing edge separation. AIAA Journal, 21, pp. 1525 1532, 1983. [9] Kovasznay, L., Laminar flow behind a two dimensional grid. Proc Cambridge Philos Soc, 44, pp. 58 62, 1948. [10] Blasco, J., An anisotropic pressure-stabilized finite element method for incompressible flow problems. Computers and Mathematics with Applications, 53, pp. 895 909, 2007. [11] Ranjan, R. & Pantano, C., A collocated method for the incompressible Navier Stokes equations inspired by the box scheme. Journal of Computational Physics, 232, pp. 346 386, 2013.