On the application of explicit spatial filtering to the variables or fluxes of linear equations

Similar documents
1B40 Practical Skills

QUADRATURE is an old-fashioned word that refers to

Review of Gaussian Quadrature method

Adomian Decomposition Method with Green s. Function for Solving Twelfth-Order Boundary. Value Problems

Suppose we want to find the area under the parabola and above the x axis, between the lines x = 2 and x = -2.

Section 6.1 Definite Integral

Computational Fluid Dynamics. Lecture 6

Math 1B, lecture 4: Error bounds for numerical methods

NUMERICAL INTEGRATION. The inverse process to differentiation in calculus is integration. Mathematically, integration is represented by.

A Modified ADM for Solving Systems of Linear Fredholm Integral Equations of the Second Kind

Lecture 20: Numerical Integration III

Application Chebyshev Polynomials for Determining the Eigenvalues of Sturm-Liouville Problem

10 Vector Integral Calculus

Lecture 14: Quadrature

New Expansion and Infinite Series

Section 4: Integration ECO4112F 2011

Thomas Whitham Sixth Form

P 3 (x) = f(0) + f (0)x + f (0) 2. x 2 + f (0) . In the problem set, you are asked to show, in general, the n th order term is a n = f (n) (0)

Section 6.1 INTRO to LAPLACE TRANSFORMS

Review of Probability Distributions. CS1538: Introduction to Simulations

The Dirichlet Problem in a Two Dimensional Rectangle. Section 13.5

Fully Kinetic Simulations of Ion Beam Neutralization

AN INEQUALITY OF OSTROWSKI TYPE AND ITS APPLICATIONS FOR SIMPSON S RULE AND SPECIAL MEANS. I. Fedotov and S. S. Dragomir

63. Representation of functions as power series Consider a power series. ( 1) n x 2n for all 1 < x < 1

An iterative method for solving nonlinear functional equations

10. AREAS BETWEEN CURVES

Physics 116C Solution of inhomogeneous ordinary differential equations using Green s functions

Polynomials and Division Theory

Improper Integrals, and Differential Equations

Industrial Electrical Engineering and Automation

Math 8 Winter 2015 Applications of Integration

Derivations for maximum likelihood estimation of particle size distribution using in situ video imaging

Numerical Analysis: Trapezoidal and Simpson s Rule

221B Lecture Notes WKB Method

Quadratic Forms. Quadratic Forms

u( t) + K 2 ( ) = 1 t > 0 Analyzing Damped Oscillations Problem (Meador, example 2-18, pp 44-48): Determine the equation of the following graph.

Lecture Solution of a System of Linear Equation

Patch Antennas. Chapter Resonant Cavity Analysis

potentials A z, F z TE z Modes We use the e j z z =0 we can simply say that the x dependence of E y (1)

An approximation to the arithmetic-geometric mean. G.J.O. Jameson, Math. Gazette 98 (2014), 85 95

Satellite Retrieval Data Assimilation

Chapter 3 Single Random Variables and Probability Distributions (Part 2)

Numerical Analysis. 10th ed. R L Burden, J D Faires, and A M Burden

Chapter 3 Polynomials

Green function and Eigenfunctions

2. VECTORS AND MATRICES IN 3 DIMENSIONS

Linear Systems with Constant Coefficients

Jim Lambers MAT 169 Fall Semester Lecture 4 Notes

p-adic Egyptian Fractions

Lecture 19: Continuous Least Squares Approximation

Discrete Mathematics and Probability Theory Summer 2014 James Cook Note 17

Solutions of Klein - Gordan equations, using Finite Fourier Sine Transform

Chapter 6 Techniques of Integration

Lecture 2: January 27

Harmonic Mean Derivative - Based Closed Newton Cotes Quadrature

Tangent Line and Tangent Plane Approximations of Definite Integral

221A Lecture Notes WKB Method

Parse trees, ambiguity, and Chomsky normal form

Numerical Integration

Construction of Gauss Quadrature Rules

