Adaptive C1 Macroelements for Fourth Order and Divergence-Free Problems

Similar documents
Cahn-Hilliard Phase Decomposition and

FEM techniques for nonlinear fluids

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

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

A P4 BUBBLE ENRICHED P3 DIVERGENCE-FREE FINITE ELEMENT ON TRIANGULAR GRIDS

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

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

LibMesh Experience and Usage

20. A Dual-Primal FETI Method for solving Stokes/Navier-Stokes Equations

Weak Galerkin Finite Element Scheme and Its Applications

Local discontinuous Galerkin methods for elliptic problems

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

Discontinuous Galerkin methods for nonlinear elasticity

Lecture 3: The Navier-Stokes Equations: Topological aspects

Excerpt from the Proceedings of the COMSOL Users Conference 2006 Boston

Divergence-conforming multigrid methods for incompressible flow problems

Introduction. Finite and Spectral Element Methods Using MATLAB. Second Edition. C. Pozrikidis. University of Massachusetts Amherst, USA

Recovery-Based A Posteriori Error Estimation

Newton-Multigrid Least-Squares FEM for S-V-P Formulation of the Navier-Stokes Equations

Efficient FEM-multigrid solver for granular material

Fundamentals of Fluid Dynamics: Elementary Viscous Flow


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

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

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

Non-Newtonian Fluids and Finite Elements

Katholieke Universiteit Leuven Department of Computer Science

3. FORMS OF GOVERNING EQUATIONS IN CFD

Candidates must show on each answer book the type of calculator used. Log Tables, Statistical Tables and Graph Paper are available on request.

Numerical methods for the Navier- Stokes equations

Solution Methods. Steady convection-diffusion equation. Lecture 05

A NEW FAMILY OF STABLE MIXED FINITE ELEMENTS FOR THE 3D STOKES EQUATIONS

A Multigrid Method for Two Dimensional Maxwell Interface Problems

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

Contents. Computational Fluid Dynamics. Fundamentals. Deformation of Materials

THE CONVECTION DIFFUSION EQUATION

Chapter 2: Fluid Dynamics Review

LEAST-SQUARES FINITE ELEMENT MODELS

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

Conservation of mass. Continuum Mechanics. Conservation of Momentum. Cauchy s Fundamental Postulate. # f body

CHAPTER 7 SEVERAL FORMS OF THE EQUATIONS OF MOTION

2. FLUID-FLOW EQUATIONS SPRING 2019

Termination criteria for inexact fixed point methods

Spline Element Method for Partial Differential Equations

Weak Galerkin Finite Element Methods and Applications

Basic Principles of Weak Galerkin Finite Element Methods for PDEs

CRITERIA FOR SELECTION OF FEM MODELS.

Vortex stretching in incompressible and compressible fluids

arxiv: v1 [math.na] 29 Feb 2016

arxiv: v1 [physics.comp-ph] 10 Aug 2015

6.2 Governing Equations for Natural Convection

Due Tuesday, November 23 nd, 12:00 midnight

THE solution of the absolute value equation (AVE) of

Application of Chimera Grids in Rotational Flow

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

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

3 Generation and diffusion of vorticity

The Discontinuous Galerkin Finite Element Method

Numerical Simulation of Powder Flow

Chapter 5. The Differential Forms of the Fundamental Laws

NUMERICAL SIMULATION OF THE FLOW AROUND A SQUARE CYLINDER USING THE VORTEX METHOD

CESSATION OF VISCOPLASTIC POISEUILLE FLOW IN A RECTANGULAR DUCT WITH WALL SLIP

Handling Nonlinearity by the Polarization Method and the Newton-Raphson Technique

LibMesh Experience and Usage

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

The Plane Stress Problem

Finite volume method for two-phase flows using level set formulation

IFE for Stokes interface problem

A Recursive Trust-Region Method for Non-Convex Constrained Minimization

1 Exercise: Linear, incompressible Stokes flow with FE

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

CIV-E1060 Engineering Computation and Simulation Examination, December 12, 2017 / Niiranen

1. Introduction. The Stokes problem seeks unknown functions u and p satisfying

Les Houches School of Foam: Rheology of Complex Fluids

Weighted Regularization of Maxwell Equations Computations in Curvilinear Polygons

R T (u H )v + (2.1) J S (u H )v v V, T (2.2) (2.3) H S J S (u H ) 2 L 2 (S). S T

Integration, differentiation, and root finding. Phys 420/580 Lecture 7

Hybrid Discontinuous Galerkin methods for incompressible flow problems

Lecture Note III: Least-Squares Method

Getting started: CFD notation

Least-Squares Finite Element Methods

Acceleration of a Domain Decomposition Method for Advection-Diffusion Problems

