Development of a Maxwell Equation Solver for Application to Two Fluid Plasma Models. C. Aberle, A. Hakim, and U. Shumlak

Similar documents
CS205b/CME306. Lecture 9

The WENO Method in the Context of Earlier Methods To approximate, in a physically correct way, [3] the solution to a conservation law of the form u t

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

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

1.2 Numerical Solutions of Flow Problems

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

A-posteriori Diffusion Analysis of Numerical Schemes in Wavenumber Domain

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

BACK AND FORTH ERROR COMPENSATION AND CORRECTION METHODS FOR REMOVING ERRORS INDUCED BY UNEVEN GRADIENTS OF THE LEVEL SET FUNCTION

A Toolbox of Level Set Methods

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

This is an author-deposited version published in: Eprints ID: 4362

High-Order Finite Difference Schemes for computational MHD

Partial Differential Equations

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

Computer Project 3. AA Computational Fluid Dyanmics University of Washington. Mishaal Aleem March 17, 2015

Adaptive Mesh Astrophysical Fluid Simulations on GPU. San Jose 10/2/2009 Peng Wang, NVIDIA

Fluent User Services Center

On the order of accuracy and numerical performance of two classes of finite volume WENO schemes

Numerical Methods for (Time-Dependent) HJ PDEs

Unstructured Mesh Generation for Implicit Moving Geometries and Level Set Applications

A methodology for the rigorous verification of plasma simulation codes

Von Neumann Analysis for Higher Order Methods

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

New Very High-Order Upwind Multilayer Compact Schemes with Spectral-Like Resolution for Flow Simulations

Techniques for Using the Method of Manufactured Solutions for Verification and Uncertainty Quantification of CFD Simulations Having Discontinuities

Third Order WENO Scheme on Three Dimensional Tetrahedral Meshes

Numerical Analysis of Shock Tube Problem by using TVD and ACM Schemes

High-Order Numerical Algorithms for Steady and Unsteady Simulation of Viscous Compressible Flow with Shocks (Grant FA )

High-Order CENO Reconstruction Scheme For Three-Dimensional Unstructured Mesh

Outline. Level Set Methods. For Inverse Obstacle Problems 4. Introduction. Introduction. Martin Burger

Computational Astrophysics 5 Higher-order and AMR schemes

High-order, conservative, finite difference schemes for computational MHD

A Hybrid Magnetic Field Solver Using a Combined Finite Element/Boundary Element Field Solver

Multi-Mesh CFD. Chris Roy Chip Jackson (1 st year PhD student) Aerospace and Ocean Engineering Department Virginia Tech

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

A Higher-Order Accurate Unstructured Finite Volume Newton-Krylov Algorithm for Inviscid Compressible Flows

Lagrangian methods and Smoothed Particle Hydrodynamics (SPH) Computation in Astrophysics Seminar (Spring 2006) L. J. Dursi

On the high order FV schemes for compressible flows

On the Construction, Comparison, and Local Characteristic Decomposition for High-Order Central WENO Schemes

Recent developments for the multigrid scheme of the DLR TAU-Code

Numerical Methods for Hyperbolic and Kinetic Equations

High Order Weighted Essentially Non-Oscillatory Schemes for Convection. Dominated Problems. Chi-Wang Shu 1

Mass-Spring Systems. Last Time?

On the thickness of discontinuities computed by THINC and RK schemes

NUMERICAL VISCOSITY. Convergent Science White Paper. COPYRIGHT 2017 CONVERGENT SCIENCE. All rights reserved.

A DETAILED COMPARISON OF WENO AND SFV HIGH-ORDER METHODS FOR INVISCID AERODYNAMIC APPLICATIONS

Middle School Math Course 3

Application of Finite Volume Method for Structural Analysis

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

Tutorial 1. Introduction to Using FLUENT: Fluid Flow and Heat Transfer in a Mixing Elbow

The Finite Element Method

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

Compressible Flow in a Nozzle

Conservative high order semi-lagrangian finite difference WENO methods for advection in incompressible flow. Abstract

MESHLESS SOLUTION OF INCOMPRESSIBLE FLOW OVER BACKWARD-FACING STEP

Partition Design and Optimization for High-Order Spectral Volume Schemes on Tetrahedral Grids

Post Processing, Visualization, and Sample Output

Observations on the fifth-order WENO method with non-uniform meshes

Weno Scheme for Transport Equation on Unstructured Grids with a DDFV Approach

