Domain decomposition techniques for interfacial discontinuities

Similar documents
Module 1 : Conduction. Lecture 5 : 1D conduction example problems. 2D conduction

Express Introductory Training in ANSYS Fluent Lecture 1 Introduction to the CFD Methodology

AN INTERFACE STRIP PRECONDITIONER FOR DOMAIN DECOMPOSITION METHODS

Steady Heat Conduction

Domain Decomposition Methods. Partial Differential Equations

ES250: Electrical Science. HW7: Energy Storage Elements

Feature Commercial codes In-house codes

Finite Element Formulation for Plates - Handout 3 -

Introduction to the Finite Element Method

An Introduction to FreeFem++ UPMC, September 2010 O. Pantz. CMAP, Ecole Polytechnique.

Customer Training Material. Lecture 2. Introduction to. Methodology ANSYS FLUENT. ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.

Lecture 6 - Boundary Conditions. Applied Computational Fluid Dynamics

6 J - vector electric current density (A/m2 )

CFD software overview comparison, limitations and user interfaces

Motor-CAD Software for Thermal Analysis of Electrical Motors - Links to Electromagnetic and Drive Simulation Models

1 Finite difference example: 1D implicit heat equation

HPC Deployment of OpenFOAM in an Industrial Setting

Integration of a fin experiment into the undergraduate heat transfer laboratory

WEEKLY SCHEDULE. GROUPS (mark X) SPECIAL ROOM FOR SESSION (Computer class room, audio-visual class room)

Differential Relations for Fluid Flow. Acceleration field of a fluid. The differential equation of mass conservation

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 10

TWO-DIMENSIONAL FINITE ELEMENT ANALYSIS OF FORCED CONVECTION FLOW AND HEAT TRANSFER IN A LAMINAR CHANNEL FLOW

ME6130 An introduction to CFD 1-1

Edmund Li. Where is defined as the mutual inductance between and and has the SI units of Henries (H).

Basin simulation for complex geological settings

Ampacity simulation of a high voltage cable to connecting off shore wind farms

Temperature Rise Measurements

AN EFFECT OF GRID QUALITY ON THE RESULTS OF NUMERICAL SIMULATIONS OF THE FLUID FLOW FIELD IN AN AGITATED VESSEL

Introduction to the Finite Element Method (FEM)

Effect of design parameters on temperature rise of windings of dry type electrical transformer

1150 hp motor design, electromagnetic and thermal analysis

INJECTION MOLDING COOLING TIME REDUCTION AND THERMAL STRESS ANALYSIS

Two-Dimensional Conduction: Shape Factors and Dimensionless Conduction Heat Rates

CFD Application on Food Industry; Energy Saving on the Bread Oven

Design and Optimization of OpenFOAM-based CFD Applications for Hybrid and Heterogeneous HPC Platforms

FLUX / GOT-It Finite Element Analysis of electromagnetic devices Maccon GmbH

H.Calculating Normal Vectors

Design and Analysis of Switched Reluctance Motors

Basic Laws Circuit Theorems Methods of Network Analysis Non-Linear Devices and Simulation Models

Thermal Modeling and Analysis of a Wind Turbine Generator

Battery Thermal Management System Design Modeling

Computer Graphics. Geometric Modeling. Page 1. Copyright Gotsman, Elber, Barequet, Karni, Sheffer Computer Science - Technion. An Example.

Nodal and Loop Analysis

CFD SIMULATION OF SDHW STORAGE TANK WITH AND WITHOUT HEATER

OpenFOAM Optimization Tools

13.10: How Series and Parallel Circuits Differ pg. 571

Example: Determine the power supplied by each of the sources, independent and dependent, in this circuit:

DOING PHYSICS WITH MATLAB COMPUTATIONAL OPTICS RAYLEIGH-SOMMERFELD DIFFRACTION INTEGRAL OF THE FIRST KIND

SAFIR A software for modelling. to the fire

4.3 Results Drained Conditions Undrained Conditions References Data Files Undrained Analysis of

The Basics of FEA Procedure

Figure 1 - Unsteady-State Heat Conduction in a One-dimensional Slab

MEL 807 Computational Heat Transfer (2-0-4) Dr. Prabal Talukdar Assistant Professor Department of Mechanical Engineering IIT Delhi