UNIVERSITY of LIMERICK

GFD 2012 Lecture 1: Dynamics of Coherent Structures and their Impact on Transport and Predictability

Notes on Cellwise Data Interpolation for Visualization Xavier Tricoche

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

Is My CFD Mesh Adequate? A Quantitative Answer

arxiv: v2 [math.na] 5 Dec 2016

Tetrahedral C m Interpolation by Rational Functions

A Framework for Analyzing and Constructing Hierarchical-Type A Posteriori Error Estimators

Nonlinear Wave Theory for Transport Phenomena

7 The Navier-Stokes Equations

Microscopic Momentum Balance Equation (Navier-Stokes)

Game Physics. Game and Media Technology Master Program - Utrecht University. Dr. Nicolas Pronost

2 CAI, KEYES AND MARCINKOWSKI proportional to the relative nonlinearity of the function; i.e., as the relative nonlinearity increases the domain of co

Fine Grid Numerical Solutions of Triangular Cavity Flow

A Multigrid LCR-FEM solver for viscoelastic fluids with application to problems with free surface

Level Set Tumor Growth Model

Chapter 9: Differential Analysis

A MULTIGRID ALGORITHM FOR. Richard E. Ewing and Jian Shen. Institute for Scientic Computation. Texas A&M University. College Station, Texas SUMMARY

Transcription:

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 4, 2006 roystgnr@cfdlab.ae.utexas.edu

Incompressible Navier-Stokes For incompressible, constant density fluid flow: u t + Re ( u ) u = P + (ν ( u + ( u) T )) u = 0 Enforcing the second equation weakly gives a saddle point problem, which on a stable space gives a an approximately divergence-free solution. Using the right finite elements, can we enforce the divergence-free condition exactly? roystgnr@cfdlab.ae.utexas.edu 1

Differential Exact Sequence H 3 (Ω; R) H 2 (Ω; R d ) H 1 (Ω; R d ) H 0 (Ω; R) Every exact differential form is closed; is every closed form exact? Yes, if Ω is contractable or if every admissible closed form is extensible to a closed form on a contractable Ω. In such domains, we can generate a basis for divergence-free functions by taking the curl of a basis for arbitrary (sufficiently smooth) functions: u ψ roystgnr@cfdlab.ae.utexas.edu 2

Divergence-Free Formulation In a divergence-free space, the pressure variable disappears from the weak momentum equation entirely: Ω P v dω = Ω P v n ds Ω P v dω = 0 For linear Stokes flow, this is equivalent to the streamfunction formulation. For non-newtonian fluids, divergence-free elements produce a simpler weak form of the momentum equation with variable viscosity ν: Ω u v dω = Re v( u ) u dω ν( u + ( u) T ) : v dω t Ω Ω + ν( u + ( u) T ) v n ds Ω roystgnr@cfdlab.ae.utexas.edu 3

Macroelements Constraining a polynomial triangle to C 1 continuity along edges requires a high polynomial degree (quintics). Instead, we can construct a macroelement by subdividing the triangle, using piecewise polynomial functions, and adding continuity constraints on interior edges. roystgnr@cfdlab.ae.utexas.edu 4

Clough-Tocher 3-split roystgnr@cfdlab.ae.utexas.edu 5

Hanging Node Compatibility Adaptive refinement of macroelements requires compatibility between element refinement and element subdivision schemes. Some macroelements (e.g. Clough-Tocher and Powell-Sabin-Heindl triangles, Alfeld tetrahedra) can be made compatible with non-conforming meshes; others (e.g. Worsey-Farin and Worsey-Piper tetrahedra) cannot. roystgnr@cfdlab.ae.utexas.edu 6

Hanging Node Constraints Adaptive mesh refinement creates a non-conforming mesh. Forming a C 1 conforming function space requires constraining hanging node degrees of freedom on fine elements in terms of degrees of freedom on coarse parent elements. u F γ = u C γ u F i φ F i = u C j φ C j i γ j A ki u i = B kj u j u i = A 1 ki B kju j These matrices can be defined using an appropriate inner product: A ki (φ F i, φ F k ) γ B kj (φ C j, φ C k ) γ (L 2 integrated values for C 0 continuity, values and fluxes for C 1 continuity) γ roystgnr@cfdlab.ae.utexas.edu 7

Coarsening Projections Adaptivity in time dependent codes requires the ability to refine and coarsen elements while preserving functions in the finite element space. For projection to a nested refined element, local L 2 projection gives an exact (within FP error) result. In general, a uniquely defined but locally computable result takes several steps: Equate nodal degrees of freedom Project edge degrees of freedom, holding nodal values fixed Project face degrees of freedom, holding edge values fixed Project volume degrees of freedom, holding face values fixed For C 1 elements, we project values and gradients. roystgnr@cfdlab.ae.utexas.edu 8