Unit #9 : Definite Integral Properties; Fundamental Theorem of Calculus

Discrete Mathematics and Probability Theory Spring 2013 Anant Sahai Lecture 17

2.4 Linear Inequalities and Interval Notation

Chapter 4 Contravariance, Covariance, and Spacetime Diagrams

Euler, Ioachimescu and the trapezium rule. G.J.O. Jameson (Math. Gazette 96 (2012), )

Chapter 3. Vector Spaces

Best Approximation. Chapter The General Case

M344 - ADVANCED ENGINEERING MATHEMATICS

Review of Calculus, cont d

OPEN NEWTON - COTES QUADRATURE WITH MIDPOINT DERIVATIVE FOR INTEGRATION OF ALGEBRAIC FUNCTIONS

5: The Definite Integral

Fourier Series and Their Applications

NUMERICAL INTEGRATION

Fredholm Integral Equations of the First Kind Solved by Using the Homotopy Perturbation Method

Topics Covered AP Calculus AB

A027 Uncertainties in Local Anisotropy Estimation from Multi-offset VSP Data

Lecture 4 Notes, Electromagnetic Theory I Dr. Christopher S. Baird University of Massachusetts Lowell

Taylor Polynomial Inequalities

SOLUTION OF QUADRATIC NONLINEAR PROBLEMS WITH MULTIPLE SCALES LINDSTEDT-POINCARE METHOD. Mehmet Pakdemirli and Gözde Sarı

SUMMER KNOWHOW STUDY AND LEARNING CENTRE

(PDE) u t k(u xx + u yy ) = 0 (x, y) in Ω, t > 0, (BC) u(x, y, t) = 0 (x, y) on Γ, t > 0, (IC) u(x, y, 0) = f(x, y) (x, y) in Ω.

arxiv:solv-int/ v1 4 Aug 1997

Math 131. Numerical Integration Larson Section 4.6

