Spectral method

Spectral methods are a class of techniques used in applied mathematics and scientific computing to numerically solve certain differential equations. The idea is to write the solution of the differential equation as a sum of certain "basis functions" (for example, as a Fourier series which is a sum of sinusoids) and then to choose the coefficients in the sum in order to satisfy the differential equation as well as possible.

Spectral methods and finite-element methods are closely related and built on the same ideas; the main difference between them is that spectral methods use basis functions that are generally nonzero over the whole domain, while finite element methods use basis functions that are nonzero only on small subdomains (compact support). Consequently, spectral methods connect variables globally while finite elements do so locally. Partially for this reason, spectral methods have excellent error properties, with the so-called "exponential convergence" being the fastest possible, when the solution is smooth. However, there are no known three-dimensional single-domain spectral shock capturing results (shock waves are not smooth).[1] In the finite-element community, a method where the degree of the elements is very high or increases as the grid parameter h increases is sometimes called a spectral-element method.

Spectral methods can be used to solve differential equations (PDEs, ODEs, eigenvalue, etc) and optimization problems. When applying spectral methods to time-dependent PDEs, the solution is typically written as a sum of basis functions with time-dependent coefficients; substituting this in the PDE yields a system of ODEs in the coefficients which can be solved using any numerical method for ODEs. Eigenvalue problems for ODEs are similarly converted to matrix eigenvalue problems [citation needed].

Spectral methods were developed in a long series of papers by Steven Orszag starting in 1969 including, but not limited to, Fourier series methods for periodic geometry problems, polynomial spectral methods for finite and unbounded geometry problems, pseudospectral methods for highly nonlinear problems, and spectral iteration methods for fast solution of steady-state problems. The implementation of the spectral method is normally accomplished either with collocation or a Galerkin or a Tau approach . For very small problems, the spectral method is unique in that solutions may be written out symbolically, yielding a practical alternative to series solutions for differential equations.

Spectral methods can be computationally less expensive and easier to implement than finite element methods; they shine best when high accuracy is sought in simple domains with smooth solutions. However, because of their global nature, the matrices associated with step computation are dense and computational efficiency will quickly suffer when there are many degrees of freedom (with some exceptions, for example if matrix applications can be written as Fourier transforms). For larger problems and nonsmooth solutions, finite elements will generally work better due to sparse matrices and better modelling of discontinuities and sharp bends.

Examples of spectral methods

A concrete, linear example

Here we presume an understanding of basic multivariate calculus and Fourier series. If is a known, complex-valued function of two real variables, and g is periodic in x and y (that is, ) then we are interested in finding a function f(x,y) so that

where the expression on the left denotes the second partial derivatives of f in x and y, respectively. This is the Poisson equation, and can be physically interpreted as some sort of heat conduction problem, or a problem in potential theory, among other possibilities.

If we write f and g in Fourier series:

and substitute into the differential equation, we obtain this equation:

We have exchanged partial differentiation with an infinite sum, which is legitimate if we assume for instance that f has a continuous second derivative. By the uniqueness theorem for Fourier expansions, we must then equate the Fourier coefficients term by term, giving

(*)

which is an explicit formula for the Fourier coefficients aj,k.

With periodic boundary conditions, the Poisson equation possesses a solution only if b0,0 = 0. Therefore, we can freely choose a0,0 which will be equal to the mean of the resolution. This corresponds to choosing the integration constant.

To turn this into an algorithm, only finitely many frequencies are solved for. This introduces an error which can be shown to be proportional to , where and is the highest frequency treated.

Algorithm

  1. Compute the Fourier transform (bj,k) of g.
  2. Compute the Fourier transform (aj,k) of f via the formula (*).
  3. Compute f by taking an inverse Fourier transform of (aj,k).

Since we're only interested in a finite window of frequencies (of size n, say) this can be done using a fast Fourier transform algorithm. Therefore, globally the algorithm runs in time O(n log n).

Nonlinear example

We wish to solve the forced, transient, nonlinear Burgers' equation using a spectral approach.

Given on the periodic domain , find such that

where ρ is the viscosity coefficient. In weak conservative form this becomes

where following inner product notation. Integrating by parts and using periodicity grants

To apply the Fourier–Galerkin method, choose both

and

where . This reduces the problem to finding such that

Using the orthogonality relation where is the Kronecker delta, we simplify the above three terms for each to see

Assemble the three terms for each to obtain