Available online at ScienceDirect. Procedia Engineering 99 (2015 )

An Efficient, Geometric Multigrid Solver for the Anisotropic Diffusion Equation in Two and Three Dimensions

GENUINELY MULTIDIMENSIONAL NON-DISSIPATIVE FINITE VOLUME SCHEMES FOR TRANSPORT

Parallel Algorithms: Adaptive Mesh Refinement (AMR) method and its implementation

Study on the Numerical Accuracy for the CFD

Semester Final Report

Accuracy Analysis of Charged Particle Trajectory CAE Software

Advective and conservative semi-lagrangian schemes on uniform and non-uniform grids

A fully implicit Navier-Stokes algorithm for unstructured grids incorporating a two-equation turbulence model

Outline. Visualization Discretization Sampling Quantization Representation Continuous Discrete. Noise

Modeling Unsteady Compressible Flow

The Immersed Interface Method

Parameterization of Meshes

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

1.7.1 Laplacian Smoothing

A Parallel Explicit/Implicit Time Stepping Scheme on Block-Adaptive Grids

Limiters for Unstructured Higher-Order Accurate Solutions of the Euler Equations

Nonoscillatory Central Schemes on Unstructured Triangulations for Hyperbolic Systems of Conservation Laws

Skåne University Hospital Lund, Lund, Sweden 2 Deparment of Numerical Analysis, Centre for Mathematical Sciences, Lund University, Lund, Sweden

MATHEMATICAL ANALYSIS, MODELING AND OPTIMIZATION OF COMPLEX HEAT TRANSFER PROCESSES

Analysis of the Adjoint Euler Equations as used for Gradient-based Aerodynamic Shape Optimization

Metafor FE Software. 2. Operator split. 4. Rezoning methods 5. Contact with friction

Theoretical Background for OpenLSTO v0.1: Open Source Level Set Topology Optimization. M2DO Lab 1,2. 1 Cardiff University

MATLAB. Advanced Mathematics and Mechanics Applications Using. Third Edition. David Halpern University of Alabama CHAPMAN & HALL/CRC

A Hybrid Cartesian Grid and Gridless Method for Compressible Flows

The Level Set Method. Lecture Notes, MIT J / 2.097J / 6.339J Numerical Methods for Partial Differential Equations

A new multidimensional-type reconstruction and limiting procedure for unstructured (cell-centered) FVs solving hyperbolic conservation laws

Contents. I The Basic Framework for Stationary Problems 1

High Order Schemes for CFD: A Review. Juan Cheng 1. Institute of Applied Physics and Computational Mathematics, Beijing , China.

Introduction to Computational Fluid Dynamics Mech 122 D. Fabris, K. Lynch, D. Rich

Introduction to C omputational F luid Dynamics. D. Murrin

Overview of Traditional Surface Tracking Methods

A Central Compact-Reconstruction WENO Method for Hyperbolic Conservation Laws

High Order Fixed-Point Sweeping WENO Methods for Steady State of Hyperbolic Conservation Laws and Its Convergence Study

A HYBRID SEMI-PRIMITIVE SHOCK CAPTURING SCHEME FOR CONSERVATION LAWS

CFD MODELING FOR PNEUMATIC CONVEYING

Level set methods Formulation of Interface Propagation Boundary Value PDE Initial Value PDE Motion in an externally generated velocity field

Revision of the SolidWorks Variable Pressure Simulation Tutorial J.E. Akin, Rice University, Mechanical Engineering. Introduction

IMA Preprint Series # 2033

The Total Variation Approach to Approximate Hyperbolic Wave Equations

Transcription:

Development of a Maxwell Equation Solver for Application to Two Fluid Plasma Models C. Aberle, A. Hakim, and U. Shumlak Aerospace and Astronautics University of Washington, Seattle American Physical Society - Division of Computational Physics August 2002 San Diego, California For a copy of this poster, visit http://www.aa.washington.edu/cfdlab

Abstract A Maxwell Equation Solver is developed for use in two fluid plasma solvers. The application requires that the solver be adaptive to the geometry, handle discrete currents and charge distributions, and capture dynamic behavior. Two approaches, Finite Volume Time Domain (FVTD) and Mixed potentials, are investigated, compared, and results are presented. The FVTD scheme, Weighted Essentially Non-Oscillatory (WENO) is applied to Cartesian and triangular meshes. Solvers using Cartesian meshes perform adequately without currents, but they fail to accurately model situations with discrete currents. Solvers using triangular meshes successfully overcome this problem by reducing cross-term dissipation. The mixed potential solver is second order accurate in space and time. It uses quadratic upwind for the spatial fluxes and a central differencing for the time. Successful results are obtained in simulations with discrete currents.