D i k B(n;D)= X LX ;d= l= A (il) d n d d+ (A ) (kl)( + )B(n;D); where c B(:::;n c;:::) = B(:::;n c ;:::), in prticulr c n = n c. Using the reltions [n

5.7 Improper Integrals

Farey Fractions. Rickard Fernström. U.U.D.M. Project Report 2017:24. Department of Mathematics Uppsala University

1 Nondeterministic Finite Automata

CHAPTER 20: Second Law of Thermodynamics

Conservation Law. Chapter Goal. 5.2 Theory

Kinematic Waves. These are waves which result from the conservation equation. t + I = 0. (2)

A REVIEW OF CALCULUS CONCEPTS FOR JDEP 384H. Thomas Shores Department of Mathematics University of Nebraska Spring 2007

5.1 How do we Measure Distance Traveled given Velocity? Student Notes

Fig. 1. Open-Loop and Closed-Loop Systems with Plant Variations

ORDER REDUCTION USING POLE CLUSTERING AND FACTOR DIVISION METHOD

An Overview of Integration

Fourier time spectral method for subsonic and transonic flows

MA 124 January 18, Derivatives are. Integrals are.

COSC 3361 Numerical Analysis I Numerical Integration and Differentiation (III) - Gauss Quadrature and Adaptive Quadrature

Math 270A: Numerical Linear Algebra

Lecture 23: Interpolatory Quadrature

Transcription:

Journl of Computtionl Physics 225 (27) 2 27 www.elsevier.com/locte/jcp Short Note On the ppliction of explicit sptil filtering to the vriles or fluxes of liner equtions Christophe Bogey *, Christophe Billy Lortoire de Mécnique des Fluides et d Acoustique, UMR CNRS 559, Centre Acoustique, Ecole Centrle de Lyon, 36, Avenue Guy de Collongue, 6934 Ecully Cedex, Frnce Received 3 Decemer 26; received in revised form 2 April 27; ccepted April 27 Aville online 2 April 27 Keywords: Finite differences; Explicit filtering; High-order; Wve eqution; Lrge-eddy simultion. Introduction The need for filtering high-frequency wves is recurrent issue in numericl simultions. These wves might indeed led to instility, nd they re in generl not clculted ccurtely y the discretiztion lgorithms. Selective filters hve therefore een designed in order to dmp high-frequency wves without ffecting significntly low-frequency disturnces [ 6]. These filters re prticulrly used in computtionl erocoustics, ut they pper lso suitle for Lrge-Eddy Simultions (LES), in which only the scles lrger thn the grid size re computed, nd whose equtions re derived formlly y pplying filter opertor to the Nvier Stokes equtions [7]. Moreover LES sed specilly on explicit filtering hve een lso developed [8 ]. In prctice, the flow vriles re usully filtered explicitly fter ech time step. Consider for exmple the time integrtion of the following differentil eqution: ou of ðuþ þ ¼ ðþ ot ox where u is the unknown vrile nd the flux opertor F is function of u. The solution t (n + )th itertion t time t + Dt is otined from solution u n t nth itertion t time t, where Dt is the time step, in the following wy: the numericl integrtion of Eq. () provides u n+ t time t + Dt, which is then filtered, yielding the solution u nþ t (n + )th itertion (the r denotes the filtering). In this cse, the dissiptive effects of the filtering on the lrge scles depend on the filters pplied. In order to minimize undesirle dmping for ny filter, the explicit filtering of the flow fluxes hs een proposed insted of tht of the vriles [3]. The following eqution is then solved: ou of ðuþ þ ¼ ot ox ð2þ * Corresponding uthor. Fx: +33 4 72 8 9 43. E-mil ddresses: christophe.ogey@ec-lyon.fr (C. Bogey), christophe.illy@ec-lyon.fr (C. Billy). 2-999/$ - see front mtter Ó 27 Elsevier Inc. All rights reserved. doi:.6/j.jcp.27.4.7

22 C. Bogey, C. Billy / Journl of Computtionl Physics 225 (27) 2 27 The fluxes re thus filtered efore derivtion during the time integrtion. This method hs een used for LES [] nd for Direct Numericl Simultions [2], nd enles to void the cumultive dissiptive effects tht might result from the multiple filterings of the flow vriles fter ech time step. Unfortuntely other spurious negtive effects re likely to e produced. In this note, the influence of filtering the vriles or the fluxes is investigted for liner opertor F(u). Results re shown for stndrd explicit centered high-order schemes, nmely the th-order finite differences nd the 6th, 8th, th nd 2th-order filters, whose coefficients cn e found in the Appendix nd in Ref. [5] for instnce. The ccurcies in phse nd in mplitude re presented in the wve numer spce, nd they re illustrted y the solutions of test cse. 2. Effects of sptil filtering in the wve numer spce 2.. Filtering of vriles For simplicity, the one-dimensionl wve eqution ou ot þ ou ox ¼ discretized on mesh with uniform spcing Dx is considered. The sptil derivtive is pproximted y centered, (2N + )-point, finite differences, yielding X N ou ox ðxþ ¼ j uðx þ jdxþ ð4þ Dx j¼ N where the scheme coefficients re such s j = j, ensuring no dissiption. By pplying sptil Fourier trnsform to (4) s in [3] for instnce, the effective wve numer k fd of the scheme is otined k fd Dx ¼ 2 XN j sinðjkdxþ ð5þ j¼ The sptil derivtion thus leds to numericl wve numer k fd tht differs from the exct wve numer k. The phse errors E k =(kdx k fd Dx)/p otined for the th-order finite differences re represented in Fig. s function of the wve numer kdx. They re negligile for low wve numers, ut significnt for high wve numers. More quntittively, the ccurcy limit of the scheme, estimted from the ritrry criterium E k 6 5 4 nd expressed in term of numer of points per wve length, is k k /Dx = 5.25. In Fig., wves for kdx = p re shown not to e properly clculted. They cn e dmped y pplying centrl, (2N + )-point filter to vrile u fter ech time step, providing uðxþ ¼uðxÞ r d ½D p ðuþšðxþ ð6þ ð3þ 2 2 3 3 4 4 5 π/8 π/4 π/2 π 5 π/8 π/4 π/2 π Fig.. Representtion in logrithmic scles, s function of the wve numer kdx of: () phse error (kdx k fd Dx)/p otined for the stndrd th-order finite differences, () dmping functions D p ðkdxþ of the stndrd 6th, 8th, th nd 2th-order filters.

C. Bogey, C. Billy / Journl of Computtionl Physics 225 (27) 2 27 23 with ½D p ðuþšðxþ ¼ XN j¼ N d j uðx þ jdxþ ð7þ where the filter coefficients re such s d j = d j, ensuring no phse error, nd r d is constnt etween nd. The ppliction of Fourier trnsform to (7) gives the dmping function of the filter D p ðkdxþ ¼d þ 2 XN j¼ d j cosðjkdxþ ð8þ in the wve numer spce. The dmping functions otined for the 6th, 8th, th nd 2th-order filters re presented in Fig.. Grid-to-grid oscilltions re found to e removed y the filters, wheres low wve numers re wekly ffected. To determine n ccurcy limit for ech filter, the criterium r d D p 6 5 4 is used. The vriles eing filtered fter ech itertion, the effects of filtering re cumultive, nd it is not necessry to set r d =. A vlue of r d =.2 is therefore chosen here. The limits otined for the filters re reported in Tle in terms of numer of points per wve length. They rnge from k d /Dx = 8.33 for the 6th-order filter down to k d /Dx = 4.82 for the 2th-order filter. When centered schemes re used nd tht filtering is pplied explicitly to the flow vriles, the sptil discretiztion thus genertes phse errors due to the derivtion nd dmping due to the filtering, which cn e evluted seprtely s in Tle. 2.2. Filtering of fluxes In the cse of flux filtering, the flow fluxes re filtered efore sptil derivtion in order to remove grid-togrid oscilltions, so tht the frequency content of the solution is controlled. The following eqution is then solved: ou ot þ o ox ½u D pðuþš ¼ ð9þ The ppliction of sptil Fourier trnsform, denoted y ht, yields o^u ot þ ikfd ½ D p ðkdxþš^u ¼ ðþ where the expressions of k fd nd D p re given y (5) nd (8). The numericl wve numer ssocited with the sptil discretiztion is now k H ¼ k fd ½ D p ðkdxþš, which suggests tht the explicit filtering of the fluxes does not introduce dditionl dissiption of the vrile, ut modifies the wve numer clculted y the finite differences. These effects of flux filtering re shown in Fig. 2 nd, where, respectively, the pproximted wve numer k w Dx nd the phse errors E k =(kd x k w Dx)/p, otined for th-order finite differences used in comintion with 6th, 8th, th nd 2th-order filters, re presented s functions of the exct wve numer kdx. Filtering the fluxes is clerly found to increse the phse errors, oth for low nd high wve numers. The deteriortion in phse ccurcy is however less importnt when higher order filters re used. These oserv- Tle Accurcy limits in phse nd in mplitude, k k nd k d, of the lgorithm comining the th order finite differences with the 6th, 8th, th nd 2th filtering of the vriles nd of the fluxes Vriles (r d =.2) Fluxes k k /Dx k d /Dx k k /Dx k d /Dx 6th order 5.25 8.33 8.57 8th order 5.25 6.38 6.79 th order 5.25 5.4 5.94 2th order 5.25 4.82 5.54 Note tht k d /Dx = 5.6 when 2th filtering of the vriles is used with r d =.

24 C. Bogey, C. Billy / Journl of Computtionl Physics 225 (27) 2 27 π 3π/4 π/2 2 3 π/4 4 π/4 π/2 3π/4 π 5 π/8 π/4 π/2 π Fig. 2. Representtion s function of the wve numer kdx of: () pproximted wve numer k w Dx, in liner scles, nd () phse error E k =(kdx k w Dx)/p, in logrithmic scles, otined using the stndrd th-order finite differences, lone, nd in comintion with explicit 6th, 8th, th nd 2th-order filtering of the fluxes. tions re supported y the ccurcy limits reported in Tle, which re estimted from E k 6 5 4 s previously. The limits otined using flux filtering re indeed for instnce k k /Dx = 8.57 for the 6th-order filter nd k k /Dx = 5.54 for the 2th-order filter, which is higher thn the limit k k /Dx = 5.25 otined without filtering. In summry, the numericl errors due to the filtering of the flow fluxes re dded to those of the sptil derivtion, which decreses the ccurcy in phse. 3. Test cse 3.. Definition nd reference solutions A one-dimensionl prolem is considered to illustrte the influence of sptil filtering. The wve eqution (3) is solved on mesh with uniform spcing Dx. The disturnces t t = re defined s uðxþ ¼sin 2px x 2 exp lnð2þ 8Dx 3Dx In the wve numer spce, s shown in [5], they re chrcterized y dominnt component for kdx = p/4, corresponding to wve length of 8Dx, nd lso y significnt components for < kdx < p/2. To emphsize the errors resulting from the sptil discretiztion, the perturtions re propgted over 8Dx, nd Eq. (3) is integrted in time y low-storge 6-stge Runge Kutt lgorithm [5], using the smll time step Dt =.2Dx. The sptil derivtion is tken into ccount y th-order explicit finite differences. The solution clculted without filtering is displyed in Fig. 3. Compred to the exct solution, it is slightly distorted y the finite differences. The error rte evluted etween the exct nd the clculted solutions s e num ¼ X ðu cl u exct Þ 2 = X =2 u 2 exct ðþ is in this cse e num =.37..5.5 77 78 79 8 8 Fig. 3. Test cse: exct solution t t = 8, numericl solution otined without filtering.

3.2. Solutions otined using filterings C. Bogey, C. Billy / Journl of Computtionl Physics 225 (27) 2 27 25 The solutions otined using filtering of the vriles fter ech time step with r d =.2 re presented in Fig. 4, nd compred with the solution clculted without filtering. The dissiptive effects of the filtering re visile, especilly with the filters of 6th nd 8th order in Fig. 4 nd, ut they re significntly reduced with filters of higher order. The error rtes with respect to the exct solution re thus oserved in Tle 2 to decrese from.84 with the 6th-order filter down to.245 for the 2th-order filter. The error otined with the 2th-order filter is moreover smller thn tht without filtering, which indictes higher numericl ccurcy. In this cse, the filtering ffects only wve numers tht re not properly clculted y the finite differences, s shown in Tle. The solutions otined using flux filtering re displyed in Fig. 5. They re clculted y solving Eq. (9). Flux filtering is therefore pplied t ech stge of the Runge Kutt lgorithm. With respect to the solution without filtering, the solutions show lrger dispersion of the disturnces, with the strengthening of the til of the wve pcket. This is oserved with the 6th-order filter in Fig. 5, s well s with the 2th-order filter in Fig. 5d. The dditionl errors in phse due to flux filtering however decrese using filters of higher order. The error rtes etween the numericl nd the exct solutions in Tle 2 re thus etween.234 nd.44, which is still lrger thn the error of.37 otined without filtering. As the order of the filter increses, one cn indeed.5.5.5.5 77 78 79 8 8 77 78 79 8 8 c d.5.5.5.5 77 78 79 8 8 77 78 79 8 8 Fig. 4. Test cse: numericl solution otined without filtering, solutions using explicit filtering of the vriles (r d =.2). Filters of: () 6th order, () 8th order, (c) th order, (d) 2th order. Tle 2 Test cse: errors e num etween the exct solution nd the numericl solutions otined using explicit 6th, 8th, th nd 2th-order filtering of the vriles (r d =.2) nd of the fluxes; without filtering, e num =.37 Vriles Fluxes 6th order.84.234 8th order.532.86 th order.35.558 2th order.245.44

26 C. Bogey, C. Billy / Journl of Computtionl Physics 225 (27) 2 27.5.5.5.5 77 78 79 8 8 77 78 79 8 8 c d.5.5.5.5 77 78 79 8 8 77 78 79 8 8 Fig. 5. Test cse: numericl solution otined without filtering, solutions using explicit filtering of the fluxes. Filters of: () 6th order, () 8th order, (c) th order, (d) 2th order. expect the solution to progressively collpse the solution otined without filtering, nd consequently the error rte would tend to.37 while remining lrger. 4. Concluding remrks The pplictions of explicit sptil filtering to the flow vriles nd to the fluxes in simultions might oth generte numericl rtifcts, which re not of the sme nture. For liner equtions, using centered schemes, the filtering of the vriles might led to dditionl dissiption of the solution, wheres filtering the fluxes might decrese the ccurcy in phse. These unwnted effects cn e minimized y using filters of high-order, nmely t lest of the order of the sptil differentition. Filtering the vriles my however pper more relevnt thn filtering the fluxes ecuse it cn enle to remove high-frequency wves tht re not properly clculted, nd consequently to improve the numericl solutions. The computtionl cost of filtering the vriles is lso smller, ecuse the vriles cn e filtered every time step, or even every nth time step, wheres flux filtering must e pplied t ech stge of the time integrtion lgorithm. Finlly, there might e prolem for numericl stility using flux filtering, ecuse this method does not directly remove grid-to-grid oscilltions, ut only prevents their genertion during the simultion. Appendix The coefficients of the 6th-order centered explicit filter re d =5/6,d = 5/64, d 2 = 3/32 nd d 3 = /64, nd d j = d j. The coefficients of the other schemes used in this note cn e found in Ref. [5] for instnce. References [] S.K. Lele, Compct finite difference schemes with spectrl-like resolution, J. Comput. Phys. 3 () (992) 6 42. [2] C.K.W. Tm, H. Shen, Direct computtion of nonliner coustic pulses using high order finite difference schemes, AIAA Pper 93-4325, 993.

C. Bogey, C. Billy / Journl of Computtionl Physics 225 (27) 2 27 27 [3] O.V. Vsilyev, T.S. Lund, P. Moin, A generl clss of commuttive filters for LES in complex geometries, J. Comput. Phys. 46 (998) 82 4. [4] M.R. Visl, D.V. Gitonde, High-order-ccurte methods for complex unstedy susonic flows, AIAA J. 37 () (999) 23 239. [5] C. Bogey, C. Billy, A fmily of low dispersive nd low dissiptive explicit schemes for flow nd noise computtions, J. Comput. Phys. 94 () (24) 94 24. [6] J. Berlnd, C. Bogey, O. Mrsden, C. Billy, High-order, low dispersive nd low dissiptive explicit schemes for multiple-scle nd oundry prolems, J. Comput. Phys. 224 (2) (27) 637 662. [7] P. Sgut, Lrge-eddy Simultion for Incompressile Flows An Introduction, Springer, Berlin, 2. [8] D.P. Rizzett, M.R. Visl, G.A. Blisdell, A time-implicit high-order compct differencing nd filtering scheme for lrge-eddy simultion, Int. J. Num. Meth. Fluids 42 (23) 665 693. [9] J. Mthew, R. Lechner, H. Foysi, J. Sesterhenn, R. Friedrich, An explicit filtering method for lrge eddy simultion of compressile flows, Phys. Fluids 5 (8) (23) 2279 2289. [] C. Bogey, C. Billy, Lrge eddy simultions of trnsitionl round jets: influence of the Reynolds numer on flow development nd energy dissiption, Phys. Fluids 8 (6) (26) 65. [] T.S. Lund, The use of explicit filters in lrge eddy simultion, Comput. Mth. Appl. 46 (23) 63 66. [2] E. Lmllis, J.H. Silvestrini, Direct numericl simultion of interctions etween mixing lyer nd wke round cylinder, J. Turulence 3 (22) 28. [3] C.K.W. Tm, J.C. We, Dispersion-reltion-preserving finite difference schemes for computtionl coustics, J. Comput. Phys. 7 (993) 262 28.