Dividing through by , we finally arrive at

With Fourier transformed initial conditions and forcing , this coupled system of ordinary differential equations may be integrated in time (using, e.g., a Runge Kutta technique) to find a solution. The nonlinear term is a convolution, and there are several transform-based techniques for evaluating it efficiently. See the references by Boyd and Canuto et al. for more details.

A relationship with the spectral element method

One can show that if is infinitely differentiable, then the numerical algorithm using Fast Fourier Transforms will converge faster than any polynomial in the grid size h. That is, for any n>0, there is a such that the error is less than for all sufficiently small values of . We say that the spectral method is of order , for every n>0.

Because a spectral element method is a finite element method of very high order, there is a similarity in the convergence properties. However, whereas the spectral method is based on the eigendecomposition of the particular boundary value problem, the finite element method does not use that information and works for arbitrary elliptic boundary value problems.

See also

References

  1. ^ pp 235, Spectral Methods: evolution to complex geometries and applications to fluid dynamics, By Canuto, Hussaini, Quarteroni and Zang, Springer, 2007.
  • Bengt Fornberg (1996) A Practical Guide to Pseudospectral Methods. Cambridge University Press, Cambridge, UK
  • Chebyshev and Fourier Spectral Methods by John P. Boyd.
  • Canuto C., Hussaini M. Y., Quarteroni A., and Zang T.A. (2006) Spectral Methods. Fundamentals in Single Domains. Springer-Verlag, Berlin Heidelberg
  • Javier de Frutos, Julia Novo (2000): A Spectral Element Method for the Navier–Stokes Equations with Improved Accuracy
  • Polynomial Approximation of Differential Equations, by Daniele Funaro, Lecture Notes in Physics, Volume 8, Springer-Verlag, Heidelberg 1992
  • D. Gottlieb and S. Orzag (1977) "Numerical Analysis of Spectral Methods : Theory and Applications", SIAM, Philadelphia, PA
  • J. Hesthaven, S. Gottlieb and D. Gottlieb (2007) "Spectral methods for time-dependent problems", Cambridge UP, Cambridge, UK
  • Steven A. Orszag (1969) Numerical Methods for the Simulation of Turbulence, Phys. Fluids Supp. II, 12, 250–257
  • Press, WH; Teukolsky, SA; Vetterling, WT; Flannery, BP (2007). "Section 20.7. Spectral Methods". Numerical Recipes: The Art of Scientific Computing (3rd ed.). New York: Cambridge University Press. ISBN 978-0-521-88068-8.
  • Jie Shen, Tao Tang and Li-Lian Wang (2011) "Spectral Methods: Algorithms, Analysis and Applications" (Springer Series in Computational Mathematics, V. 41, Springer), ISBN 354071040X
  • Lloyd N. Trefethen (2000) Spectral Methods in MATLAB. SIAM, Philadelphia, PA

Read other articles:

SMP Negeri 32 DepokJawara SchoolInformasiDidirikan08 Juli 2021JenisNegeriAkreditasiA[1]Nomor Statistik Sekolah20102112632Nomor Pokok Sekolah Nasional70011265Kepala SekolahTuti Alawiyah, M.PdJumlah kelasVII: 10, VIII: 10, IX: 10Rentang kelasVII, VIII, IXKurikulumKurikulum 2013 & Kurikulum MerdekaStatusSekolah Standar NasionalAlamatLokasiJalan Janger Raya No. 264, Mekarjaya, Kec. Sukmajaya, Depok, Jawa Barat, IndonesiaTel./Faks.(021) 47483647Situs webSitus ResmiSurels...

Romanian historian and politician (1939–2023) Theodorescu in 2015 Emil Răzvan Theodorescu (22 May 1939 – 6 February 2023) was a Romanian historian and politician. He researched and wrote extensively on art history in particular. A member of the Social Democratic Party (PSD), he was a member of the Romanian Senate for Iași County from 2000 to 2004, and for Botoșani County from 2004 to 2008. In the Adrian Năstase cabinet, he was Minister of Culture and Religious Affairs from 2000 to 200...

2005 film by Charles Sturridge LassieUK theatrical release posterDirected byCharles SturridgeWritten byCharles SturridgeEric KnightBased onLassie Come-Homeby Eric KnightProduced byCharles SturridgeEd GuineyFrancesca BarraStarringJonathan MasonPeter O'TooleSamantha MortonJohn LynchPeter DinklageEdward FoxCinematographyHoward AthertonEdited byPeter CoulsonAdam GreenMusic byAdrian JohnstonProductioncompaniesSamuel Goldwyn FilmsOdyssey EntertainmentClassic MediaDistributed byEntertainment Film Di...