. Address the following issues in your solution:

METHODOLOGICAL CONSIDERATIONS OF DRIVE SYSTEM SIMULATION, WHEN COUPLING FINITE ELEMENT MACHINE MODELS WITH THE CIRCUIT SIMULATOR MODELS OF CONVERTERS.

Laminar Flow and Heat Transfer of Herschel-Bulkley Fluids in a Rectangular Duct; Finite-Element Analysis

HIGH SPEED PERMANENT MAGNET SYNCHRONOUS MOTOR / GENERATOR DESIGN FOR FLYWHEEL APPLICATIONS

CONCEPT-II. Overview of demo examples

Circuits 1 M H Miller

Best Practices Workshop: Heat Transfer

A Comparison of Analytical and Finite Element Solutions for Laminar Flow Conditions Near Gaussian Constrictions

Definition and Evaluation of Mean Beam Lengths for Applications in Multidimensional Radiative Heat Transfer: A Mathematically Self-Consistent Approach

Adaptation of General Purpose CFD Code for Fusion MHD Applications*

INTERNATIONAL ASSOCIATION OF CLASSIFICATION SOCIETIES. Interpretations of the FTP

An Introduction to Core-conductor Theory

FINITE ELEMENT : MATRIX FORMULATION. Georges Cailletaud Ecole des Mines de Paris, Centre des Matériaux UMR CNRS 7633

Lecture 9, Thermal Notes, 3.054

Navier-Stokes Equation Solved in Comsol 4.1. Copyright Bruce A. Finlayson, 2010 See also Introduction to Chemical Engineering Computing, Wiley (2006).

Carbon Cable. Sergio Rubio Carles Paul Albert Monte

Trace Layer Import for Printed Circuit Boards Under Icepak

How To Model A Horseshoe Vortex

Chapter 5. Parallel Circuits ISU EE. C.Y. Lee

Finite cloud method: a true meshless technique based on a xed reproducing kernel approximation

Lecture 4: Thermodynamics of Diffusion: Spinodals

ME Heat Transfer Laboratory. Experiment No. 7 ANALYSIS OF ENHANCED CONCENTRIC TUBE AND SHELL AND TUBE HEAT EXCHANGERS

Exergy Analysis of a Water Heat Storage Tank

Application Information

3-D WAVEGUIDE MODELING AND SIMULATION USING SBFEM

Mesh Moving Techniques for Fluid-Structure Interactions With Large Displacements

Mathematics (MAT) MAT 061 Basic Euclidean Geometry 3 Hours. MAT 051 Pre-Algebra 4 Hours

FUNDAMENTAL FINITE ELEMENT ANALYSIS AND APPLICATIONS

TTLL301 - Heat transfer in a bar with imposed temperature (sinusoid)

Computer Graphics CS 543 Lecture 12 (Part 1) Curves. Prof Emmanuel Agu. Computer Science Dept. Worcester Polytechnic Institute (WPI)

Medial Axis Construction and Applications in 3D Wireless Sensor Networks

Analyzing Electrical Effects of RTA-driven Local Anneal Temperature Variation

Introduction to COMSOL. The Navier-Stokes Equations

440 Geophysics: Heat flow with finite differences

Numerical Methods for Engineers

2.1 Introduction. 2.2 Terms and definitions

RESULTS OF ICARUS 9 EXPERIMENTS RUN AT IMRA EUROPE

Physics 9e/Cutnell. correlated to the. College Board AP Physics 1 Course Objectives

Back to Elements - Tetrahedra vs. Hexahedra

Lab 7: Operational Amplifiers Part I

CFD Based Air Flow and Contamination Modeling of Subway Stations

Numerical Calculation of Laminar Flame Propagation with Parallelism Assignment ZERO, CS 267, UC Berkeley, Spring 2015

EXPERIMENTAL AND NUMERICAL ANALYSIS OF THE COLLAR PRODUCTION ON THE PIERCED FLAT SHEET METAL USING LASER FORMING PROCESS

Transcription:

Domain decomposition techniques for interfacial discontinuities Geordie McBain Institut Jean le Rond d Alembert December 5, 2012

Connexion and substructuring Two ways to look at domain decomposition Decomposing domains by iterative substructuring Linking subdomains through interfacial conditions Small easy generalizations of techniques for the former mean they can be used for the latter.