Motivation Many current plasma simulation codes are based on the magnetohydrodynamic (MHD) model whose derivation involves several assumptions that severely limit its applicability, particularly for Hall effect physics. The two-fluid plasma model only assumes local thermodynamic equilibrium for each species and, therefore, more accurately models the appropriate physical processes. Accurate electromagnetic (EM) field solvers are needed to properly account for the interactions between the fields. The solver must be capable of handling propagation of EM waves in all directions; and must be able to account for charges and currents as both continuous and discrete sources. In this work, we develop and compare two different approaches to developing an EM field solver. The first approach solves the Maxwell equations using Finite Volume Time Domain (FVTD) methods and the second approach uses a mixed potential formulation with a quadratic upwind differencing scheme.

Maxwell Equations These equations are solved in two dimensions. The transverse electric mode subset of these equations are used.

Conservative Form of Equations Using a non-dimensionalization to set, Maxwell's equations are written in conservative form: where

Potential Formulation where with and connected by the Lorentz gauge condition

Potential Formulation These can be transformed from the physical space to the grid space using transformation formula for the Laplacian for each and where is the metric tensor, and is divergence operator in space.

Discretization Schemes To solve the Maxwell Equations, they must be discretized. Two approaches are used, Finite Volume Time Domain (FVTD) and potential formulation. The FVTD approach divides the domain into cells, and tracks the movement of quantities between the cells. This approach is based upon the methods of computational fluid dynamics (CFD) of the past several decades. Shang calls these 'characteristic methods'. The potential formulation uses a finite difference scheme to discretize the potential form of the Maxwell equations. The spatial derivatives are discretized using Quadratic Upwind Scheme (QUICK).

Finite Volume Time Domain (FVTD) For FVTD, integrating the conservative form of Maxwell equations over a cell, we get where is the cell area and is the length of the cell edge. is a numerical flux, the movement of the conserved variables between cells in the domain. Each FVTD scheme calculates and uses this value to update. FVTD is tested on two different types of grids, one with rectangular shaped cells, and the other with triangular shaped cells.

Upwind with Finite Volume The first order upwind finite volume scheme calculates the numerical flux using the quantities of the nearest cell upwind of the cell edge. For Maxwell equations, where these and are to lie in the x direction. Temporal discretization is accomplished using a simple first order Euler time integration.

Weighted Essentially Non- Oscillatory (WENO) Scheme WENO schemes are a variation on Essentially Non-Oscillatory (ENO) schemes. WENO and ENO schemes were developed by Harten, Shu, and others over the past decade. ENO schemes interpolate the flux from neighboring cells. An ENO scheme chooses those neighboring cells that have the smoothest solution. To form an ENO scheme, stencils are made of the cells neighboring the cell edge. For example, to interpolate on to the cell edge as shown, three stencils would be created for a 2 nd order solver. The first stencil would use cell 1 and 2. The second stencil would use cell 1 and 3. The third stencil would use cell 1 and 4. For rectangular grid cells, these stencils are used on the axis normal to the cell edge.

WENO WENO schemes recognize that for smooth solutions, all the cells can be safely used for interpolation. Therefore, instead of selecting the interpolation of only a single stencil, WENO performs a weighted average on the interpolations of every stencil. The stencils are weighted in such a way that a really smooth solution will be using a higher order interpolation consisting of all the cells. Using WENO schemes with first order Euler time is unstable. Time integration methods of higher order are needed. Using WENO on a rectangular grid uses an explicit Runge Kutta method of 3 rd order. Using WENO on a rectangular grid requires the use of an implicit time method. The implicit time method uses a residual iterative technique for each time step. By applying conjugate gradient repeatedly, the residual is driven towards zero for the time step.

Potential Formulation: Temporal Discretization To advance the solution in time, the temporal derivatives are discretized using central differencing scheme:

Potential Formulation: Spatial Discretization The spatial derivative are discretized by fitting a quadratic between two upwind points and one downwind point where are constants determined from the grid spacing and the values of at the upwind and downwind points. In practice it is simplest to explicitly determine from values at the neighboring nodes and then use them in calculating the needed derivatives. For uniform rectangular grids, the differencing formula reduces to