Este artículo o sección necesita referencias que aparezcan en una publicación acreditada.Este aviso fue puesto el 15 de agosto de 2017. Jorge López Moreira Información personalNacimiento 30 de julio de 1834 Pelotas (Brasil) Fallecimiento 22 de agosto de 1917 (83 años)San Bernardino (Paraguay) Nacionalidad BrasileñaFamiliaCónyuge Ruperta Dávalos InchaustiInformación profesionalOcupación Contador y profesor [editar datos en Wikidata] Jorge López Moreira (n. Pelotas, Río G...

1958 studio album by Pat BooneStar DustStudio album by Pat BooneReleased1958GenrePopLabelDotPat Boone chronology Pat Boone Sings Irving Berlin(1957) Star Dust(1958) Yes Indeed!(1958) Professional ratingsReview scoresSourceRatingAllMusic[1] Star Dust (or Stardust) is a studio album by Pat Boone, released in 1958 on Dot Records.[2] In the United States, the album reached the top ten on both the Billboard Most Played by Jockeys[3] and Best Selling LP's[4] ...

Аглабіди Дата створення / заснування 800 Засновник Ібрагім I ібн аль-Аглаб Континент Африка Столиця Кайруан Замінений на Фатіміди Час/дата припинення існування 909  Аглабіди у Вікісховищі Аглабі́ди — арабська феодальна династія в Іфрикії (сучасний Туніс), що правила

Islam menurut negara Afrika Aljazair Angola Benin Botswana Burkina Faso Burundi Kamerun Tanjung Verde Republik Afrika Tengah Chad Komoro Republik Demokratik Kongo Republik Kongo Djibouti Mesir Guinea Khatulistiwa Eritrea Eswatini Etiopia Gabon Gambia Ghana Guinea Guinea-Bissau Pantai Gading Kenya Lesotho Liberia Libya Madagaskar Malawi Mali Mauritania Mauritius Maroko Mozambik Namibia Niger Nigeria Rwanda Sao Tome dan Principe Senegal Seychelles Sierra Leone Somalia Somaliland Afrika Selatan ...

American college football season 1891 West Virginia Mountaineers footballConferenceIndependentRecord0–1Head coachFrederick Lincoln Emory (1st season)CaptainRobert F. BivensHome stadiumShow LotSeasons1893 → 1891 Southern college football independents records vte Conf Overall Team W   L   T W   L   T Trinity (NC)   –   3 – 0 – 0 Wake Forest   –   1 – 0 – 0 VMI   –   3 – 0 ...

Formula intended to trigger a magical effect For other uses, see Incantation (disambiguation). Spellcasting redirects here. For the video game series, see Spellcasting (series). Spellcraft redirects here. For the video game, see Spellcraft: Aspects of Valor. This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Incantation – news ·...

Taxi Aéreo El Venado IATA-Code: - ICAO-Code: unbekannt Rufzeichen: unbekannt Gründung: 1963 Betrieb eingestellt: 1982 Sitz: Villavicencio, Kolumbien Heimatflughafen: Flughafen Villavicencio (Kolumbien) Flottenstärke: 10 Ziele: national, international Taxi Aéreo El Venado hat den Betrieb 1982 eingestellt. Die kursiv gesetzten Angaben beziehen sich auf den letzten Stand vor Einstellung des Betriebes. Taxi Aéreo El Venado, ab Mitte der 1970er-Jahre auch kurz El Venado genannt, war eine von ...

Waco A series Waco PBA biplane of 1932 at the Historic Aircraft Restoration Museum near St Louis Missouri in 2006 showing the wide side-by-side seating layout Role two-seat side-by-side biplaneType of aircraft National origin United States Manufacturer Waco Aircraft Company Introduction 1932 Status a few examples still extant in 2009 Primary user private owners The Waco A series is a range of light American-built twin side-by-side seater sporting biplanes of the early 1930s. Development ...

This biography of a living person needs additional citations for verification. Please help by adding reliable sources. Contentious material about living persons that is unsourced or poorly sourced must be removed immediately from the article and its talk page, especially if potentially libelous.Find sources: Rahim Razali – news · newspapers · books · scholar · JSTOR (October 2018) (Learn how and when to remove this template message) Malaysian actor, fi...

Facultad de Artes de la Universidad de Chile Forma parte de Universidad de ChileFundación 31 de diciembre de 1929LocalizaciónDirección Compañía #1264, 7° piso, Santiago, Chile ChileCoordenadas 33°26′21″S 70°39′17″O / -33.439083, -70.654694AdministraciónDecano Fernando CarrascoSitio web http://www.artes.uchile.cl[editar datos en Wikidata] La Facultad de Artes de la Universidad de Chile existe como organismo autónomo propio desde el 31 de diciemb...

Кубок Латвії 2005 Подробиці Дата проведення 7 травня — 25 вересня 2005 Кількість учасників 44 Призові місця  Чемпіон Вентспілс (3-й раз) Віцечемпіон Металургс (Лієпая) Статистика Зіграно матчів 42 Забито голів 179 (4.26 за матч) ← 2004 2006 → Кубок Латвії з футболу 2005 — 64-й розі...

Placebo discographyPlacebo in 2014Studio albums8Live albums2Compilation albums9EPs6Singles33 The discography of Placebo, an English alternative rock band, consists of eight studio albums, three compilation albums, six extended plays, and 33 singles. Their self-titled debut album was released in 1996 and peaked at number five on the UK Albums Chart.[1] A single from the album, Nancy Boy, peaked at number four on the UK Singles Chart.[1] Placebo's next studio album, 1998's Witho...

Yoo YoungkukYoo Youngkuk, around 1979Born(1916-04-07)April 7, 1916Uljin County, Gangwon Province, South KoreaDiedNovember 11, 2002(2002-11-11) (aged 86)NationalityRepublic of KoreaMovementN.B.G. (Neo Beaux-arts Group), Free Artists’ Association, New Realism Group, Modern Art Society, Sin-Sang HoeSpouseKim KisoonWebsiteyooyoungkuk.org Yoo Youngkuk (劉永國; denoted as YYK)[1] is a pioneer of modern art of Korea and her first abstract painter. Yoo Younkuk and Kim Whanki (金煥...

Hospital in South Yorkshire, England Hospital in South Yorkshire, EnglandJessop Hospital for WomenCentral Sheffield University Hospitals NHS TrustThe original Victorian wing of the Jessop HospitalShown in South YorkshireGeographyLocationSheffield, South Yorkshire, EnglandOrganisationCare systemNHSTypeMaternityAffiliated universitySheffield Medical School (University of Sheffield)ServicesEmergency departmentNoBeds57 initially, 217 at closureHistoryOpened22 July 1878Closed2001LinksListsHospital...

Leeds RiflesActiveFrom 1859Country United KingdomBranch Territorial ArmyRoleInfantry, armour, anti-aircraft artillerySize2 Territorial Battalions Up to 2 Second Line Territorial Battalions Up to 2 Reserve BattalionsGarrison/HQCarlton Barracks, LeedsAnniversariesBligny (28 July)Decorations Croix de Guerre Maple LeafCommandersNotablecommandersBrigadier Noel TetleyMilitary unit The Leeds Rifles was a unit of the 19th century Volunteer Force of the British Army that went on to serve under se...

2017 book by Max Tegmark on artificial intelligence Life 3.0: Being Human in the Age of Artificial Intelligence Hardcover edition (US)AuthorMax TegmarkCountryUnited StatesLanguageEnglishSubjectArtificial IntelligenceGenreNon-fictionPublisherKnopf (US)Allen Lane (UK)Publication dateAugust 23, 2017Media typePrint (hardback)Pages280ISBN978-1-101-94659-6 Life 3.0: Being Human in the Age of Artificial Intelligence[1] is a 2017 non-fiction book by Swedish-American cosmologist Max Tegma...

Former Kentucky county clerk who refused to issue marriage licenses to same-sex couples For other people named Kim Davis, see Kim Davis (disambiguation). Kim DavisClerk of Rowan County, KentuckyIn officeJanuary 5, 2015 – January 7, 2019Preceded byJean W. BaileySucceeded byElwood Caudill Jr. Personal detailsBornKimberly Jean Bailey (1965-09-17) September 17, 1965 (age 58)Morehead, Kentucky, U.S.Political partyDemocratic (1983–2015)Republican (after 2015)[1]SpouseJoe D...