Queries on freefempp mailing list Electrical simulation with a voltage jump at an intermediate layer (2011-05-20) My questions are: 1) Is it possible with FreeFem++ to apply a constant voltage jump at the surface where both cubes are touching and how to do it? 2) If possible, how to insert a resistive 2D sheet at this surface (current dependent voltage jump)? Non linear heat transfer equation and Thermal Contact Resistance (TCR) (2012-08-15) how could we simulate the Thermal contact resistance between two materials?

Steady thermal conduction For definiteness, consider the steady conduction of heat where Weak form ( U): (K T ) = s K conductivity T temperature s volumetric rate of generation U, K T [U, ˆn K T ] U, s = 0

Natural interfacial conditions basic interfacial conditions (like Kirchhoff s circuit laws): equality of temperature (like potential at node) zero sum of heat (like current into node) T 1 = T 2 ˆn 1 K 1 T 1 + ˆn 2 K 2 T 2 = 0 Often have K 1 K 2 in applications.

Classical engineering heat transfer problem I Given a two-layer furnace wall of thickness and conductivity L i and K i (i = 1, 2), if the inside is at T 1 and the outside at T 2, what is the temperature distribution? Dirichlet Dirichlet solutions, given T int : subdomain solutions: T 1 T int = L 1 q 1 /K 1 T int T 2 = L 2 q 2 /K 2 Poincaré Steklov Dirichlet Neumann operator: q 1 q 2 = T 1K 1 + T ( 2K 2 K1 + K ) 2 L 1 L 2 L 1 L 2 ( T1 K 1 Solution: T int = + T ) ( 2K 2 K1 + K ) 2 L 1 L 2 L 1 L 2 T int

Classical engineering heat transfer problem II Given a two-layer furnace wall of thickness and conductivity L i and K i (i = 1, 2), if the inside is at T 1 and the outside at T 2, how much heat q is lost? Neumann Neumann solutions, given q: subdomain solutions: T 1 T int = L 1q/K 1 T + int T 2 = L 2 q/k 2 Poincaré Steklov Neumann Dirichlet operator: ( T int + T int = T L1 2 T 1 + + L ) 2 q K 1 K 2 Solution: q = T 1 T 2 L 1 K 1 + L 2 K 2

Neumann Neumann domain decomposition This idea generalizes to finite element solutions. Guess the flux at the interface. Solve Neumann problem on either subdomain. Compute the temperature mismatch at interface. Iterate to find the flux eliminating the mismatch.

Generalized interfacial conditions various matching criteria: specified jump: T 1 = T 2 + T nonlinear algebraic: f (T 1, T 2 ) = 0 e.g. equilibrium chemical partitioning between phases contact resistance: T 1 = T 2 + Rq general nonlinear: f (T 1, T 2, q) = 0 Any of these fit the Neumann Neumann framework. Just solve this equation for the interfacial flux. Noting that T 1 = T 1 (q) and T 2 = T 2 (q).

Generalized interfacial conditions (cont.) Could also have a superficial power source. Then there s a jump in the flux. Method should still apply guess the flux on one side calculate the flux on the other from the condition solve the two Neumann problems etc.

Example of Carnes & Copps (2008) Carnes, B. R., & K. D. Copps (2008) Thermal contact algorithms. Sandia Report SAND2008-2607 D.E.: 2 T = sgn x ( 1 < x < 1) Dirichlet conditions: T ( 1) = 0, T (1) = 1 flux balance: T (0 ) = T (0 + ) interfacial resistance: RT (0) = T (0 ) T (0 + )

Results of Carnes & Copps (2008)

Reproduction in FreeFem++

Implementation in FreeFem++ Geometry and mesh Solve in two dimensions (to investigate mismatched meshes).

Implementation in FreeFem++ Implementation in FreeFem++ See 9.8.3 Schwarz-gc.edp. define interfacial flux q on one whole subdomain values meaningless off interface solve Neumann problem for each subdomain compute interfacial temperature mismatch iterate using conjugate gradients