Sine Wave This simulation tests the propagation of an initial sine wave across the domain with periodic boundary conditions. The simulation runs for one time unit, at which time, the solution should look exactly like the original waveform. This gives a good measure of dissipation. 1.2 1 0.8 0.6 0.4 0.2 Standing wave in 1-D: QUICK scheme Solid lines shows the exact solution while dotted lines shows the solution obtained with QUICK scheme. Ex 0 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1-0.2-0.4-0.6-0.8-1 This uses 100 points while the FVTD used 20 points. -1.2 x

Sine Wave This shows the results of upwind on a rectangular mesh. As is shown, increasing the resolution of the mesh decreases the error, as anticipated. This shows the results of using 2 nd order WENO on a triangular mesh. As is shown, increasing the resolution of the mesh decreases the error, as shown. Note, the accuracy for the 20x20 is much better than the rectangular upwind.

Square Wire The schemes must be able to handle discrete currents within the domain. Therefore, a square wire is simulated and results are compared. This square wire is centered in the domain with absorbing boundary conditions. The simulation runs until steady state is achieved The resulting magnetic field is compared against the analytic magnetostatic solution. This analytic solution is determined by applying the Biot Savart law to this square wire. The size of the domain is ten times in length and a hundred time in area with respect to the wire. 2 1.5 Magnetic field around square Wire Solid lines shows the exact solution while dotted lines shows the solution obtained with QUICK scheme. Radial magnetic field 1 0.5 0-0.18 0.02 0.22 0.42 0.62 0.82 1.02 1.22 1.42 Radial distance from wire center

Square Wire, Success & Failure Triangular Grid Rectangular Grid By looking at these plots, the upwind on the rectangular grid is an obvious failure. The upwind on the triangular grid is generating a reasonable solution. Therefore, the upwind on the rectangular grid is unable to a solution that is qualitatively reasonable.

Square Wire, FVTD Triangular Grid Rectangular Grid These plots illustrate the accuracy of the solvers. These plots are taken along the x=y diagonal of the domain. The upwind on the triangular grid performs quite, whereas the upwind on the rectangular grid reiterates its failures.

Analysis of Rectangular vs Triangular Grids The behavior of FVTD on rectangular and triangular grids is analyzed using the Von Neumann method. This type of analysis looks at the behavior of Fourier components to the solution. While Von Neumann is typically used to determine stability, the method obtains information about dissipation. The dissipation of the schemes is crucial to explain their behavior in the simulation of the square wire. Each Fourier component is designated as where the range is from 0 to +1. Each component is a separate 2D wave mode that has the spatial form The Von Neumann method calculates the Gain G that each mode experiences for each time step. If G >1, then the scheme is unstable. If G =1, then there is no dissipation. If G <1, then the scheme is dissipative. This method is applied to both the rectangular and triangular upwind FVTD schemes.

Rectangular vs Triangular Grids for the Scalar Wave Equation Triangular Grid Rectangular Grid This shows the dissipation behavior of the simple scalar wave propagation in the +xy diagonal direction. As can be seen by both mesh plots, the dissipation is acceptable and both grids would perform adequately. Given the simplicity of a rectangular grid, it is more favorable for the scalar equation.

Rectangular vs Triangular Grids for the Transverse Electric Mode (TEM) Triangular Grid Rectangular Grid These plots show the dissipation for the electric field component of TEM. Yikes, the dissipative behavior of the rectangular grid for the TEM is vastly different than for the scalar wave equation. It is this massive dissipation that accounts for the inability for the rectangular upwind to propagate along a diagonal. The triangular upwind is capable of diagonal propagation and this is justified by this dissipation plot.

Summary Electromagnetic field solvers for use in plasma simulations are developed in this work. Two different approaches are taken: a Finite Volume Time Domain (FVTD) approach and an approach using the mixed potential formulation. The FVTD method gives accurate results for simple problems. For problems requiring sources, FVTD on rectangular grids fails while it succeeds on triangular grids. The mixed potential formulation using quadratic upwinding gives accurate results on arbitrary two dimensional grids for the test problems considered. It is seen that the solver is able to account for discrete sources well. Although preliminary results look promising, much work needs to be done to test the efficacy of this approach in plasma simulations.

Summary The two methods developed give comparable results, at least for the test problems considered. The FVTD method is more flexible as it can deal with arbitrary grids, while the potential solver needs a transformation from physical to logical space. Further, as the potential solver uses finite differences, it may be difficult to handle shocks using it. Also, the conversion to E and B fields from the potentials involves a loss in accuracy.