Stabilization of finite element method for solving incompressible viscous flows

Size: px
Start display at page:

Download "Stabilization of finite element method for solving incompressible viscous flows"

Transcription

1 Czech Technical University in Prague Faculty of Mechanical Engineering Department of Technical Mathematics Diploma thesis Stabilization of finite element method for solving incompressible viscous flows Jakub Šístek Specialization Mathematical Modelling in Technology Advisor Doc. RNDr. Pavel Burda, CSc. Consultant RNDr. Jaroslav Novotný, PhD. Prague,

2 Abstract The topic of the thesis is an advanced application of the finite element method (FEM to the solution of flows of viscous incompressible fluids. The aim is to extend the applicability of conventional methods to higher Reynolds numbers. The derivation and the verification of the algorithm for stabilizing the FEM are considered by the author as the main achievement of the work presented. By applying it, we are able to increase the critical Reynolds number of the flow, which can be succesfully solved by the FEM. Motivation and main goals are described in the introductory chapter, together with the recent state of the research in this field. The problem of flow of incompressible Newtonian fluid in a two-dimensional domain is introduced. Following part is devoted to the FEM solution and problems of discretization in general. Stabilized methods based on the FEM for the scalar advective-diffusive equation are described, followed by the extension to the flow problem. Next chapter is the principal part of the thesis. It contains a careful derivation of a FEM algorithm based on stabilization known as Galerkin Least-Squares (GLS method. The algorithm is applied to several problems, and results of the experiments are presented. Following chapter is devoted to the aspect of accuracy of the FEM solution. It presents work aimed on the application of a priori error estimates of FEM. Estimates are applied to the generation of the mesh, and cheap and precise computing of the solution even in domains with corner-like singularities is reached. Numerical results are included for two channels with sharp nonconvex inner corners. Conclusions are summarized, including achievements and topics for further research. 2

3 Acknowledgements I greatly thank Mr Pavel Burda, my advisor, proofreader, consultant, teacher, and friendly colleague in one personality. He came up with the idea of performing the following research and interested me in the finite element method. He kept his optimism when everything went wrong, was helpful anytime I needed it, and his friendship with me has been beyond the role of mere advisor. No less do I thank Mr Jaroslav Novotný. None of used program implementations would have been developed without his assistance. He spent huge amounts of his time working on my problems and helping me to realize my ideas. He also has had many useful comments which have helped to orient me in problems of computational fluid dynamics. I thank him also for providing his frontal solver for systems of linear equations. It has helped to save a lot of time. I also thank my parents who have supported me in studies. Jakub Šístek This research has been realized as a part of the project supported by the GAAV Grant No. IAA /02. 3

4 Contents 1 Introduction 5 2 Navier-Stokes equations for incompressible viscous fluids Unsteady two-dimensional flow Steady two-dimensional flow Unsteady axisymmetric flow Variational formulation of Navier-Stokes equations Finite element methods for Navier-Stokes equations Function spaces for velocity and pressure approximation Hood-Taylor finite elements Discretization of steady Navier-Stokes equations by FEM Discretization of unsteady Navier-Stokes equations Space semidiscretization of unsteady Navier-Stokes equations by FEM Time discretization of unsteady Navier-Stokes equations by the Euler method 14 4 Stabilization techniques for finite element method Advection-diffusion equation Navier-Stokes equations Algorithm for solving Navier-Stokes equations based on GLS Stabilizing terms for steady Navier-Stokes equations Functionals for the Newton method and their differentials in steady case Matrices for the finite element method in steady case Stabilizing terms for unsteady Navier-Stokes equations Functionals for the Newton method and their differentials in unsteady case Matrices for the finite element method in unsteady case Stabilization parameters Numerical implementation Numerical experiments Steady solution of lid driven cavity Unsteady solution of lid driven cavity Unsteady solution of flow past NACA 0012 airfoil On the application of a priori error estimates for Navier-Stokes equations Algorithm for generation of computational mesh Geometry and design of the mesh Measuring of error Numerical results Conclusion 65 9 Appendix 66 4

5 1 Introduction Application of the finite element method (FEM in engeneering has made a rapid progress, and it is widely used in industry as well as in research centers today. Well-established commercial software based on the FEM helps with performing more complex simulations to make developments of products of desired properties cheaper. When application of the FEM in structure mechanics is now clear enough for solving common tasks, and only special problems remain to be resolved, fluid dynamics still includes amount of open and not well handled problems. One of them is reliable modelling of flows for high Reynolds numbers, which appear in engineering practice. The idea of stabilizing the FEM is not quite new in comparison to history of FEM itself. Many researchers are involved in this area and have already presented many techniques and results. Some of them have provided theroretical basis for the problem from the mathematical point of view, others presented often better results but usually with quite unclear background. Let us briefly review several publications related to the area. T.J.R. Hughes, L.P. Franca, and M. Balestra [20] presented the stable Petrov-Galerkin formulation of the Stokes problem in J. Douglas, Jr. and J. Wang [10] introduced another stabilized method for the Stokes problem in In the same year, T.J.R. Hughes, L.P. Franca, and G.M. Hulbert [21] presented SUPG and GLS stabilized finite element methods for the advective-diffusive equation. Their ideas were extended to the Navier-Stokes equations and completed by L.P. Franca and S.L. Frey [12], L.P. Franca and T.J.R. Hughes [14], L.P. Franca and A.L. Madureira [15], and L.P. Franca, S.L. Frey, and A.L. Madureira [13]. Work of T.E. Tezduyar (e.g. [27] and work of G. Lube and his coworkers (e.g. [16] can be listed as a recent research in the stabilization of the FEM for fluid dynamics. R. Glowinski investigates another approach to stabilization (e.g. [18]. It uses spliting of the Navier-Stokes equations into the Stokes problem and the advective-diffusive equation. Work of L.P. Franca and T.J.R. Hughes provides the theoretical basis for the presented research. The goal of it was to develop an algorithm based on the FEM stabilized by the technique introduced in [21] as Galerkin Least-Squares (GLS method. Let us mention the structure of the thesis. Flow of an incompressible viscous fluid described by the Navier-Stokes equations is introduced in Chapter 2. In Chapter 3, FEM formulation of the Navier-Stokes problem is described, together with difficulties accompanying numerical solution. An overview of stabilization techniques, especially GLS is presented in Chapter 4. This stabilization is applied to the advective-diffusive equation and to the Navier-Stokes equations. Chapter 5 is the principal part of the work. It contains a careful derivation of the algorithm based on the FEM. The algorithm is derived for the steady case and then extended to the unsteady case. Several numerical experiments are presented in Chapter 6. They are selected and sorted in order to show all positive as well as negative aspects of the stabilization, and of solving the Navier-Stokes equations in general. Whereas most of the thesis (Chapters 2-6 is concerned with the stability and therefore convergence of the FEM solution of fluid flow for high Reynolds numbers, Chapter 7 is devoted more to the aspect of accuracy of the FEM applied to flow in channels with sharp nonconvex inner corners. It deals with the application of a priori error estimates of the FEM to mesh generation. This approach offers quite cheap and precise computing of selected problems. Numerical results are demonstrated on two examples. Chapter 8 includes main achievements and topics for further research. 5

6 2 Navier-Stokes equations for incompressible viscous fluids Let be an open bounded domain in R 2 filled with a fluid, and let Γ be its boundary. The generic point of R 2 is denoted by x = (x 1, x 2 T considered in meters, and t denotes time variable considered in seconds. 2.1 Unsteady two-dimensional flow In this work, we deal with isothermal flow of Newtonian viscous fluids with constant density. Such flow is modelled by the following Navier-Stokes system of partial differential equations (nonconservative form where ρ ( u t + (u u µ u + p r = ρf in [0, T] (2.1 u = 0 in [0, T] (2.2 u = (u 1, u 2 T denotes the vector of flow velocity considered in m/s, which is a function of x and t p r denotes the pressure considered in Pa, which is a function of x and t ρ denotes the density of the fluid considered in kg/m 3 µ denotes the dynamic viscosity of the fluid considered in Pa s, which is supposed to be constant f denotes the density of volume forces per mass unit considered in N/kg, which could be a function of x and t, Let us divide both sides of the momentum equation (2.1 by ρ and leave the continuity equation (2.2 unchanged. Then we obtain where u t + (u u ν u + p = f in [0, T] (2.3 u = 0 in [0, T] (2.4 p = pr ρ denotes the pressure divided by the density considered in Pa m3 /kg ν = µ ρ denotes the kinematic viscosity of the fluid considered in m2 /s The system introduced is not sufficient to define a flow since it has an infinity of solutions. To restrict the number of solutions, we have to consider further conditions, such as the initial condition where u 0 = 0, and the boundary conditions where u = u 0 in, t = 0 (2.5 u = g on Γ g [0, T] (2.6 ν( un + pn = 0 on Γ h [0, T] (2.7 6

7 Γ g and Γ h are two subsets of Γ satisfying Γ = Γ g Γ h, µ R 1(Γ g Γ h = 0 n denotes an outer normal vector to the boundary Γ with unit lenght Introduced g is a given function of x and t satisfying in the case of Γ = Γ g for all t [0, T] g ndγ = Steady two-dimensional flow Γ For the case of steady flow, the time derivative in (2.3 becomes zero. Then the Navier-Stokes equations are reduced to and boundary conditions to (u u ν u + p = f in (2.8 u = 0 in (2.9 u = g on Γ g (2.10 ν( un + pn = 0 on Γ h (2.11 Initial condition is not present, and u, p, f, and g are no more functions of t. 2.3 Unsteady axisymmetric flow Let us now consider the system of Navier-Stokes equations for incompressible viscous fluid in three dimensions, cf. [18]. After performing transformation of the cartesian system of coordinates {x 1, x 2, x 3 } into the cylindrical system of coordinates {r, ϕ, z} where x 1 = r cosϕ; x 2 = r sin ϕ; x 3 = z, and considering axialy symmetric flow, i.e. variables are independent of ϕ, we obtain Navier- Stokes equations in the form (cf. e.g. [5] ( u 2 t + v u r + u u z ν u r + 1 u 2 r r + 2 u + p = f z 2 z in [0, T] (2.12 z ( v 2 t + v v r + u v z ν v r + 1 v 2 r r v r + 2 v + p = f 2 z 2 r in [0, T] (2.13 r v r + v r + u = 0 in [0, T] (2.14 z where u denotes the axial component of velocity (direction of z-coordinate considered in m/s, which is a function of x and t v denotes the radial component of velocity (direction of r-coordinate considered in m/s, which is a function of x and t f = (f z, f r T denotes the density of volume forces per mass unit considered in N/m 3, which could be a function of x and t Equations (2.12-(2.14 govern the axisymmetric flow in a domain R 2, where the generic point of R 2 is now denoted by x = (z, r T for arbitrary ϕ. 7

8 2.4 Variational formulation of Navier-Stokes equations We need to introduce several function spaces for further derivations. Note, that all integrals are considered in the Lebesque sense. Let L 2 ( be the space of square integrable functions on, and let L 2 (/R be the space of functions in L 2 ( ignoring an additive constant. Let H 1 ( and H0 1 ( be the Sobolev spaces defined as H 1 ( = H 1 0( = { v v L 2 (, v } L 2 (, i = 1, 2 x { i } v v H 1 (,Tr v = 0 where Tr is the trace operator Tr : H 1 ( L 2 (Γ g, and derivatives are considered in the weak sense. The norm of function v in the space L 2 ( is considered as v 2 L 2 ( = v 2 d and the norm of function v in the Sobolev space H 1 ( is considered as ( 2 ( 2 v v 2 H 1 ( = v 2 + d x k Sometimes, the notation L2 ( is shortened to 0 and H 1 ( to 1. The inner product of two functions u and v in the space L 2 ( is considered as (u, v L2 ( = uv d Similarly, the notation (u, v L2 ( is shortened to (u, v 0. For more about Sobolev spaces and their properties, see e.g. [11]. Let us define vector function spaces V g and V by { } V g = v = (v 1, v 2 T v [H 1 (] 2 ;Tr v i = g i, i = 1, 2 V = {v = (v 1, v 2 T v [H 10(] } 2 Let us note, that the norm of vector function v in the space V g and V is then 2 ( 2 ( 2 v 2 [H 1 (] = v 2 vi 2 i + d x k i=1 k=1 k=1 and the norm of vector function v in the space [L 2 (] 2 is 2 v 2 [L 2 (] = 2 i=1 v 2 i d 8

9 Let us derive the weak formulation of the Navier-Stokes equations (2.3-(2.4 in the way of mixed methods, i.e. usage of different function spaces of test functions for the momentum equation and for the continuity equation (cf. [17]. To derive it, we suppose for a while, that the functions appearing in the system are sufficiently smooth. Then for any t [0, T], we have u t vd + (u u vd ν u vd + p vd = f vd (2.15 ψ ud = 0 (2.16 u u g V (2.17 for any v V and ψ L 2 ( where u g V g is a representation of the Dirichlet boundary condition g in (2.6. We assume g [L 2 (Γ g ] 2 and f [L 2 (] 2. Using Green s formula on the third and the fourth term of equation (2.15, we obtain u t vd + (u u vd ν ( uv ndγ + ν u : vd + Γ + pv ndγ p vd = f vd (2.18 Γ ψ ud = 0 (2.19 u u g V (2.20 The integrals over boundary in (2.18 vanish for considered boundary conditions. The operation u : v is defined in Appendix. Then the weak unsteady Navier-Stokes problem means seeking of u(t = (u 1 (t, u 2 (t T V g and p(t L 2 (/R satisfying for any t [0, T] u t vd + (u u vd + ν u : vd p vd = f vd (2.21 ψ ud = 0 (2.22 for v V and ψ L 2 (. Similarly, the weak steady Navier-Stokes problem reads: u u g V (2.23 Seek u = (u 1, u 2 T V g and p L 2 (/R satisfying (u u vd + ν u : vd p vd = f vd (2.24 ψ ud = 0 (2.25 for v V and ψ L 2 (. u u g V (2.26 9

10 3 Finite element methods for Navier-Stokes equations Let us divide the domain (supposed now polygonal into N elements of a triangulation T such that N = =1 µ R 2 ( T L = 0, L Let h mean the largest distance in element. 3.1 Function spaces for velocity and pressure approximation Difficult problem in solving the Navier-Stokes equations by the FEM consists in a proper choice of function spaces for velocity and pressure approximation. Appart from spectral finite element methods, polynomial approximation is commonly used in the FEM in general. To solve the Navier-Stokes equations, it is possible to choose different polynomial approximation for velocities and for pressure. Equal order approximation is easy to implement, but pressure exhibits instability. Approximation with different order is more suitable for practical computing, cf. [1]. The following properties of desired solution are linked with the variational formulation of the Navier-Stokes equations (2.21-(2.23 or (2.24-(2.26: each component of velocity is a square integrable function of x, and at least its first derivative by any coordinate (in the weak sense exists pressure is a square integrable function of x There is an effort for using higher order approximations induced by p-methods and hpmethods. But this is not straightforward for the Navier-Stokes equations. I. Babuška and F. Brezzi proved a condition (also called inf-sup condition limitting the choice of combinations of approximation CB >0,const. qh Q h vh V gh (q h, v h 0 C B q h 0 v h 1 (3.1 where Q h and V gh are the function spaces for approximation of pressure and velocity. This is an important stability result. It has been shown, that there are big difficulties with applying approximations, which do not satisfy the Babuška-Brezzi condition, cf. e.g. [1]. Chosen combination of final polynomial approximation is achieved by usage of corresponding finite elements. There are several finite elements (in 2D as well as in 3D which do satisfy the BB-condition. Following list is not complete. Finite elements satisfying the Babuška-Brezzi condition (cf. [1] P + 1 P 1 (mini element P 2 P 1 (Hood-Taylor, 1973 P + 2 P 1 P + 2 P 1 (Crouzeix-Raviart Q 2 Q 1 (Hood-Taylor Q 2 P 1 10

11 3.2 Hood-Taylor finite elements For their application in this work, Hood-Taylor finite elements on triangles and quadrilaterals are described more precisely. Values of velocity are aproximated in corner nodes and in midsides, and values of pressure in corner nodes (Figure 3.1. It corresponds to the following function spaces on element : triangle quadrilateral v i P 2 (, i = 1, 2, i.e. polynomial of the second order p P 1 ( i.e. linear polynomial v i Q 2 (, i = 1, 2, i.e. polynomial of the second order for each coordinate p Q 1 ( i.e. bilinear polynomial Ù ¹ Æ Ú Ü Ú Ý Ô ¹ Æ Ú Ü Ú Ý Ù ¹ Æ Ú Ü Ú Ý Ô ¹ Æ Ù Ú Ü Ú Ý Ô ¹ Æ Ú Ü Ú Ý ¹ Æ Ú Ü Ú Ý ¹ ¹ Æ Ú Ü Ú Ý ¹ Æ Ú Ü Ú Ý Ù Ú Ü Ú Ý Ô Ú Ü Ú Ý ¹ ¹ Æ Æ Ù ¹ Æ ½ ¾ Ú Ü Ú Ý Ô Ù Ú Ü Ú Ý Ô Ú Ü Ú Ý ¹ ¹ Æ Æ Ù ¹ Æ ½ ¾ Ú Ü Ú Ý Ô ¹ Figure 3.1: Hood-Taylor reference elements The approximation leads to the following shape functions written in local coordinate system {ξ, η}: triangle Space functions for approximation of velocity component N 1 = 1/2 (2 ξ η(1 ξ η N 2 = 1/2 ξ(ξ 1 N 3 = 1/2 η(η 1 N 4 = ξ(2 ξ η N 5 = ξη N 6 = η(2 ξ η 11

12 Space functions for approximation of pressure M 1 = 1/2 (2 ξ η M 2 M 3 = 1/2 ξ = 1/2 η quadrilateral Space functions for approximation of velocity component N 1 = 1/4 (1 ξ(1 η( ξ η 1 N 2 = 1/4 (1 + ξ(1 η(ξ η 1 N 3 = 1/4 (1 + ξ(1 + η(ξ + η 1 N 4 = 1/4 (1 ξ(1 + η( ξ + η 1 N 5 = 1/2 (1 ξ 2 (1 η N 6 = 1/2 (1 η 2 (1 + ξ N 7 = 1/2 (1 ξ 2 (1 + η N 8 = 1/2 (1 η 2 (1 ξ Space functions for approximation of pressure M 1 = 1/4 (1 ξ(1 η M 2 = 1/4 (1 + ξ(1 η M 3 = 1/4 (1 + ξ(1 + η M 4 = 1/4 (1 ξ(1 + η 3.3 Discretization of steady Navier-Stokes equations by FEM Let us consider the variational formulation of the steady Navier-Stokes equations (2.24- (2.26. For isoparametric finite elements, velocities and pressure on each element are given as v x = v y = p = N u i=1 N u i=1 N p i=1 v xi N i v yi N i p i M i where v x denotes the component of velocity in the direction of x-coordinate v y denotes the component of velocity in the direction of y-coordinate p denotes pressure v xi is the value of velocity v x in the node i 12

13 v yi is the value of velocity v y in the node i p i is the value of pressure in the node i N u is the number of nodes with value of velocity on element given (in the case of Hood-Taylor elements, N u = 8 for quadrilateral and N u = 6 for triangle N p is the number of nodes with value of pressure on element given (in the case of Hood-Taylor elements, N p = 4 for quadrilateral, N p = 3 for triangle Let us employ the notation { Pm (T R m ( =, if is a triangle Q m (, if is a quadrilateral and let C( denote the space of continuous functions on. Application of Hood-Taylor finite elements leads to the final approximation on the domain satisfying u h V gh and p h Q h where { V gh = v h = (v h1, v h2 T [C(] 2 ; v hi T R 2 (, = 1,..., N, i = 1, 2, v h = g } in nodes on Γ g { } Q h = ψ h C(; ψ h T R 1 (, = 1,...,N For further reasons, we introduce the space { V h = v h = (v h1, v h2 T [C(] 2 ; v hi T R 2 (, = 1,...,N, i = 1, 2, v h = 0 } in nodes on Γ g Since these function spaces satisfy V gh V g, V h V, and Q h L 2 (/R for prescribed arbitrary value of pressure (e.g. p h = 0 in one node, we can introduce approximate steady Navier-Stokes problem: Seek u h V gh and p h Q h satisfying (u h u h v h d + ν u h : v h d p h v h d = f v h d, v h V h (3.2 ψ h u h d = 0, ψ h Q h (3.3 where u gh V gh is the projection of u g onto the space V gh. u h u gh V h (3.4 Using the shape regular triangulation and refining the mesh such that h max 0 where h max = max h, the solution of the approximated problem converges to the solution of the continuous problem (for more cf. e.g. [1]. 13

14 3.4 Discretization of unsteady Navier-Stokes equations To solve the unsteady Navier-Stokes equations (2.21-(2.23, we need to discretize the system both in space and time. Two techniques are avaiable: Method of lines (MOL 1. step semidiscretization in space (e.g. by FEM 2. step discretization in time (e.g. by the Euler method Rothe s method 1. step semidiscretization in time 2. step discretization in space 3.5 Space semidiscretization of unsteady Navier-Stokes equations by FEM Let us perform space semidiscretization of the system (2.21-(2.23 by the FEM in the context of the MOL. Extending derivations for the steady case in Chapter 3.3, we introduce the problem: Seek u h (t V gh, t [0, T] and p h (t Q h, t [0, T] satisfying u h t v hd + (u h u h v h d + ν u h : v h d p h v h d = f v h d, v h V h (3.5 ψ h u h d = 0, ψ h Q h (3.6 u h u gh V h ( Time discretization of unsteady Navier-Stokes equations by the Euler method In the unsteady case of the Navier-Stokes system of equations, the approximation of time is needed. As for discretization in space, several possibilities are avaiable. Let us restrict to those introducing discrete time layers, in which the solution is seeked. These methods can be divided into explicit, semi-imlicit, and implicit families. Employing MOL leads to solving system of ordinary differential equations (ODE after semidiscretization in space. We can choose from various numerical methods known from solving ODE systems, starting from the Euler methods to the Runge-utta methods of high order approximation. Very sophisticated way was introduced by R. Glowinski (e.g. in [18]. It is based on fractional steps methods, therefore represents the family of Rothe s methods. In this thesis, we consider partition of the time interval [0, T] into M time intervals with M +1 time layers. The time step between n-th time layer and (n+1-st time layer is assumed constant and is denoted by ϑ. 14

15 We employ the implicit Euler method (also known as the backward difference method for time discretization of the Navier-Stokes system (3.5-(3.7, i.e. time derivative is substituted as u h t un+1 h u n h. ϑ This leads to fully implicit method for seeking u h in (n+1-st time layer. The problem then reads: Seek u n+1 h V gh and p n+1 h Q h satisfying 1 u n+1 h v h d + (u n+1 h u n+1 h ϑ p n+1 h v h d 1 ϑ v h d + ν u n+1 h : v h d u n h v hd = f n+1 v h d, v h V h (3.8 ψ h u n+1 h d = 0, ψ h Q h (3.9 u n+1 h u n+1 gh V h (

16 4 Stabilization techniques for finite element method Stability of numerical methods for solving partial differential equations is restricted, e.g. for the Navier-Stokes equations by the Reynolds number. In the effort for computing behind this line, a lot of researchers presented methods improving stability of numerical schemes. For the finite element method, let us mention work of T.J.R. Hughes, L.P. Franca, and their co-workers in [12],[13],[14],[15],[20], and [21], which gives the basis for this work. 4.1 Advection-diffusion equation Let us consider for a moment the problem of finding u = u(x, x satisfying where L σ(u = f in σ = au + κ u a denotes given flow velocity assumed solenoidal, i.e. a = 0 in κ > 0 denotes diffusivity combined with sufficient boundary conditions (see [4] for details. Variational formulation of this problem reads: Seek u V g such that where B(u, w = L(w, w V B(u, w = ( au + κ u, w + (a + n u, w Γ h L(w = (f, w + (h, w Γh = {w H 1 (, w = g on Γ g in the sense of traces} V g V = {w H 1 (, w = 0 on Γ g in the sense of traces} a + a n + a n nu = 2 Let us consider a partition of into finite elements. Let be the interior of the th element. Denote = (element interiors Let V gh V g, V h V be finite element spaces consisting of continuous piecewise polynomials of order k. 16

17 Classical Galerkin method means: Seek u h V gh such that B(u h, w h = L(w h, w h V h Hughes, Franca, and Hulbert presented two methods with improved stability properties for the advection-diffusion equation in [21]: Streamline Upwind Petrov-Galerkin (SUPG B SUPG (u h, w h = L SUPG (w h, B SUPG (u h, w h Galerkin Least-Squares (GLS L SUPG (w h B GLS (u h, w h = L GLS (w h, B GLS (u h, w h L GLS (w h w h V h B(u h, w h + τ(lu h,a w h L(w h + τ(f,a w h w h V h B(u h, w h + τ(lu h, Lw h L(w h + τ(f, Lw h where τ is positive parameter and is function of element Peclet number α. The authors assume the following: α = h a 2κ τ = O( h for α large a τ = O( h2 for α small κ Both SUPG and GLS methods have modifications for the Navier-Stokes equations. 4.2 Navier-Stokes equations L.P. Franca and T.J.R. Hughes [14] analyze modification of the GLS method to stabilize the steady linearized Navier-Stokes equations given by where a = 0. They define the norm on V gh Q h as ( ua + p ν u = f in (4.1 u = 0 in (4.2 u = 0 on Γ (4.3 {u, p} 2 ν u 2 0, + τ ( ua + p ν u 2 0, + δ u 2 0, (4.4 and they prove the following lemma: Lemma 4.1 (Stability The bilinear form of the linearized problem (4.1-(4.3 satisfies B GLS (u h, p h ;u h, p h = {u h, p h } 2. 17

18 For the Stokes problem, the following estimate is proved in [14] {u h, p h } 2 ν 2 u 2 0, + 1 τ p 2 0, + 2 δ u 2 0, (4.5 Notice, that the choice δ = 0 also gives stability. It is important in further derivations (Chapter 5. Using stability, the following convergence theorem is proved in [14]: Theorem (Convergence Assuming constant viscosity ν, the solution {u h, p h } obtained by the GLS method converges to the solution {u, p} of (4.1-(4.3 as follows: {u h, p h } {u, p} 2 C [ ( H(Re 1 sup a q h 2k+1 u 2 k+1, + sup a 1 q h2l+1 p 2 l+1, x T x + H(1 Re ( ] νh 2k u 2 k+1, + ν 1 h 2l+2 p 2 l+1, where H( is the Heaviside function given by { 0, x < y H(x y = 1, x > y and Re is local Reynolds number on element. L.P. Franca and A.L. Madureira [15] consider slightly different formulation of the steady problem than is considered in this work up to here, given by ( where ε(u ij = 1 u i 2 x j + u j x i. The stabilized problem reads: Seek u h V gh and p h Q h satisfying in ( uu 2ν ε(u + p = f in u = 0 in u = 0 on Γ B GLS (u h, p h ;v h, ψ h = L GLS (v h, ψ h, v h V h, ψ h Q h where B GLS (u h, p h ;v h, ψ h ((u h u h,v h 0 + (2νε(u h, ε(v h 0 (p h, v h (ψ h, u h 0 + ( u h, δ v h ( (uh u h + p h 2ν ε(u h, τ((u h v h + ψ h 2ν ε(v h L GLS (v h, ψ h (f,v h 0 + ( f, τ((uh v h + ψ h 2ν ε(v h 18

19 Franca and Madureira [15] suggest stabilization parameters τ and δ as δ = u(x p ξ(re (x (4.6 λ τ = ξ(re (x λ u(x p (4.7 where Re (x = u(x p 4 λ ν { Re (x, 0 Re ξ(re (x = (x < 1 1, Re (x 1 ε(v h 2 0,T λ = max 0 =v (R k ( /R N ε(v h 2 0,T ( N 1 u i (x p p, 1 p < u(x p = i=1 max u i(x, p = i=1,n Recommended way of computing λ is to find the largest eigenvalue of the problem ( ε(w h, ε(v h λ ( w h, v h = 0, v h (R k ( /R N for each element once the mesh is set up. 19

20 5 Algorithm for solving Navier-Stokes equations based on GLS In this chapter, the algorithm for solving Navier-Stokes equations is derived. We employ the finite element method equipped with the Galerkin Least-Squares (GLS stabilization. We assume application of the Newton method for solving resulting system of nonlinear equations. First, we derive the algorithm for the steady case of the Navier-Stokes equtions, and then we extend it to the unsteady case. Note, that vector operations are defined in Appendix. 5.1 Stabilizing terms for steady Navier-Stokes equations Let us remind the mixed FEM formulation of the steady Navier-Stokes equations (3.2-(3.4: Seek u h V gh and p h Q h satisfying (u h u h v h d + ν u h : v h d p h v h d = f v h d, v h V h (5.1 ψ h u h d = 0, ψ h Q h (5.2 u h u gh V h (5.3 We apply stabilization based on the GLS method. We combine ideas of Hughes and Franca ([21],[15] with two modifications: 1. Stabilization term with parameter δ is not considered. Since most problems are caused by the advective term, we find stabilization of it as most important. We consider as redundant to stabilize the continuity equation, which is represened by the term with δ. In spite of it, we performed several experiments with δ applied, but the results were disastrous. 2. Formulas by Franca and Madureira (Chapter 4.2 are derived for the considered formulation (5.1-(5.3 of the problem. This formulation makes the derivations much simpler, therefore less mistakes can be made and stay undetected. As long as we tried to employ the Franca s formulation, we were not able to obtain contributive results. Let us add zero to the left side of the momentum equation (5.1 as N [(u h u h ν u h + p h f h ] τ[(u h v h ν v h + ψ h ]d = =1 { N = τ(u h u h (u h v h d ν τ(u h u h v h d + =1 + τ(u h u h ψ h d ν τ u h (u h v h d + T + ν T 2 τ u h v h d ν τ u h ψ h d + T + τ p h (u h v h d ν τ p h v h d + τ p h ψ h d } τf h (u h v h d + ν τf h v h d τf h ψ h d 20

21 where τ denotes the positive stabilization parameter. In Chapter 5.7, we show how to determine it. 5.2 Functionals for the Newton method and their differentials in steady case Note: Since only finite element functions u h, v h, p h, and ψ h are considered in this chapter, index h is omitted in what follows. Let us introduce functionals F 1 (u, p and F 2 (u, p for Newton s minimization. F 1 (u, p is derived for the enriched momentum equation (5.1 and F 2 (u, p for the continuity equation (5.2. F 1 (u, p = (u u vd + ν u : vd p vd f vd + + { N τ(u u (u vd ν τ(u u vd + =1 + τ(u u ψd ν τ u (u vd + ν 2 T τ u vd ν τ u ψd + T τ p (u vd ν τ p vd + + τ p ψd τf (u vd + } + ν τf vd τf ψd F 2 (u, p = ψ ud 21

22 We need Frechet s differentials of functionals F 1 (u, p and F 2 (u, p for using the Newton method. We can find them by evaluating Gateaux s differentials since we assume that both exist. < DF 1 (u, p, [h, q] >= [ 1 = lim [(u + th ](u + th vd + ν (u + th : vd t 0 t (p + tq vd f vd + { N + τ[(u + th ](u + th [(u + th ]vd =1 ν τ[(u + th ](u + th vd + τ[(u + th ](u + th ψd T ν τ (u + th [(u + th ]vd + ν 2 τ (u + th vd T ν τ (u + th ψd + τ (p + tq [(u + th ]vd T ν τ (p + tq vd + τ (p + tq ψd } τf [(u + th ]vd + ν τf vd τf ψd (u u vd ν u : vd + p vd + f vd { N τ(u u (u vd ν τ(u u vd + =1 + τ(u u ψd ν τ u (u vd + T + ν T 2 τ u vd ν τ u ψd + T + τ p (u vd ν τ p vd + T + τ p ψd τf (u vd + }] + ν τf vd τf ψd [ ] 1 < DF 2 (u, p, [h, q] >= lim ψ (u + thd ψ ud t 0 t 22

23 After letting t 0, we get the following lemma. Lemma 5.1 Assume all functions sufficiently smooth. Then the Frechet s differentials of functionals F 1 (u, p and F 2 (u, p are < DF 1 (u, p, [h, q] >= = (h u vd + (u h vd + ν h : vd q vd + { N τ(h u (u vd + τ(u h (u vd + =1 τ(u u (h vd ν τ(h u vd ν τ(u h vd + T τ(h u ψd + τ(u h ψd ν τ h (u vd T ν τ u (h vd + ν 2 τ h vd ν τ h ψd + T τ q (u vd + τ p (h vd ν τ q vd + } τ q ψd τf (h vd and < DF 2 (u, p, [h, q] >= ψ hd. Let us formally introduce the functional F(u, p = F 1 (u, p + F 2 (u, p (5.4 and its differential < DF(u, p, [h, q] >=< DF 1 (u, p, [h, q] > + < DF 2 (u, p, [h, q] >. (5.5 The algorithm consists of the following steps 1. solution of the equation system (the z th iteration of the Newton method for h, q: < DF(u, p, [h, q] >= F(u, p ( correction of the solution u, p: u z+1 p z+1 = u z + h = p z + q 23

24 5.3 Matrices for the finite element method in steady case Let us derive matrices for the finite element method. We substitute h x = h y = q = N u i=1 N u i=1 N p i=1 h xi N i h yi N i q i M i and reduce all test functions to v = (N j, 0, v = (0, N j, ψ = M j where N j, j = 1,..., N u are the basis functions of space V h for each component M j, j = 1,...,N p are the basis functions of space Q h Then, we derive three equations for each node from the scalar equation (5.6 by input in turn the following combinations of test functions These equations read for the node j v = (N j, 0, ψ = 0; v = (0, N j, ψ = 0; v = (0, 0, ψ = M j. where by Lemma 5.1 we obtain following terms: < DF(u, p, [h, q] > j1 = F(u, p j1 (5.7 < DF(u, p, [h, q] > j2 = F(u, p j2 (5.8 < DF(u, p, [h, q] > j3 = F(u, p j3 (5.9 24

25 = N u i=1 N u < DF(u, p, [h, q] > j1 = ( u x h xi N i x + h u x y i N i N j d + N u ( Ni + ν h xi i=1 x x + N N i p d i=1 { N u ( ( u x + τ h xi N i i=1 x + h u x y i N i u x x + u y ( ( N i + τh xi u x x + u N i y u x x + u y d + ( ( u x + τ u x x + u u x y h xi N i x + h y i N i d ( ( u x ν τ h xi N i x + h u x 2 N j y i N i x + 2 N j d 2 2 ( ( N i ν τh xi u x x + u N i 2 N j y x + 2 N j d 2 2 ( ( 2 N i ν τh xi x + 2 N i u 2 2 x x + u y d ( ( 2 u x ν τ x + 2 u x h 2 2 xi N i x + h y i N i d + ( ( + ν T 2 2 N i τh xi x + 2 N i 2 N j 2 2 x + 2 N j d τ p ( h xi N i x x + h y i N i d ( } τf x h xi N i x + h y i N i d + N p { ( M i + τq i u x i=1 x x + u y d ( } M i 2 N j ν τq i x x + 2 N j d 2 2 i=1 ( N i h xi u x x + u N i y N j d + q i M i x d + d + 25

26 = N u i=1 N u < DF(u, p, [h, q] > j2 = ( u y h xi N i x + h u y y i N i N j d + N u ( Ni + ν h yi i=1 x x + N N i p d i=1 { N u ( ( u y + τ h xi N i i=1 x + h u y y i N i u x x + u y ( ( N i + τh yi u x x + u N i y u x x + u y d + ( ( u y + τ u x x + u u y y h xi N i x + h y i N i d ( ( u y ν τ h xi N i x + h u y 2 N j y i N i x + 2 N j d 2 2 ( ( N i ν τh yi u x x + u N i 2 N j y x + 2 N j d 2 2 ( ( 2 N i ν τh yi x + 2 N i u 2 2 x x + u y d ( ( 2 u y ν τ x + 2 u y h 2 2 xi N i x + h y i N i d + ( ( + ν T 2 2 N i τh yi x + 2 N i 2 N j 2 2 x + 2 N j d τ p ( h xi N i x + h y i N i d ( } τf y h xi N i x + h y i N i d + N p { ( M i + τq i u x i=1 x + u y d ( } M i 2 N j ν τq i x + 2 N j d 2 2 i=1 ( N i h yi u x x + u N i y N j d + q i M i d + d + 26

27 < DF(u, p, [h, q] > j3 = = N u i=1 N u i=1 τ ( h xi N i { τh xi ν τh xi N p i=1 x + h N i y i τ ( h xi N i u y ( u x N i M j d + ( u x h xi N i x + h u x y i N i Mj Mj x d + x + h u y y i N i d + x + u N i Mj y x d + τh yi ( 2 N i x + 2 N i Mj 2 2 x d ν τq i ( Mi x M j x + M i M j d τh yi x + u N i Mj y d } Mj d + ( u x N i ( 2 N i x + 2 N i 2 2 ( u x ux N j d + ν x x + u x ( u x F(u, p j1 = u x x + u y p N j x d f x N j d + + { ( ( u x τ u x x + u u x y u x x + u y ( ( u x ν τ u x x + u u x 2 N j y x + 2 N j 2 2 ( ( 2 u x ν τ x + 2 u x u 2 2 x x + u y ( ( + ν T 2 2 u x τ x + 2 u x 2 N j 2 2 x + 2 N j τ p ( u x x x + u y d ν τ p ( 2 N j x x + 2 N j d 2 2 ( τf x u x x + u y d + ( } 2 N j + ν τf x x + 2 N j d 2 2 d d d + d + d 27

28 ( u y F(u, p j2 = u x x + u y p N j d f y N j d + + { ( ( u y τ u x x + u u y y u x x + u y ( ( u y ν τ u x x + u u y 2 N j y x + 2 N j 2 2 ( ( 2 u y ν τ x + 2 u y u 2 2 x x + u y ( ( + ν T 2 2 u y τ x + 2 u y 2 N j 2 2 x + 2 N j τ p ( u x x + u y d ν τ p ( 2 N j x + 2 N j d 2 2 ( τf y u x x + u y d + ( } 2 N j + ν τf y x + 2 N j d 2 2 ( u y uy N j d + ν x x + u y d d d + d + ( ux F(u, p j3 = x + u y M j d + + { ( u x τ u x x + u u x Mj y x d + ( u y + τ u x x + u u y Mj y d ( 2 u x ν τ x + 2 u x Mj 2 2 x d ( 2 u y ν τ x + 2 u y Mj 2 2 d + + τ p M j x x d + τ p M j d } M j τf x x d M j τf y d d 28

29 Now, we can peck out the elements of the ji-submatrix ji of the element stiffness matrix e (cf. Figure 5.1. ( u x ji11 (u, p = N i x N N i jd + u x x + u N i y N j d + ( Ni + ν x x + N i d + + { ( u x τn i u x x x + u y d + ( ( N i + τ u x x + u N i y u x x + u y d + ( u x + τ u x x + u u x y N i x d ( u x 2 N j ν τn i x x + 2 N j d 2 2 ( ( N i ν τ u x x + u N i 2 N j y x + 2 N j d 2 2 ( ( 2 N i ν τ x + 2 N i u 2 2 x x + u y d ( 2 u x ν τ x + 2 u x N 2 2 i x d + ( ( + ν T 2 2 N i τ x + 2 N i 2 N j 2 2 x + 2 N j d } + τ p x N i x d τf x N i x d u x ji12 (u, p = N i N jd + + { ( u x τn i u x x + u y d + ( u x + τ u x x + u u x y N i d ( u x 2 N j ν τn i x + 2 N j d 2 2 ( 2 u x ν τ x + 2 u x N 2 2 i d + + τ p } x N i d τf x N i d 29

30 ji13 (u, p = M i { + ν x d + τ M i x τ M i x ( u x x + u y ( 2 N j x + 2 N j 2 2 } d d u y ji21 (u, p = N i x N jd + + { ( u y τn i u x x x + u y d + ( u y + τ u x x + u u y y N i x d ( u y 2 N j ν τn i x x + 2 N j d 2 2 ( 2 u y ν τ x + 2 u y N 2 2 i x d + + τ p } N i x d τf y N i x d ( u y ji22 (u, p = N i N N i jd + u x x + u N i y N j d + ( Ni + ν x x + N i d + + { ( u y τn i u x x + u y d + ( ( N i + τ u x x + u N i y u x x + u y d + ( u y + τ u x x + u u y y N i d ( u y 2 N j ν τn i x + 2 N j d 2 2 ( ( N i ν τ u x x + u N i 2 N j y x + 2 N j d 2 ( ( 2 2 N i ν τ x + 2 N i u 2 2 x x + u y d ( 2 u y ν τ x + 2 u y N 2 2 i d + ( ( + ν T 2 2 N i τ x + 2 N i 2 N j 2 2 x + 2 N j d } + τ p N i d 30 τf y N i d

31 ji31 (u, p = ji32 (u, p = ji23 (u, p = M i { + + τ ν N i x M jd + { u x τn i x ( N i u x x + u y N i M jd + { u x τn i ( N i u x x + u y τ d + τ M i τ M i ( u x x + u y ( 2 N j x + 2 N j 2 2 M j x d + u y τn i x N i Mj x d ν M j x d + u y τn i N i Mj d ν } d M j d + τ d ( 2 N i x + 2 N i 2 2 M j d + τ ( 2 N i x + 2 N i 2 2 } Mj x d } Mj d ji33 (u, p = τ ( Mi x M j x + M i M j d Matrix ji can be written as ji = ji11 ji12 ji13 ji21 ji22 ji23 ji31 ji32 ji33 Let us define vector of the right hand side as F(u, p j1 R j = F(u, p j2 F(u, p j3 and vector of solution as H i = h xi h yi q i This way, we obtain element stiffness matrix e and element vector of the right hand side R e (cf. Figure 5.1. After conventional assemblage procedure of stiffness matrix and the right hand side R, we solve the system of linear equations in each iteration of the Newton method. H = R 31..

32 Figure 5.1: Structure of element stiffnes matrix for quadrilateral element 5.4 Stabilizing terms for unsteady Navier-Stokes equations Remind the unsteady Navier-Stokes problem after space semidiscretization (3.5-(3.7: Seek u h (t V gh, t [0, T] and p h (t Q h, t [0, T] satisfying u h t v hd + (u h u h v h d + ν u h : v h d p h v h d = f v h d, v h V h (5.10 ψ h u h d = 0, ψ h Q h (5.11 u h u gh V h (5.12 Let us add stabilization terms in the same manner as for the steady case N =1 = [ ] [ ] uh t + (u vh h u h ν u h + p h f h τ t + (u h v h ν v h + ψ h d = { N =1 τ u h t (u h v h d ν τ u h t v hd + τ u h t ψ hd + + τ(u h u h (u h v h d ν T τ(u h u h v h d + + τ(u h u h ψ h d ν τ u h (u h v h d + T + ν T 2 τ u h v h d ν τ u h ψ h d + T + τ p h (u h v h d ν τ p h v h d + τ p h ψ h d } τf h (u h v h d + ν τf h v h d τf h ψ h d where we presumed v h t = 0. Note: As in the steady case, index h is omitted in the following text. 32

33 Let us approximate the time derivative in the (n + 1-st time layer as where ϑ is a constant time step. u t un+1 u n ϑ 5.5 Functionals for the Newton method and their differentials in unsteady case Functionals for the Newton method are defined as F 1 (u n+1, p n+1 = 1 u n+1 vd + (u n+1 u n+1 vd + ϑ + ν u n+1 : vd p n+1 vd f n+1 vd 1 u n vd + ϑ { N 1 + τu n+1 (u n+1 vd ν τu n+1 vd + ϑ =1 ϑ + 1 τu n+1 ψd + τ(u n+1 u n+1 (u n+1 vd ϑ T ν τ(u n+1 u n+1 vd + τ(u n+1 u n+1 ψd T ν τ u n+1 (u n+1 vd + ν 2 τ u n+1 vd T ν τ u n+1 ψd + τ p n+1 (u n+1 vd T ν τ p n+1 vd + τ p n+1 ψd T τf n+1 (u n+1 vd + ν τf n+1 vd T τf n+1 ψd 1 τu n (u n+1 vd + ϑ + ν τu n vd 1 } τu n ψd ϑ ϑ F 2 (u n+1, p n+1 = ψ u n+1 d Note: Another simplification of notation is employed in the following derivations. We omit index n + 1, and then u and p denote variables in the (n + 1-st time layer. Index of time layer is preserved at variables from other time layers, e.g. u n. 33

34 Lemma 5.2 Assume all functions sufficiently smooth. Then the Frechet s differentials of functionals F 1 (u, p and F 2 (u, p are < DF 1 (u, p, [h, q] >= = 1 h vd + (h u vd + (u h vd + ν h : vd q vd + ϑ { N 1 + τh (u vd + 1 τu (h vd ν τh vd + ϑ =1 ϑ ϑ + 1 τh ψd + τ(h u (u vd + τ(u h (u vd + ϑ T + τ(u u (h vd ν τ(h u vd ν τ(u h vd + T + τ(h u ψd + τ(u h ψd ν τ h (u vd T ν τ u (h vd + ν 2 τ h vd ν τ h ψd + T + τ q (u vd + τ p (h vd ν τ q vd + + τ q ψd τf (h vd 1 } τu n (h vd ϑ and < DF 2 (u, p, [h, q] >= ψ hd. As for the steady case, we formally introduce the functional and its differential F(u, p = F 1 (u, p + F 2 (u, p (5.13 < DF(u, p, [h, q] >=< DF 1 (u, p, [h, q] > + < DF 2 (u, p, [h, q] >. ( Matrices for the finite element method in unsteady case Let us derive matrices for the finite element method. We substitute h x, h y, and q as in Chapter 5.3 and use the basis functions as test functions. 34

35 We obtain elements of the ji-submatrix ji of the element stiffness matrix e : ji11 (u, p = 1 ϑ + ν N i N j d + ( Ni x x + N i u x N i x N jd + d + + { ( 1 τn i u x ϑ x + u y ν ( 2 N j τn i ϑ x + 2 N j d ( u x + τn i u x x x + u y d + ( ( N i + τ u x x + u N i y u x x + u y ( u x + τ u x x + u u x y N i x d ( u x 2 N j ν τn i x x + 2 N j d 2 2 ( ( N i ν τ u x x + u N i 2 N j y ( ( 2 N i ν τ x + 2 N i u 2 2 x x + u y ( 2 u x ν x + 2 u x N 2 2 i x d + τ + ν 2 τ + τ p x N i ( 2 N i x + 2 N i 2 2 x d ( N i u x x + u N i y N j d + d + 1 τu x N i ϑ x d x + 2 N j 2 2 d + ( 2 N j x + 2 N j 2 2 τf x N i x d 1 ϑ u x ji12 (u, p = N i N jd + + { 1 τu x N i ϑ d + u x τn i ( u x + τ u x x + u u x y N i d ( u x 2 N j ν τn i x + 2 N j d 2 2 ( 2 u x ν τ x + 2 u x N 2 2 i d + + τ p x N i d τf x N i d 1 ϑ d d d + τu n xn i x d ( u x x + u y τu n x N i } d + d } 35

36 ji13 (u, p = M i ν τ M i x x d + { ( 2 N j x + 2 N j 2 2 τ M i x } d ( u x x + u y d ji21 (u, p = u y N i x N jd + { 1 ϑ ( u y τn i u x x x + u y ( u x u y τu y N i x d + d + N i τ x + u u y y x d ( u y 2 N j ν τn i x x + 2 N j d 2 2 ( 2 u y ν τ x + 2 u y N 2 2 i x d + τ p N i x d τf y N i x d 1 ϑ τu n y N i x d } ji22 (u, p = 1 ( u y N i N j d + N i ϑ N N i jd + u x x + u N i y N j d + ( Ni + ν x x + N i d + + { ( 1 τn i u x ϑ x + u y d + 1 τu y N i ϑ d ν ( 2 ( N j τn i ϑ x + 2 N j u y d + τn 2 2 i u x x + u y ( ( N i + τ u x x + u N i y u x x + u y d + ( u y + τ u x x + u u y y N i d ν u y τn i ( ( N i ν τ u x x + u N i 2 N j y x + 2 N j d 2 ( ( 2 2 N i ν τ x + 2 N i u 2 2 x x + u y d ( 2 u y ν τ x + 2 u y N 2 2 i d + ( ( + ν T 2 2 N i τ x + 2 N i 2 N j 2 2 x + 2 N j d } + τ p N i d τf y N i d 1 ϑ 36 d + ( 2 N j x + 2 N j d 2 2 τu n yn i d

37 ji23 (u, p = M i ji31 (u, p = ji32 (u, p = + + ν τ M i N i x M jd + { 1 ϑ τ + + d + { ( 2 N j x + 2 N j 2 2 τn i M j x d + ( u x N i x + u y N i M jd + { 1 ϑ τ τn i M j d + ( u x N i x + u y τ M i } d N i Mj x d ν ( u x x + u y τ d u x M j τn i x x d + u y τn i x ( 2 N i x + 2 N i 2 2 u x M j τn i x d + u y τn i ( 2 N i x + 2 N i 2 2 N i Mj d ν τ M j d + } Mj x d M j d + } Mj d ji33 (u, p = τ ( Mi x M j x + M i M j d Let us remind matrix ji ji = ji11 ji12 ji13 ji21 ji22 ji23 ji31 ji32 ji33, vector of the right hand side R j = F(u, p j1 F(u, p j2 F(u, p j3, and vector of solution H i = h xi h yi q i. 37

38 Elements of the vector of the right hand side are F(u, p j1 = 1 ( ( u x u x N j d + u x ϑ x + u u x ux y N j d + ν x x + u x p N j x d f x N j d 1 u n ϑ xn j d + + { ( 1 τu x u x ϑ x + u y d ν τu x ϑ ( ( u x + τ u x x + u u x y u x x + u y d ( ( u x ν τ u x x + u u x 2 N j y x + 2 N j d 2 2 ( ( 2 u x ν τ x + 2 u x u 2 2 x x + u y d + ( ( + ν T 2 2 u x τ x + 2 u x 2 N j 2 2 x + 2 N j d τ p ( u x x x + u y d ν τ p ( 2 N j x x + 2 N j d 2 2 ( ( τf x u x x + u 2 N j y d + ν τf x x + 2 N j d ( τu n x u x ϑ x + u y d + ν ( } τu n 2 N j x ϑ x + 2 N j d 2 2 F(u, p j2 = 1 ( ( u y u y N j d + u x ϑ x + u u y uy y N j d + ν x p N j d f y N j d 1 u n ϑ yn j d + + { ( 1 τu y u x ϑ x + u y d ν τu y ϑ ( ( u y + τ u x x + u u y y u x x + u y d ( ( u y ν τ u x x + u u y 2 N j y x + 2 N j d 2 2 ( ( 2 u y ν τ x + 2 u y u 2 2 x x + u y d + ( ( + ν T 2 2 u y τ x + 2 u y 2 N j 2 2 x + 2 N j d τ p ( u x x + u y d ν τ p ( 2 N j x + 2 N j 2 2 ( ( τf y u x x + u 2 N j y d + ν τf y x + 2 N j ( τu n y u x ϑ x + u y d + ν ( τu n 2 N j y ϑ x + 2 N j d ( 2 N j x + 2 N j d x + u y d ( 2 N j x + 2 N j d d d d }

39 F(u, p j3 = + + ( ux x + u y ( u x u x τ ν τ T τ p x x + u y ( 2 u x x + 2 u x 2 2 M j x d + τf x M j x d M j d + u x Mj { 1 ϑ τ x d + Mj x d ν τ p M j d τf y M j d 1 ϑ τ τ ( u x M j x + u y ( u x u y τ x + u y ( 2 u y x + 2 u y 2 2 M j d + u y Mj ( u n M j x x + un y d Mj d + } M j d As in Chapter 5.3, after we obtain element stiffness matrix e and element vector of the right hand side R e (cf. Figure 5.1 and perform the assemblage procedure of stiffness matrix and the right hand side R, we solve the system of linear equations in each iteration of the Newton method. H = R Once we obtain the solution in a particular time layer, we solve the problem in next time layer and use the previous solution as the initial value for the Newton method. This is repeated, until we reach the desired time. 5.7 Stabilization parameters It has been already mentioned, that we do not employ stabilization parameter δ. The way to obtain τ is not straightforward. Following the ideas of Franca and Madureira in [15], we compute τ as (cf. (4.7 in Chapter 4.2 where τ = ξ(re (x λ u(x 2 (5.15 Re (x = u(x 2 4 λ ν { Re (x, 0 Re ξ(re (x = (x < 1 1, Re (x 1 v 2 0,T λ = max 0 =v (R 2 ( /R 2 v 2 0, ( u(x 2 = u i (x 2 i=1 Parameter λ is computed for each element as the largest eigenvalue of the problem ( w, v = λ ( w, v, v (R 2 ( /R 2 (5.16 This is done once, before entering the main computational loop of the Newton method, since λ is not a function of velocity and depends only on the computational mesh and space functions on element. 39

40 Let us focus on computing λ more precisely. Problem (5.16 can be written as w vd = λ w : vd, v (R 2 ( /R 2 (5.17 In the finite element dialect, similarly to Chapters 5.3 and 5.6, we substitute and input the vector basis functions w x = w y = N u i=1 N u i=1 w xi N i w yi N i v = (N j, 0; v = (0, N j as test functions, to get two equations from the scalar one (5.17. It leads to N u i=1 N u i=1 w xi w yi ( ( 2 N i x + 2 N i 2 N j 2 2 x + 2 N j N u d = λ 2 2 i=1 ( ( 2 N i x + 2 N i 2 N j 2 2 x + 2 N j N u d = λ 2 2 i=1 w xi w yi ( Ni x ( Ni x x + N i x + N i Let us create element matrices A and B for the purpose of computation of the largest eigenvalue of this problem. ( ( T 2 N i A ji = + 2 N i 2 N j + 2 N j d 0 x 2 2 x 2 2 ( ( 0 T 2 N i + 2 N i 2 N j + 2 N j d x 2 2 x 2 ( 2 N i T B ji = + N i d 0 x x ( N 0 i T + N i d x x Now, we need to find the largest eigenvalue of the generalized matrix eigenvalue problem d Aw = λ Bw (5.18 for each element. Here, λ is the desired eigenvalue and w is the corresponding eigenvector, which is not used in stabilization. Recommended method for solving this problem in [15] is the power method. But several difficulties are hidden behind it 1. The power method is designed for finding of the largest eigenvalue and the corresponding eigenvector of the problem Aw = λ w and not for the generalized problem. We need to transform problem (5.18 to the ordinary problem of eigenvalues. Possible way without necessity of inverting full matrix is sketched. We decompose matrix B by Choleski s method, i.e. find L so that B = LL T 40 d

41 and L is lower triangular matrix. Its inversion is simpler, and when we have it, we get L 1 Aw = λ L T w. Let us denote z = L T w or w = L T z. After substitution, we have L 1 AL T z = λ z. If we denote G = L 1 AL T, we can solve the ordinary problem of eigenvalues Gz = λ z. It is clear, that applied transformations do not take effect on eigenvalues of the generalized problem. 2. During realizing Choleski s decomposition (as for computing an inverse matrix, we need B to be nonsingular. But obtained matrix, which is similar to element stiffness matrix without application of boundary conditions, is singular. Recommended way to regularize it is to fix corresponding number of degrees of freedom. But since this is done by putting units on diagonal and zeros on relevant columns and rows of matrix B, this way could affect the largest eigenvalue, if it is less then one. We experienced, that more suitable way to regularize the matrix is to cut off two rows and columns from both matrices A and B. As far as we have tested this way, it has taken no effect on the largest eigenvalue for different omited rows and columns. The only restriction is to omit one for each component of velocity. Let us investigate the dependence of τ on local Reynolds number Re (x given by (5.15. We can observe that Re (x is a linear function of u(x 2 for constant viscosity on element, i.e. where C 1 = 1 4 λ ν. Substituting (5.19 in (5.15 we get τ(re (x,x = where C 2 = 1 4λ ν and C 3 = 1 λ, cf. Figure 5.2. Re (x = C 1 u(x 2 (5.19 { C 2, 0 Re (x < 1 C 3 u(x 2 = C 2, Re Re (x (x 1 41

42 Figure 5.2: Plot of τ(re An unpleasant effect of stabilization can be discovered. In Chapter 5.3 as well as in Chapter 5.6, we violated the continuity equation through the non-zero term of element matrix ji33 (u, p = τ ( Mi x M j x + M i M j d. This term introduces dependence on pressure into the continuity equation and affects the presumed incompressibility. Since derivatives of shape functions in ji33 are independent of solution, and since τ is never zero (cf. Figure 5.2, ji33 does not vanish for converged solution. But Figure 5.2 gives a hope: we can observe, that τ is decreasing for higher local Reynolds number, therefore described perturbation of the continuity equation is also decreasing for higher Re. 5.8 Numerical implementation The algorithm was implemented using Fortran programming language. Block scheme of the program follows. Main part of programmer s work consisted in writing routines for computing eigenvalues on elements and computing finite element matrices. For the solution of the system of linear equations, resulting from the Newton method, frontal solver is used. This solver was provided by the consultant of my thesis. Program was tested and benchmarks were run on Compaq AlphaServerES47 in the Institute of Thermomechanics. 42

Finite Element Modeling of Incompressible Fluid Flows

Finite Element Modeling of Incompressible Fluid Flows PANM 2008 Programs and Algorithms of Numerical Mathematics Dolní Maxov, June 1 6, 2008 Finite Element Modeling of Incompressible Fluid Flows Pavel Burda, Jaroslav Novotný, Jakub Šístek, Alexandr Damašek

More information

J. Liou Tulsa Research Center Amoco Production Company Tulsa, OK 74102, USA. Received 23 August 1990 Revised manuscript received 24 October 1990

J. Liou Tulsa Research Center Amoco Production Company Tulsa, OK 74102, USA. Received 23 August 1990 Revised manuscript received 24 October 1990 Computer Methods in Applied Mechanics and Engineering, 94 (1992) 339 351 1 A NEW STRATEGY FOR FINITE ELEMENT COMPUTATIONS INVOLVING MOVING BOUNDARIES AND INTERFACES THE DEFORMING-SPATIAL-DOMAIN/SPACE-TIME

More information

NUMERICAL SIMULATION OF INTERACTION BETWEEN INCOMPRESSIBLE FLOW AND AN ELASTIC WALL

NUMERICAL SIMULATION OF INTERACTION BETWEEN INCOMPRESSIBLE FLOW AND AN ELASTIC WALL Proceedings of ALGORITMY 212 pp. 29 218 NUMERICAL SIMULATION OF INTERACTION BETWEEN INCOMPRESSIBLE FLOW AND AN ELASTIC WALL MARTIN HADRAVA, MILOSLAV FEISTAUER, AND PETR SVÁČEK Abstract. The present paper

More information

Chapter 2. General concepts. 2.1 The Navier-Stokes equations

Chapter 2. General concepts. 2.1 The Navier-Stokes equations Chapter 2 General concepts 2.1 The Navier-Stokes equations The Navier-Stokes equations model the fluid mechanics. This set of differential equations describes the motion of a fluid. In the present work

More information

AMS subject classifications. Primary, 65N15, 65N30, 76D07; Secondary, 35B45, 35J50

AMS subject classifications. Primary, 65N15, 65N30, 76D07; Secondary, 35B45, 35J50 A SIMPLE FINITE ELEMENT METHOD FOR THE STOKES EQUATIONS LIN MU AND XIU YE Abstract. The goal of this paper is to introduce a simple finite element method to solve the Stokes equations. This method is in

More information

ADAPTIVE DETERMINATION OF THE FINITE ELEMENT STABILIZATION PARAMETERS

ADAPTIVE DETERMINATION OF THE FINITE ELEMENT STABILIZATION PARAMETERS ECCOMAS Computational Fluid Dynamics Conference 2001 Swansea, Wales, UK, 4-7 September 2001 c ECCOMAS ADAPTIVE DETERMINATION OF THE FINITE ELEMENT STABILIZATION PARAMETERS Tayfun E. Tezduyar Team for Advanced

More information

Singularly Perturbed Partial Differential Equations

Singularly Perturbed Partial Differential Equations WDS'9 Proceedings of Contributed Papers, Part I, 54 59, 29. ISN 978-8-7378--9 MTFYZPRESS Singularly Perturbed Partial Differential Equations J. Lamač Charles University, Faculty of Mathematics and Physics,

More information

On the relationship of local projection stabilization to other stabilized methods for one-dimensional advection-diffusion equations

On the relationship of local projection stabilization to other stabilized methods for one-dimensional advection-diffusion equations On the relationship of local projection stabilization to other stabilized methods for one-dimensional advection-diffusion equations Lutz Tobiska Institut für Analysis und Numerik Otto-von-Guericke-Universität

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

A posteriori error estimates applied to flow in a channel with corners

A posteriori error estimates applied to flow in a channel with corners Mathematics and Computers in Simulation 61 (2003) 375 383 A posteriori error estimates applied to flow in a channel with corners Pavel Burda a,, Jaroslav Novotný b, Bedřich Sousedík a a Department of Mathematics,

More information

Some remarks on the stability coefficients and bubble stabilization of FEM on anisotropic meshes

Some remarks on the stability coefficients and bubble stabilization of FEM on anisotropic meshes Some remarks on the stability coefficients and bubble stabilization of FEM on anisotropic meshes Stefano Micheletti Simona Perotto Marco Picasso Abstract In this paper we re-address the anisotropic recipe

More information

NUMERICAL SOLUTION OF CONVECTION DIFFUSION EQUATIONS USING UPWINDING TECHNIQUES SATISFYING THE DISCRETE MAXIMUM PRINCIPLE

NUMERICAL SOLUTION OF CONVECTION DIFFUSION EQUATIONS USING UPWINDING TECHNIQUES SATISFYING THE DISCRETE MAXIMUM PRINCIPLE Proceedings of the Czech Japanese Seminar in Applied Mathematics 2005 Kuju Training Center, Oita, Japan, September 15-18, 2005 pp. 69 76 NUMERICAL SOLUTION OF CONVECTION DIFFUSION EQUATIONS USING UPWINDING

More information

Stabilized and Coupled FEM/EFG Approximations for Fluid Problems

Stabilized and Coupled FEM/EFG Approximations for Fluid Problems COMPUTATIONAL MECHANICS WCCM VI in conjunction with APCOM4, Sept. 5-, 24, Beijing, China c 24 Tsinghua University Press & Springer-Verlag Stabilized and Coupled FEM/EFG Approximations for Fluid Problems

More information

Interaction of Incompressible Fluid and Moving Bodies

Interaction of Incompressible Fluid and Moving Bodies WDS'06 Proceedings of Contributed Papers, Part I, 53 58, 2006. ISBN 80-86732-84-3 MATFYZPRESS Interaction of Incompressible Fluid and Moving Bodies M. Růžička Charles University, Faculty of Mathematics

More information

Adaptive C1 Macroelements for Fourth Order and Divergence-Free Problems

Adaptive C1 Macroelements for Fourth Order and Divergence-Free Problems Adaptive C1 Macroelements for Fourth Order and Divergence-Free Problems Roy Stogner Computational Fluid Dynamics Lab Institute for Computational Engineering and Sciences University of Texas at Austin March

More information

On discontinuity capturing methods for convection diffusion equations

On discontinuity capturing methods for convection diffusion equations On discontinuity capturing methods for convection diffusion equations Volker John 1 and Petr Knobloch 2 1 Universität des Saarlandes, Fachbereich 6.1 Mathematik, Postfach 15 11 50, 66041 Saarbrücken, Germany,

More information

FINITE ELEMENT APPROXIMATION OF STOKES-LIKE SYSTEMS WITH IMPLICIT CONSTITUTIVE RELATION

FINITE ELEMENT APPROXIMATION OF STOKES-LIKE SYSTEMS WITH IMPLICIT CONSTITUTIVE RELATION Proceedings of ALGORITMY pp. 9 3 FINITE ELEMENT APPROXIMATION OF STOKES-LIKE SYSTEMS WITH IMPLICIT CONSTITUTIVE RELATION JAN STEBEL Abstract. The paper deals with the numerical simulations of steady flows

More information

Multilevel Preconditioning of Graph-Laplacians: Polynomial Approximation of the Pivot Blocks Inverses

Multilevel Preconditioning of Graph-Laplacians: Polynomial Approximation of the Pivot Blocks Inverses Multilevel Preconditioning of Graph-Laplacians: Polynomial Approximation of the Pivot Blocks Inverses P. Boyanova 1, I. Georgiev 34, S. Margenov, L. Zikatanov 5 1 Uppsala University, Box 337, 751 05 Uppsala,

More information

Due Tuesday, November 23 nd, 12:00 midnight

Due Tuesday, November 23 nd, 12:00 midnight Due Tuesday, November 23 nd, 12:00 midnight This challenging but very rewarding homework is considering the finite element analysis of advection-diffusion and incompressible fluid flow problems. Problem

More information

Discontinuous Galerkin Methods

Discontinuous Galerkin Methods Discontinuous Galerkin Methods Joachim Schöberl May 20, 206 Discontinuous Galerkin (DG) methods approximate the solution with piecewise functions (polynomials), which are discontinuous across element interfaces.

More information

A Two-Grid Stabilization Method for Solving the Steady-State Navier-Stokes Equations

A Two-Grid Stabilization Method for Solving the Steady-State Navier-Stokes Equations A Two-Grid Stabilization Method for Solving the Steady-State Navier-Stokes Equations Songul Kaya and Béatrice Rivière Abstract We formulate a subgrid eddy viscosity method for solving the steady-state

More information

Vector and scalar penalty-projection methods

Vector and scalar penalty-projection methods Numerical Flow Models for Controlled Fusion - April 2007 Vector and scalar penalty-projection methods for incompressible and variable density flows Philippe Angot Université de Provence, LATP - Marseille

More information

A note on accurate and efficient higher order Galerkin time stepping schemes for the nonstationary Stokes equations

A note on accurate and efficient higher order Galerkin time stepping schemes for the nonstationary Stokes equations A note on accurate and efficient higher order Galerkin time stepping schemes for the nonstationary Stokes equations S. Hussain, F. Schieweck, S. Turek Abstract In this note, we extend our recent work for

More information

Partitioned Methods for Multifield Problems

Partitioned Methods for Multifield Problems C Partitioned Methods for Multifield Problems Joachim Rang, 6.7.2016 6.7.2016 Joachim Rang Partitioned Methods for Multifield Problems Seite 1 C One-dimensional piston problem fixed wall Fluid flexible

More information

Fundamentals of Fluid Dynamics: Elementary Viscous Flow

Fundamentals of Fluid Dynamics: Elementary Viscous Flow Fundamentals of Fluid Dynamics: Elementary Viscous Flow Introductory Course on Multiphysics Modelling TOMASZ G. ZIELIŃSKI bluebox.ippt.pan.pl/ tzielins/ Institute of Fundamental Technological Research

More information

On Pressure Stabilization Method and Projection Method for Unsteady Navier-Stokes Equations 1

On Pressure Stabilization Method and Projection Method for Unsteady Navier-Stokes Equations 1 On Pressure Stabilization Method and Projection Method for Unsteady Navier-Stokes Equations 1 Jie Shen Department of Mathematics, Penn State University University Park, PA 1682 Abstract. We present some

More information

SECOND ORDER TIME DISCONTINUOUS GALERKIN METHOD FOR NONLINEAR CONVECTION-DIFFUSION PROBLEMS

SECOND ORDER TIME DISCONTINUOUS GALERKIN METHOD FOR NONLINEAR CONVECTION-DIFFUSION PROBLEMS Proceedings of ALGORITMY 2009 pp. 1 10 SECOND ORDER TIME DISCONTINUOUS GALERKIN METHOD FOR NONLINEAR CONVECTION-DIFFUSION PROBLEMS MILOSLAV VLASÁK Abstract. We deal with a numerical solution of a scalar

More information

SUPG STABILIZATION PARAMETERS CALCULATED FROM THE QUADRATURE-POINT COMPONENTS OF THE ELEMENT-LEVEL MATRICES

SUPG STABILIZATION PARAMETERS CALCULATED FROM THE QUADRATURE-POINT COMPONENTS OF THE ELEMENT-LEVEL MATRICES European Congress on Computational Methods in Applied Sciences and Engineering ECCOMAS 24 P. Neittaanmäki, T. Rossi, K. Majava, and O. Pironneau (eds.) W. Rodi and P. Le Quéré (assoc. eds.) Jyväskylä,

More information

Finite difference method for elliptic problems: I

Finite difference method for elliptic problems: I Finite difference method for elliptic problems: I Praveen. C praveen@math.tifrbng.res.in Tata Institute of Fundamental Research Center for Applicable Mathematics Bangalore 560065 http://math.tifrbng.res.in/~praveen

More information

Divergence Formulation of Source Term

Divergence Formulation of Source Term Preprint accepted for publication in Journal of Computational Physics, 2012 http://dx.doi.org/10.1016/j.jcp.2012.05.032 Divergence Formulation of Source Term Hiroaki Nishikawa National Institute of Aerospace,

More information

Numerical Methods for the Navier-Stokes equations

Numerical Methods for the Navier-Stokes equations Arnold Reusken Numerical Methods for the Navier-Stokes equations January 6, 212 Chair for Numerical Mathematics RWTH Aachen Contents 1 The Navier-Stokes equations.............................................

More information

Chapter 1: The Finite Element Method

Chapter 1: The Finite Element Method Chapter 1: The Finite Element Method Michael Hanke Read: Strang, p 428 436 A Model Problem Mathematical Models, Analysis and Simulation, Part Applications: u = fx), < x < 1 u) = u1) = D) axial deformation

More information

PAPER. Stabilized and Galerkin Least Squares Formulations

PAPER. Stabilized and Galerkin Least Squares Formulations PAPER Stabilized and Galerkin Least Squares Formulations R. Ranjan a Y. Feng b A.T. Chronopoulos c a Senior Computational Modeler, Astronautics Corporation of America, Madison b Professor, Department of

More information

Simple Examples on Rectangular Domains

Simple Examples on Rectangular Domains 84 Chapter 5 Simple Examples on Rectangular Domains In this chapter we consider simple elliptic boundary value problems in rectangular domains in R 2 or R 3 ; our prototype example is the Poisson equation

More information

Basic Principles of Weak Galerkin Finite Element Methods for PDEs

Basic Principles of Weak Galerkin Finite Element Methods for PDEs Basic Principles of Weak Galerkin Finite Element Methods for PDEs Junping Wang Computational Mathematics Division of Mathematical Sciences National Science Foundation Arlington, VA 22230 Polytopal Element

More information

Numerical Methods for Partial Differential Equations

Numerical Methods for Partial Differential Equations Numerical Methods for Partial Differential Equations Steffen Börm Compiled July 12, 2018, 12:01 All rights reserved. Contents 1. Introduction 5 2. Finite difference methods 7 2.1. Potential equation.............................

More information

Least-Squares Spectral Collocation with the Overlapping Schwarz Method for the Incompressible Navier Stokes Equations

Least-Squares Spectral Collocation with the Overlapping Schwarz Method for the Incompressible Navier Stokes Equations Least-Squares Spectral Collocation with the Overlapping Schwarz Method for the Incompressible Navier Stokes Equations by Wilhelm Heinrichs Universität Duisburg Essen, Ingenieurmathematik Universitätsstr.

More information

Element diameter free stability parameters. for stabilized methods applied to uids

Element diameter free stability parameters. for stabilized methods applied to uids Element diameter free stability parameters for stabilized methods applied to uids by Leopoldo P. Franca Laboratorio Nacional de Computac~ao Cientica (LNCC/CNPq) Rua Lauro Muller 455 22290 Rio de Janeiro,

More information

RESIDUAL BASED ERROR ESTIMATES FOR THE SPACE-TIME DISCONTINUOUS GALERKIN METHOD APPLIED TO NONLINEAR HYPERBOLIC EQUATIONS

RESIDUAL BASED ERROR ESTIMATES FOR THE SPACE-TIME DISCONTINUOUS GALERKIN METHOD APPLIED TO NONLINEAR HYPERBOLIC EQUATIONS Proceedings of ALGORITMY 2016 pp. 113 124 RESIDUAL BASED ERROR ESTIMATES FOR THE SPACE-TIME DISCONTINUOUS GALERKIN METHOD APPLIED TO NONLINEAR HYPERBOLIC EQUATIONS VÍT DOLEJŠÍ AND FILIP ROSKOVEC Abstract.

More information

Weak Galerkin Finite Element Scheme and Its Applications

Weak Galerkin Finite Element Scheme and Its Applications Weak Galerkin Finite Element Scheme and Its Applications Ran Zhang Department of Mathematics Jilin University, China IMS, Singapore February 6, 2015 Talk Outline Motivation WG FEMs: Weak Operators + Stabilizer

More information

V (r,t) = i ˆ u( x, y,z,t) + ˆ j v( x, y,z,t) + k ˆ w( x, y, z,t)

V (r,t) = i ˆ u( x, y,z,t) + ˆ j v( x, y,z,t) + k ˆ w( x, y, z,t) IV. DIFFERENTIAL RELATIONS FOR A FLUID PARTICLE This chapter presents the development and application of the basic differential equations of fluid motion. Simplifications in the general equations and common

More information

On an Approximation Result for Piecewise Polynomial Functions. O. Karakashian

On an Approximation Result for Piecewise Polynomial Functions. O. Karakashian BULLETIN OF THE GREE MATHEMATICAL SOCIETY Volume 57, 010 (1 7) On an Approximation Result for Piecewise Polynomial Functions O. arakashian Abstract We provide a new approach for proving approximation results

More information

LEAST-SQUARES FINITE ELEMENT MODELS

LEAST-SQUARES FINITE ELEMENT MODELS LEAST-SQUARES FINITE ELEMENT MODELS General idea of the least-squares formulation applied to an abstract boundary-value problem Works of our group Application to Poisson s equation Application to flows

More information

Multilevel and Adaptive Iterative Substructuring Methods. Jan Mandel University of Colorado Denver

Multilevel and Adaptive Iterative Substructuring Methods. Jan Mandel University of Colorado Denver Multilevel and Adaptive Iterative Substructuring Methods Jan Mandel University of Colorado Denver The multilevel BDDC method is joint work with Bedřich Sousedík, Czech Technical University, and Clark Dohrmann,

More information

u n 2 4 u n 36 u n 1, n 1.

u n 2 4 u n 36 u n 1, n 1. Exercise 1 Let (u n ) be the sequence defined by Set v n = u n 1 x+ u n and f (x) = 4 x. 1. Solve the equations f (x) = 1 and f (x) =. u 0 = 0, n Z +, u n+1 = u n + 4 u n.. Prove that if u n < 1, then

More information

FINITE ELEMENT SUPG PARAMETERS COMPUTED FROM LOCAL DOF-MATRICES FOR COMPRESSIBLE FLOWS

FINITE ELEMENT SUPG PARAMETERS COMPUTED FROM LOCAL DOF-MATRICES FOR COMPRESSIBLE FLOWS FINITE ELEMENT SUPG PARAMETERS COMPUTED FROM LOCAL DOF-MATRICES FOR COMPRESSIBLE FLOWS Lucia Catabriga Department of Computer Science, Federal University of Espírito Santo (UFES) Av. Fernando Ferrari,

More information

Optimal control in fluid mechanics by finite elements with symmetric stabilization

Optimal control in fluid mechanics by finite elements with symmetric stabilization Computational Sciences Center Optimal control in fluid mechanics by finite elements with symmetric stabilization Malte Braack Mathematisches Seminar Christian-Albrechts-Universität zu Kiel VMS Worshop

More information

Numerical Solutions to Partial Differential Equations

Numerical Solutions to Partial Differential Equations Numerical Solutions to Partial Differential Equations Zhiping Li LMAM and School of Mathematical Sciences Peking University The Implicit Schemes for the Model Problem The Crank-Nicolson scheme and θ-scheme

More information

A Finite Element Method for the Surface Stokes Problem

A Finite Element Method for the Surface Stokes Problem J A N U A R Y 2 0 1 8 P R E P R I N T 4 7 5 A Finite Element Method for the Surface Stokes Problem Maxim A. Olshanskii *, Annalisa Quaini, Arnold Reusken and Vladimir Yushutin Institut für Geometrie und

More information

Chapter 2 Finite Element Spaces for Linear Saddle Point Problems

Chapter 2 Finite Element Spaces for Linear Saddle Point Problems Chapter 2 Finite Element Spaces for Linear Saddle Point Problems Remark 2.1. Motivation. This chapter deals with the first difficulty inherent to the incompressible Navier Stokes equations, see Remark

More information

NUMERICAL STUDIES OF VARIATIONAL-TYPE TIME-DISCRETIZATION TECHNIQUES FOR TRANSIENT OSEEN PROBLEM

NUMERICAL STUDIES OF VARIATIONAL-TYPE TIME-DISCRETIZATION TECHNIQUES FOR TRANSIENT OSEEN PROBLEM Proceedings of ALGORITMY 212 pp. 44 415 NUMERICAL STUDIES OF VARIATIONAL-TYPE TIME-DISCRETIZATION TECHNIQUES FOR TRANSIENT OSEEN PROBLEM NAVEED AHMED AND GUNAR MATTHIES Abstract. In this paper, we combine

More information

Scientific Computing WS 2017/2018. Lecture 18. Jürgen Fuhrmann Lecture 18 Slide 1

Scientific Computing WS 2017/2018. Lecture 18. Jürgen Fuhrmann Lecture 18 Slide 1 Scientific Computing WS 2017/2018 Lecture 18 Jürgen Fuhrmann juergen.fuhrmann@wias-berlin.de Lecture 18 Slide 1 Lecture 18 Slide 2 Weak formulation of homogeneous Dirichlet problem Search u H0 1 (Ω) (here,

More information

Preconditioners for the incompressible Navier Stokes equations

Preconditioners for the incompressible Navier Stokes equations Preconditioners for the incompressible Navier Stokes equations C. Vuik M. ur Rehman A. Segal Delft Institute of Applied Mathematics, TU Delft, The Netherlands SIAM Conference on Computational Science and

More information

Yongdeok Kim and Seki Kim

Yongdeok Kim and Seki Kim J. Korean Math. Soc. 39 (00), No. 3, pp. 363 376 STABLE LOW ORDER NONCONFORMING QUADRILATERAL FINITE ELEMENTS FOR THE STOKES PROBLEM Yongdeok Kim and Seki Kim Abstract. Stability result is obtained for

More information

IMPACTS OF SIGMA COORDINATES ON THE EULER AND NAVIER-STOKES EQUATIONS USING CONTINUOUS/DISCONTINUOUS GALERKIN METHODS

IMPACTS OF SIGMA COORDINATES ON THE EULER AND NAVIER-STOKES EQUATIONS USING CONTINUOUS/DISCONTINUOUS GALERKIN METHODS Approved for public release; distribution is unlimited IMPACTS OF SIGMA COORDINATES ON THE EULER AND NAVIER-STOKES EQUATIONS USING CONTINUOUS/DISCONTINUOUS GALERKIN METHODS Sean L. Gibbons Captain, United

More information

1 Introduction. J.-L. GUERMOND and L. QUARTAPELLE 1 On incremental projection methods

1 Introduction. J.-L. GUERMOND and L. QUARTAPELLE 1 On incremental projection methods J.-L. GUERMOND and L. QUARTAPELLE 1 On incremental projection methods 1 Introduction Achieving high order time-accuracy in the approximation of the incompressible Navier Stokes equations by means of fractional-step

More information

INTRODUCTION TO FINITE ELEMENT METHODS

INTRODUCTION TO FINITE ELEMENT METHODS INTRODUCTION TO FINITE ELEMENT METHODS LONG CHEN Finite element methods are based on the variational formulation of partial differential equations which only need to compute the gradient of a function.

More information

Finite element methods for the incompressible Navier-Stokes equations

Finite element methods for the incompressible Navier-Stokes equations J.M. Burgerscentrum Research School for Fluid Mechanics Finite element methods for the incompressible Navier-Stokes equations Ir. A. Segal 2017 Delft University of Technology Faculty of Electrical Engineering,

More information

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs Chapter Two: Numerical Methods for Elliptic PDEs Finite Difference Methods for Elliptic PDEs.. Finite difference scheme. We consider a simple example u := subject to Dirichlet boundary conditions ( ) u

More information

PREPRINT 2010:23. A nonconforming rotated Q 1 approximation on tetrahedra PETER HANSBO

PREPRINT 2010:23. A nonconforming rotated Q 1 approximation on tetrahedra PETER HANSBO PREPRINT 2010:23 A nonconforming rotated Q 1 approximation on tetrahedra PETER HANSBO Department of Mathematical Sciences Division of Mathematics CHALMERS UNIVERSITY OF TECHNOLOGY UNIVERSITY OF GOTHENBURG

More information

Finite Elements. Colin Cotter. February 22, Colin Cotter FEM

Finite Elements. Colin Cotter. February 22, Colin Cotter FEM Finite Elements February 22, 2019 In the previous sections, we introduced the concept of finite element spaces, which contain certain functions defined on a domain. Finite element spaces are examples of

More information

Optimal multilevel preconditioning of strongly anisotropic problems.part II: non-conforming FEM. p. 1/36

Optimal multilevel preconditioning of strongly anisotropic problems.part II: non-conforming FEM. p. 1/36 Optimal multilevel preconditioning of strongly anisotropic problems. Part II: non-conforming FEM. Svetozar Margenov margenov@parallel.bas.bg Institute for Parallel Processing, Bulgarian Academy of Sciences,

More information

DUE: WEDS MARCH 26TH 2018

DUE: WEDS MARCH 26TH 2018 HOMEWORK # 2: FINITE DIFFERENCES MAPPING AND TWO DIMENSIONAL PROBLEMS DUE: WEDS MARCH 26TH 2018 NOTE: In this homework, you will choose ONE of the following three questions to perform and hand-in. Each

More information

x n+1 = x n f(x n) f (x n ), n 0.

x n+1 = x n f(x n) f (x n ), n 0. 1. Nonlinear Equations Given scalar equation, f(x) = 0, (a) Describe I) Newtons Method, II) Secant Method for approximating the solution. (b) State sufficient conditions for Newton and Secant to converge.

More information

Efficient Augmented Lagrangian-type Preconditioning for the Oseen Problem using Grad-Div Stabilization

Efficient Augmented Lagrangian-type Preconditioning for the Oseen Problem using Grad-Div Stabilization Efficient Augmented Lagrangian-type Preconditioning for the Oseen Problem using Grad-Div Stabilization Timo Heister, Texas A&M University 2013-02-28 SIAM CSE 2 Setting Stationary, incompressible flow problems

More information

WELL POSEDNESS OF PROBLEMS I

WELL POSEDNESS OF PROBLEMS I Finite Element Method 85 WELL POSEDNESS OF PROBLEMS I Consider the following generic problem Lu = f, where L : X Y, u X, f Y and X, Y are two Banach spaces We say that the above problem is well-posed (according

More information

Discrete Projection Methods for Incompressible Fluid Flow Problems and Application to a Fluid-Structure Interaction

Discrete Projection Methods for Incompressible Fluid Flow Problems and Application to a Fluid-Structure Interaction Discrete Projection Methods for Incompressible Fluid Flow Problems and Application to a Fluid-Structure Interaction Problem Jörg-M. Sautter Mathematisches Institut, Universität Düsseldorf, Germany, sautter@am.uni-duesseldorf.de

More information

Block-Structured Adaptive Mesh Refinement

Block-Structured Adaptive Mesh Refinement Block-Structured Adaptive Mesh Refinement Lecture 2 Incompressible Navier-Stokes Equations Fractional Step Scheme 1-D AMR for classical PDE s hyperbolic elliptic parabolic Accuracy considerations Bell

More information

THE STOKES SYSTEM R.E. SHOWALTER

THE STOKES SYSTEM R.E. SHOWALTER THE STOKES SYSTEM R.E. SHOWALTER Contents 1. Stokes System 1 Stokes System 2 2. The Weak Solution of the Stokes System 3 3. The Strong Solution 4 4. The Normal Trace 6 5. The Mixed Problem 7 6. The Navier-Stokes

More information

On finite element methods for 3D time dependent convection diffusion reaction equations with small diffusion

On finite element methods for 3D time dependent convection diffusion reaction equations with small diffusion On finite element methods for 3D time dependent convection diffusion reaction equations with small diffusion Volker John and Ellen Schmeyer FR 6.1 Mathematik, Universität des Saarlandes, Postfach 15 11

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

Numerical Approximation of Flow Induced Airfoil Vibrations

Numerical Approximation of Flow Induced Airfoil Vibrations Int. Conference on Boundary and Interior Layers BAIL 6 G. Lube, G. Rapin (Eds c University of Göttingen, Germany, 6 Numerical Approximation of Flow Induced Airfoil Vibrations Petr Sváček Department of

More information

Spline Element Method for Partial Differential Equations

Spline Element Method for Partial Differential Equations for Partial Differential Equations Department of Mathematical Sciences Northern Illinois University 2009 Multivariate Splines Summer School, Summer 2009 Outline 1 Why multivariate splines for PDEs? Motivation

More information

An Extended Finite Element Method for a Two-Phase Stokes problem

An Extended Finite Element Method for a Two-Phase Stokes problem XFEM project An Extended Finite Element Method for a Two-Phase Stokes problem P. Lederer, C. Pfeiler, C. Wintersteiger Advisor: Dr. C. Lehrenfeld August 5, 2015 Contents 1 Problem description 2 1.1 Physics.........................................

More information

Scientific Computing WS 2018/2019. Lecture 15. Jürgen Fuhrmann Lecture 15 Slide 1

Scientific Computing WS 2018/2019. Lecture 15. Jürgen Fuhrmann Lecture 15 Slide 1 Scientific Computing WS 2018/2019 Lecture 15 Jürgen Fuhrmann juergen.fuhrmann@wias-berlin.de Lecture 15 Slide 1 Lecture 15 Slide 2 Problems with strong formulation Writing the PDE with divergence and gradient

More information

STEADY AND UNSTEADY 2D NUMERICAL SOLUTION OF GENERALIZED NEWTONIAN FLUIDS FLOW. Radka Keslerová, Karel Kozel

STEADY AND UNSTEADY 2D NUMERICAL SOLUTION OF GENERALIZED NEWTONIAN FLUIDS FLOW. Radka Keslerová, Karel Kozel Conference Applications of Mathematics 1 in honor of the th birthday of Michal Křížek. Institute of Mathematics AS CR, Prague 1 STEADY AND UNSTEADY D NUMERICAL SOLUTION OF GENERALIZED NEWTONIAN FLUIDS

More information

PSEUDO-COMPRESSIBILITY METHODS FOR THE UNSTEADY INCOMPRESSIBLE NAVIER-STOKES EQUATIONS

PSEUDO-COMPRESSIBILITY METHODS FOR THE UNSTEADY INCOMPRESSIBLE NAVIER-STOKES EQUATIONS PSEUDO-COMPRESSIBILITY METHODS FOR THE UNSTEADY INCOMPRESSIBLE NAVIER-STOKES EQUATIONS Jie Shen Department of Mathematics, Penn State University University Par, PA 1680, USA Abstract. We present in this

More information

Implementation of 3D Incompressible N-S Equations. Mikhail Sekachev

Implementation of 3D Incompressible N-S Equations. Mikhail Sekachev Implementation of 3D Incompressible N-S Equations Mikhail Sekachev Navier-Stokes Equations The motion of a viscous incompressible fluid is governed by the Navier-Stokes equations u + t u = ( u ) 0 Quick

More information

arxiv: v1 [math.na] 29 Feb 2016

arxiv: v1 [math.na] 29 Feb 2016 EFFECTIVE IMPLEMENTATION OF THE WEAK GALERKIN FINITE ELEMENT METHODS FOR THE BIHARMONIC EQUATION LIN MU, JUNPING WANG, AND XIU YE Abstract. arxiv:1602.08817v1 [math.na] 29 Feb 2016 The weak Galerkin (WG)

More information

On spurious oscillations at layers diminishing (SOLD) methods for convection-diffusion equations: Part II - Analysis for P1 and Q1 finite elements

On spurious oscillations at layers diminishing (SOLD) methods for convection-diffusion equations: Part II - Analysis for P1 and Q1 finite elements Volker John, Petr Knobloch On spurious oscillations at layers diminishing (SOLD) methods for convection-diffusion equations: Part II - Analysis for P and Q finite elements Preprint No. MATH-knm-27/4 27.

More information

Finite Element Techniques for the Numerical Simulation of Two-Phase Flows with Mass Transport

Finite Element Techniques for the Numerical Simulation of Two-Phase Flows with Mass Transport Finite Element Techniques for the Numerical Simulation of Two-Phase Flows with Mass Transport Christoph Lehrenfeld and Arnold Reusken Preprint No. 413 December 2014 Key words: Two-phase flow, mass transport,

More information

PARTITION OF UNITY FOR THE STOKES PROBLEM ON NONMATCHING GRIDS

PARTITION OF UNITY FOR THE STOKES PROBLEM ON NONMATCHING GRIDS PARTITION OF UNITY FOR THE STOES PROBLEM ON NONMATCHING GRIDS CONSTANTIN BACUTA AND JINCHAO XU Abstract. We consider the Stokes Problem on a plane polygonal domain Ω R 2. We propose a finite element method

More information

AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS

AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 1 / 43 AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS Treatment of Boundary Conditions These slides are partially based on the recommended textbook: Culbert

More information

Iterative Methods for Incompressible Flow

Iterative Methods for Incompressible Flow Iterative Methods for Incompressible Flow Melanie McKay Thesis submitted to the Faculty of Graduate and Postdoctoral Studies in partial fulfillment of the requirements for the degree of Master s of Science

More information

Meshfree Petrov-Galerkin Methods for the Incompressible Navier-Stokes Equations

Meshfree Petrov-Galerkin Methods for the Incompressible Navier-Stokes Equations Meshfree Petrov-Galerkin Methods for the Incompressible Navier-Stokes Equations Thomas-Peter Fries and Hermann Georg Matthies Institute of Scientific Computing, Technical University of Braunschweig, Brunswick,

More information

STABILIZED GALERKIN FINITE ELEMENT METHODS FOR CONVECTION DOMINATED AND INCOMPRESSIBLE FLOW PROBLEMS

STABILIZED GALERKIN FINITE ELEMENT METHODS FOR CONVECTION DOMINATED AND INCOMPRESSIBLE FLOW PROBLEMS NUMERICAL ANALYSIS AND MATHEMATICAL MODELLING BANACH CENTER PUBLICATIONS, VOLUME 29 INSTITUTE OF MATHEMATICS POLISH ACADEMY OF SCIENCES WARSZAWA 1994 STABILIZED GALERIN FINITE ELEMENT METHODS FOR CONVECTION

More information

Finite Difference and Finite Element Methods

Finite Difference and Finite Element Methods Finite Difference and Finite Element Methods Georgy Gimel farb COMPSCI 369 Computational Science 1 / 39 1 Finite Differences Difference Equations 3 Finite Difference Methods: Euler FDMs 4 Finite Element

More information

[2] (a) Develop and describe the piecewise linear Galerkin finite element approximation of,

[2] (a) Develop and describe the piecewise linear Galerkin finite element approximation of, 269 C, Vese Practice problems [1] Write the differential equation u + u = f(x, y), (x, y) Ω u = 1 (x, y) Ω 1 n + u = x (x, y) Ω 2, Ω = {(x, y) x 2 + y 2 < 1}, Ω 1 = {(x, y) x 2 + y 2 = 1, x 0}, Ω 2 = {(x,

More information

ON USING ARTIFICIAL COMPRESSIBILITY METHOD FOR SOLVING TURBULENT FLOWS

ON USING ARTIFICIAL COMPRESSIBILITY METHOD FOR SOLVING TURBULENT FLOWS Conference Applications of Mathematics 212 in honor of the 6th birthday of Michal Křížek. Institute of Mathematics AS CR, Prague 212 ON USING ARTIFICIAL COMPRESSIBILITY METHOD FOR SOLVING TURBULENT FLOWS

More information

arxiv: v1 [math.na] 28 Apr 2017

arxiv: v1 [math.na] 28 Apr 2017 Variational Multiscale Modeling with Discontinuous Subscales: Analysis and Application to Scalar Transport arxiv:1705.00082v1 [math.na] 28 Apr 2017 Christopher Coley and John A. Evans Ann and H.J. Smead

More information

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C.

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C. Lecture 9 Approximations of Laplace s Equation, Finite Element Method Mathématiques appliquées (MATH54-1) B. Dewals, C. Geuzaine V1.2 23/11/218 1 Learning objectives of this lecture Apply the finite difference

More information

Chapter 9: Differential Analysis

Chapter 9: Differential Analysis 9-1 Introduction 9-2 Conservation of Mass 9-3 The Stream Function 9-4 Conservation of Linear Momentum 9-5 Navier Stokes Equation 9-6 Differential Analysis Problems Recall 9-1 Introduction (1) Chap 5: Control

More information

Kasetsart University Workshop. Multigrid methods: An introduction

Kasetsart University Workshop. Multigrid methods: An introduction Kasetsart University Workshop Multigrid methods: An introduction Dr. Anand Pardhanani Mathematics Department Earlham College Richmond, Indiana USA pardhan@earlham.edu A copy of these slides is available

More information

Termination criteria for inexact fixed point methods

Termination criteria for inexact fixed point methods Termination criteria for inexact fixed point methods Philipp Birken 1 October 1, 2013 1 Institute of Mathematics, University of Kassel, Heinrich-Plett-Str. 40, D-34132 Kassel, Germany Department of Mathematics/Computer

More information

Solving PDEs with freefem++

Solving PDEs with freefem++ Solving PDEs with freefem++ Tutorials at Basque Center BCA Olivier Pironneau 1 with Frederic Hecht, LJLL-University of Paris VI 1 March 13, 2011 Do not forget That everything about freefem++ is at www.freefem.org

More information

PDEs, part 1: Introduction and elliptic PDEs

PDEs, part 1: Introduction and elliptic PDEs PDEs, part 1: Introduction and elliptic PDEs Anna-Karin Tornberg Mathematical Models, Analysis and Simulation Fall semester, 2013 Partial di erential equations The solution depends on several variables,

More information

Some remarks on grad-div stabilization of incompressible flow simulations

Some remarks on grad-div stabilization of incompressible flow simulations Some remarks on grad-div stabilization of incompressible flow simulations Gert Lube Institute for Numerical and Applied Mathematics Georg-August-University Göttingen M. Stynes Workshop Numerical Analysis

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

CHAPTER 10: Numerical Methods for DAEs

CHAPTER 10: Numerical Methods for DAEs CHAPTER 10: Numerical Methods for DAEs Numerical approaches for the solution of DAEs divide roughly into two classes: 1. direct discretization 2. reformulation (index reduction) plus discretization Direct

More information

1 Matrices and vector spaces

1 Matrices and vector spaces Matrices and vector spaces. Which of the following statements about linear vector spaces are true? Where a statement is false, give a counter-example to demonstrate this. (a) Non-singular N N matrices

More information