Implementation in FreeFem++ Subdomain Neumann problems problem Pb1 (u1, v1, init=i) = int2d (Th1) dot(grad(v1), grad(u1)) + int2d (Th1) (-v1*s1) + int1d (Th1, inner) (+q*v1) + on (left, u1=0); problem Pb2 (u2, v2, init=i) = int2d(th2) dot(grad(v2), grad(u2)) + int2d (Th2) (-v2*s2) + int1d (Th2, inner) (-q*v2) + on (right, u2=1);

Implementation in FreeFem++ Computing the mismatch T Rq varf b (u1, v1) = int1d (Th1, inner) (v1 * u1); matrix B = b (Vh1, Vh1); func real[int] BoundaryProblem (real[int] &l) { q[] = l; Pb1; Pb2; i++; v1 = u1 - u2; // temperature jump real[int] q1 = B * v1[]; v1 = R * q; // resistive jump real[int] q2 = B * v1[]; q[] = q1 - q2; return q[]; };

Implementation in FreeFem++ Finding the correct interfacial flux Vh1 p=0; LinearCG (BoundaryProblem, p[]); BoundaryProblem (p[]);

Implementation in FreeFem++ Neumann Neumann method A particular advantage of the Neumann Neumann method: We don t have to compute interfacial fluxes. Even with an interfacial resistance, for which the flux appears in the matching condition, we can use the guessed interfacial flux. Having to compute fluxes on each subdomain then transfer to where iteration variable was defined would have been fiddly. Thus a Dirichlet Dirichlet method is less convenient. not attempted here

Implementation in FreeFem++ Summary of extension on 9.8.3 Instead of just calculating the temperature jump, also subtract resistance times the guessed flux.

An axially symmetric problem Instead of Carnes & Copps (2008) one-dimensional solution we propose an axially symmetric one. Still has a simple exact solution less trivial realization in two-dimensional finite elements Also tests curved interfaces.

The axially symmetric problem D.E.: (K 1 T 1 ) = s 1 (r 0 < r < r 1 ) (K 2 T 2 ) = s 2 (r 1 < r < r 2 ) Dirichlet conditions: T (r 0 ) = T 0 T (r 2 ) = T 2 flux balance: T (r 1 ) = T (r + 1 ) interfacial resistance: RT (r 1 ) = T (r 1 ) T (r + 1 )

General analytical solution of Neumann problem Dirichlet condition at one radius T (r i ) = T i Guessed Neumann condition at another K i T (r int ) = q int source s i and conductivity K i constant per annular layer centre excluded: r i > 0 T (r) = T i + s ( i rint 2 ln r + r 2 2 r i i r 2 2 ) r intq int ln r K i r i

General analytical solution for Poincaré Steklov operator I flux q for specified contact resistance R two layers, r 0 < r < r int and r int < r < r 1 q = T 0 T 1 s 1 2K 1 ( r 2 int ln r int r 1 ) ( + r 1 2 r int 2 2 + s 0 2K 0 rint 2 ln r int ( r ln int r R r 1 int K 1 ln r int ) r 0 K 0 r 0 ) + r 0 2 r int 2 2

General analytical solution for Poincaré Steklov operator II flux q for specified temperature jump T two layers, r 0 < r < r int and r int < r < r 1 q = T 0 T 1 T s 1 2K 1 ( r 2 int ln r int r 1 ( r ln int r r 1 int K 1 ) ( + r 1 2 r int 2 2 + s 0 2K 0 rint 2 ln r int ln r int ) r 0 K 0 r 0 ) + r 0 2 r int 2 2

Geometry and mesh Curved interfaces necessitate finer meshes. Test problem: s 0 = 1, s 1 = 0 K 0 = 1, K 1 = 2 r 0 = 1 2, r 1 = 2 r int = 1

Calculating mismatches contact resistance R: v0 = u0 - u1; // temperature jump real[int] q0 = B * v0[]; v0 = R * q; // resistive jump real[int] q1 = B * v0[]; q[] = q0 - q1; return q[]; jump T : v0 = u0 - (u1 + DT); // temperature jump shortfall real[int] q0 = B * v0[]; return q0;

Results for various contact resistances

Results for various temperature jumps

Conclusion Many kinds of interfacial discontinuity can be handled easily in FreeFem++. Use domain decomposition. Guess the flux across the interface (Neumann Neumann). Compute the mismatch (Neumann Dirichlet Poincaré Steklov). Iterate to find the flux giving the right mismatch.