Error Estimation Kelly flux jump obviously fails on C 1 elements, but biharmonic problems have analogous error terms: η K S K [ f 2 u h S h 2 S + 1 2 [[ n u h ]] S h 3/2 S + 1 ] 2 [[ u h]] S h 1/2 S We still have a useful indicator even after dropping higher order terms and integrating only along macroelement boundaries: η K [ ] 1 2 [[ u h]] K h 1/2 S roystgnr@cfdlab.ae.utexas.edu 9

Shear-dependent Viscosity Many fluid constitutive equations require shear-dependent, non-newtonian fluid models: Where viscosity ν is solely a function of the shear rate s 2 D( u) : D( u), it is convenient to reformulate the entire viscosity term in terms of this symmetric rate of deformation tensor D( u) 1 2 ( u + ( u)t ) rather than the asymmetric velocity gradient u: Ω u v dω = Re v( u ) u dω t Ω + 2ν(s)D( u) v n ds Ω Ω 2ν(s)D( u) : D( v) dω The identity (A + A T ) : B = 1 2 (A + AT ) : (B + B T ) makes this equivalent. roystgnr@cfdlab.ae.utexas.edu 10

Successive Approximation For non-newtonian fluids, we have two nonlinearities in the Navier-Stokes equations, both viscosity related. The Reynolds number (based on ν 0 at low flow rates) adds a nonlinear convection term for Re > 0, and viscosity variation (based on viscosity ν at high flow rates and nondimensionalized as ν /ν 0 ) makes the diffusion term nonlinear for ν ν 0. Rapidly obtaining highly accurate solutions requires a quadratically converging technique like Newton or (with appropriate linear tolerances) Newton-Krylov, but a large region of convergence is obtained by just lagging nonlinear terms: Re Ω v ( u (k 1) ) u (k) dω + 2ν(s(D( u (k 1) )))D( u (k) ) : D( v) dω Ω 2ν(s(D( u (k 1) )))D( u (k) ) v = 0 Ω roystgnr@cfdlab.ae.utexas.edu 11

Iteration Convergence Theoretically, successive approximation of Stokes flow (Re = 0) converges for any shear-thinning fluid with ν 0 < ν(s) ν > 0 Experimentally, successive approximation of Navier-Stokes flow converges given a sufficiently accurate starting iterate (e.g. an approximate solution at a slightly lower Reynolds number), but diverges from inaccurate starting iterates (e.g. zero flow or approximate solutions at much lower Reynolds numbers). Lower ν /ν 0 ratios shrink the region of convergence, requiring increasingly accurate initial guesses. roystgnr@cfdlab.ae.utexas.edu 12

Lid-Driven Cavity In a more adaptivity-friendly test, we examine a square domain with zero velocity on three sides and a constant lateral velocity along the top. roystgnr@cfdlab.ae.utexas.edu 13

Corner Singularities Because the velocity boundary conditions are discontinuous at the corners, the streamfunction s first derivative is also discontinuous and its second derivatives are singular. As r 0, ψ(r, θ) = ω(r, θ) = r ( π 2 π 2 sin(θ) + 2πθ sin(θ) + 4θ cos(θ) ) 4 1 (π 2 (4π cos(θ) 8 sin(θ)) 4)r Without removing these singularities analytically, finite element simulations at high Reynolds numbers and on coarse meshes are often corrupted by numerical oscillation. roystgnr@cfdlab.ae.utexas.edu 14

Adaptive Cavity Solution Re = 500, Extended Williamson fluid, ν /ν 0 = 0.1 roystgnr@cfdlab.ae.utexas.edu 15

Adaptive Step Solution Re = 0, Newtonian fluid roystgnr@cfdlab.ae.utexas.edu 16

Benchmark Convergence 2 u = f, u = sin xy 10 2 10 3 Error Convergence, Manufactured Benchmark Uniform L2 error Adaptive L2 error Uniform H1 error Adaptive H1 error 10 4 10 5 Error Fraction 10 6 10 7 10 8 10 9 10 10 10 11 10 1 10 2 10 3 10 4 10 5 Number of DoFs roystgnr@cfdlab.ae.utexas.edu 17

Driven Cavity Convergence Re = 500, Extended Williamson fluid, ν /ν 0 = 0.1 10 1 10 0 Error Convergence, Lid Driven Cavity Uniform L2 error Adaptive L2 error Uniform H1 error Adaptive H1 error Error Fraction 10 1 10 2 10 3 10 4 10 1 10 2 10 3 10 4 Number of DoFs roystgnr@cfdlab.ae.utexas.edu 18