TOT AL V ARIA TION DIMINISHING R UNGE KUTT A SCHEMES Sigal Gottlieb and Chi W ang Sh u Division of Applied Mathematics Bro wn Univ ersit y Pro vidence RI ABSTRA CT In this pap er w e further explore a class of high order TVD total v ariation diminishing Runge Kutta time discretization initialized in suitable for solving h yp erb olic conser v ation la ws with stable spatial discretizations W e illustrate with n umerical examples that non TVD but linearly stable Runge Kutta time discretization can generate oscillations ev en for TVD total v ariation diminishing spatial discretization v erifying the claim that TVD Runge Kutta metho ds are imp ortan t for suc h applications W e then explore the issue of optimal TVD Runge Kutta metho ds for second third and fourth order and for lo w storage Runge Kutta metho ds Supp orted b y a ARP A NDSEG graduate studen t fello wship Researc h supp orted b y AR O gran t D AAH G NSF gran t DMS NASA Langley gran t NA G and con tract NAS while the author w as in residence at ICASE NASA Langley Researc h Cen ter Hampton V A and AF OSR Gran t i In tro duction In this pap er w e further explore a class of high order TVD total v ariation diminishing Runge Kutta time discretization initialized in F or related w ork of m ulti step t yp e see The metho d is used to solv e a system of ODEs u L u t with suitable initial conditions resulting from a metho d of lines appro ximation to a h yp er b olic conserv ation la w u f u t x where the spatial deriv ativ e f u is appro ximated b y a TVD nite di erence or nite elemen t x appro ximation e g denoted b y L u whic h has the prop ert y that the total v ariation of the n umerical solution X T V u ju u j j j j do es not increase n n T V u T V u for a rst order in time Euler forw ard stepping n n n u u tL u under suitable restriction on t t t The ob jectiv e of the high order TVD Runge Kutta time discretization is to main tain the TVD prop ert y while ac hieving higher order accuracy in time p erhaps with a di eren t time step restriction than t c t where c is termed CFL co e cien t for the high order time discretization The TVD high order time discretization is useful not only for TVD spatial discretizations but also for TVB total v ariation b ounded e g or ENO Essen tially Non Oscillatory e g or other t yp es of spatial discretizations for h yp erb olic problems It main tains stabilit y in whatev er norm of the Euler forw ard rst order time stepping for the high order time discretization under the time step restriction F or example if it is used for m ulti space dimensional scalar conserv ation la ws for whic h TVD is not p ossible but maxim um norm stabilit y can b e main tained for high order spatial discretizations plus Euler forw ard time stepping e g then the same maxim um norm stabilit y can b e main tained if TVD high order time discretization is used As another example if an en trop y inequalit y can b e pro v ed for the Euler forw ard then the same en trop y inequalit y is v alid under a high order TVD time discretization In a general Runge Kutta metho d for is written in the form i X i k k u u t L u i m ik ik k n m n u u u u Clearly if all the co e cien ts are nonnegativ e then is just a con v ex ik ik ik com bination of Euler forw ard op erators with t replaced b y t since b y consistency ik P i W e th us ha v e ik k Lemma The Runge Kutta metho d is TVD under the CFL co e cien t ik c min i k ik pro vided that ik ik In sc hemes up to third order w ere found to satisfy the conditions in Lemma with CFL co e cien t equal to If w e only ha v e where migh t b e negativ e w e need to in tro duce an adjoin t ik ik op erator L The requiremen t for L is that it appro ximates the same spatial deriv ativ e s as L but is TVD or stable in another relev an t norm for rst order Euler bac kw ard in time n n n u u tL u This can b e ac hiev ed for h yp erb olic conserv ation la ws b y solving the bac kw ard in time v ersion of u f u t x Numerically the only di erence is the c hange of up wind direction Clearly L can b e com puted with the same cost as that of computing L W e then ha v e the follo wing lemma Lemma The Runge Kutta metho d is TVD under the CFL co e cien t ik c min i k j j ik pro vided that and L is replaced b y L for negativ e ik ik k k Notice that if for the same k b oth L u and L u m ust b e computed the cost as w ell as storage requiremen t for this k is doubled F or this reason w e w ould lik e to a v oid negativ e as m uc h as p ossible In t w o L s w ere used to giv e a fourth order TVD ik Runge Kutta metho d with a CFL co e cien t c W e will impro v e it in this pap er ho w ev er unfortunately w e also pro v e that all four stage fourth order Runge Kutta metho ds with p ositiv e CFL co e cien t c in m ust ha v e at least one negativ e ik F or large scale scien ti c computing in three space dimensions storage is usually a paramoun t consideration Therefore there are discussions ab out lo w storage Runge Kutta metho ds whic h only require storage units p er ODE equation W e will consider in this pap er TVD prop erties among suc h lo w storage Runge Kutta metho ds In the next section w e will giv e n umerical evidence to sho w that ev en with a v ery nice second order TVD spatial discretization if the time discretization is b y a non TVD but linearly stable Runge Kutta metho d the result ma y b e oscillatory Th us it w ould alw a ys b e safer to use TVD Runge Kutta metho ds for h yp erb olic problems The in v estigation of TVD time discretization can also b e carried out for the general ized Runge Kutta metho ds whic h ha v e more than one step in e g and W e ha v e p erformed this study but failed to nd go o d in terms of CFL co e cien ts and whether L app ears TVD metho ds in this class The result will not b e discussed in this pap er The Necessit y to Use a TVD Time Stepping A Numerical Example In this section w e will sho w a n umerical example using the standard minmo d based MUSCL second order spatial discretization W e will compare the results of a TVD v ersus a non TVD second order Runge Kutta time discretizations The PDE is the simple Burgers equation u u t x with a Riemann initial data if x u x if x u in is appro ximated b y the conserv ativ e di erence x f f j j x where the n umerical ux f is de ned b y j f h u u j j j with u u minmod u u u u u u minmod u u u u j j j j j j j j j j j j The monotone ux h is the Go duno v ux u min if u u u u u h u u u max if u u u u u and the no w standard minmod function is giv en b y sig n a sig n b minmod a b min jaj jbj It is easy to pro v e b y using Harten s Lemma that the Euler forw ard time discretization with this second order MUSCL spatial op erator is TVD under the CFL condition x t n max ju j j j x Th us t will b e used in all our calculations n max ju j j j The TVD second order Runge Kutta metho d w e consider is the one giv en in n n u u tL u n n u u u tL u the non TVD metho d w e use is n n u u tL u n n n u u tL u tL u It is easy to v erify that b oth metho ds are second order accurate in time If the op erator L is linear for example the rst order up wind sc heme applied to a linear PDE then b oth Runge Kutta metho ds actually all the t w o stage second order Runge Kutta metho ds yield iden tical results the t w o stage second order Runge Kutta metho d for a linear ODE is unique Ho w ev er since our L is nonlinear w e ma y and do observ e di eren t results when the t w o Runge Kutta metho ds are used In Figure w e sho w the result of the TVD Runge Kutta metho d and the non TVD metho d after the sho c k mo v es ab out grids time steps for the TVD metho d time steps for the non TVD metho d W e can clearly see that the non TVD result is oscillatory there is an o v ersho ot u exact u exact 1.5 1.5 TVD non-TVD 1.0 1.0 0.5 0.5 0.0 0.0 -0.5 -0.5 30 40 50 60 x 30 40 50 60 x Figure Second order TVD MUSCL spatial discretization Solution after time steps Left TVD time discretization Righ t non TVD time discretization Suc h oscillations are also observ ed when the non TVD Runge Kutta metho d coupled with a second order TVD MUSCL spatial discretization is applied to a linear PDE u u t x i Moreo v er for some Runge Kutta metho ds if one lo oks at the in termediate stages i e u for i m in one observ es ev en bigger oscillations Suc h oscillations ma y render di culties when ph ysical problems are solv ed suc h as the app earance of negativ e densit y and pressure for Euler equations of gas dynamics On the other hand TVD Runge Kutta metho d guaran tees that eac h middle stage solution is also TVD This simple n umerical test con vinces us that it is m uc h safer to use a TVD Runge Kutta metho d for solving h yp erb olic problems The Optimal TVD Runge Kutta Metho ds of Sec ond Third and F ourth Order In this section w e will try to iden tify the optimal in the sense of CFL co e cien t and the cost incurred b y L if it app ears TVD Runge Kutta metho ds of m stage m th order for m written in the form F or second order m w e can c ho ose and as free parameters The other co e cien ts are then giv en as Prop osition If w e require and then the optimal second order TVD ik ik Runge Kutta metho d is giv en b y n n u u tL u n n u u u tL u with a CFL co e cien t c in Pro of If w e w ould lik e a CFL co e cien t c then implies whic h in turn implies Also whic h implies W e th us ha v e whic h is a con tradiction F or the third order case m the general Runge Kutta metho d consists of a t w o parameter family as w ell as t w o sp ecial cases of one parameter families W e can similarly pro v e the follo wing prop osition Prop osition If w e require and then the optimal third order TVD ik ik Runge Kutta metho d is giv en b y n n u u tL u n u u u tL u n n u u u tL u with a CFL co e cien t c in Pro of The pro of is more tec hnical and is giv en in the App endix F or the fourth order case m the general Runge Kutta metho d again consists of a t w o parameter family as w ell as three sp ecial cases of one parameter families Unfortunately this time w e cannot a v oid the app earance of negativ e ik Prop osition The four stage fourth order Runge Kutta sc heme with a nonzero CFL co e cien t c in m ust ha v e at least one negativ e ik Pro of The pro of is tec hnical and is giv en in the App endix c W e th us m ust settle for nding an e cien t solution con taining L whic h maximize s i where c is the CFL co e cien t and i is the n um b er of Ls This w a y w e are lo oking for a TVD metho d whic h reac hes a xed time T with a minim al n um b er of residue ev aluations for L or L W e use a computer program and the help of optimization routines to ac hiev e this goal The follo wing is the b est metho d w e can nd n n u u tL u n u u tL u u tL u n n u u tL u u tL u u tL u n n n u u tL u u tL u u u tL u with a CFL co e cien t c in Notice that t w o Ls m ust b e computed The e ectiv e CFL co e cien t comparing with an ideal case without Ls is Since it is di cult to solv e the global optimization problem w e do not claim that is the optimal stage th order TVD Runge Kutta metho d The Lo w Storage TVD Runge Kutta Metho ds F or large scale scien ti c computing in three space dimensions storage is usually a paramoun t consideration Therefore there are discussions ab out lo w storage Runge Kutta metho ds whic h only require storage units p er ODE v ariable W e will consider in this section TVD prop erties among suc h lo w storage Runge Kutta metho ds The general lo w storage Runge Kutta sc hemes can b e written in the form i i i du A du tL u i i i i u u B du i m i n m n u u u u A Only u and du m ust b e stored resulting in t w o storage units for eac h v ariable Carp en ter and Kennedy ha v e classi ed all the three stage third order m lo w storage Runge Kutta metho ds obtaining the follo wing one parameter family q z c c c c z c c z c c c c z c c c c z c c c z c c c c B c c c z z z z B c c c c c B z z c c z z z c c z A c z c c z z c c c z A z c c c z c c Whic h is con v erted in to the form of equation b y in tro ducing three new parameters Then w e searc h for v alues of these parameters that w ould maximi ze the CFL restriction again b y a computer program The result seems to indicate that c giv es an almost b est c hoice with CFL co e cien t c in This is of course less optimal than in terms of CFL co e cien ts ho w ev er the lo w storage form is useful for large scale calculations Carp en ter and Kennedy ha v e also giv en classes of stage th order lo w storage Runge Kutta metho ds W e ha v e b een unable to nd TVD metho ds in that class with p ositiv e ik and Notice that L cannot b e used without destro ying the lo w storage prop ert y hence ik negativ e cannot b e used here ik Concluding Remarks W e ha v e giv en a simple but illustrating n umerical example to sho w that it is in general m uc h safer to use a TVD Runge Kutta metho d for h yp erb olic problems W e then explore the optimal second third and fourth order TVD Runge Kutta metho ds While for second and third order optimal metho ds are found with a CFL co e cien t equal to one for fourth order w e simply giv e the b est metho d w e can nd A TVD third order lo w storage Runge Kutta metho d is found whic h uses only t w o storage units p er equation and has a CFL co e cien t equal to Finally w e pro v e that general four stage fourth order Runge Kutta metho ds can not b e TVD without in tro ducing an adjoin t op erator L Ac kno wledgmen ts W e w ould lik e to thank Mordec hai Berger and Mark Carp en ter for helpful discussions References M Carp en ter and C Kennedy F ourth or der N stor age R unge Kutta schemes preprin t Submitted to SIAM J Sci Comput B Co c kburn and C W Sh u TVB R unge Kutta lo c al pr oje ction disc ontinuous Galerkin nite element metho d for c onservation laws II gener al fr amework Math Comp v pp B Co c kburn S Hou and C W Sh u TVB R unge Kutta lo c al pr oje ction disc ontinuous Galerkin nite element metho d for c onservation laws IV the multidimensional c ase Math Comp v pp A Harten High r esolution schemes for hyp erb olic c onservation laws J Comput Ph ys v pp A Harten B Engquist S Osher and S Chakra v arth y Uniformly high or der ac cur ate essential ly non oscil latory schemes III J Comput Ph ys v pp Z Jac kiewicz R Renaut and A F eldstein Two step R unge Kutta metho ds SIAM J Numer Anal v pp M Nak ashima Emb e dde d pseudo R unge Kutta metho ds SIAM J Numer Anal v pp S Osher and S Chakra v arth y High r esolution schemes and the entr opy c ondition SIAM J Numer Anal v pp A Ralston A First Course in Numeric al A nalysis McGra w Hill New Y ork C W Sh u TVB uniformly high or der schemes for c onservation laws Math Comp v pp C W Sh u T otal variation diminishing time discr etizations SIAM J Sci Stat Com put v pp C W Sh u and S Osher E cient implementation of essential ly non oscil latory sho ck c apturing schemes J Comput Ph ys v pp P K Sw eb y High r esolution schemes using ux limiters for hyp erb olic c onservation laws SIAM J Numer Anal v pp B v an Leer T owar ds the ultimate c onservative di er enc e scheme V A se c ond or der se quel to Go dunov s metho d J Comput Ph ys v pp J H Williamson L ow stor age R unge Kutta schemes J Comput Ph ys v pp App endix In this app endix w e pro v e Prop osition and Prop osition W e write the general stage th order Runge Kutta metho d in the follo wing standard form n n u u c L u n n u u c tL u c tL u n n u u c tL u c tL u c tL u n n n u u c tL u c tL u c tL u c tL u The relationship b et w een the co e cien ts c here and and in is ik ik ik c c c c c c c c c c F or a third order Runge Kutta metho d the general form is similar without the last n line and with u replaced b y u The relationship also is similar without the last four lines for c c c and c Pro of of Prop osition The general third order three stage Runge Kutta metho d in the form is giv en b y a t w o parameter family as w ell as b y t w o sp ecial cases of one parameter families General Case If and c c c c c c Notice that c c and c c If w e w an t to ha v e a CFL co e cien t c in w e w ould need unless b oth of them are zero es This also ik ik implies that c b y Also notice that c otherwise that stage ik i i i i is not necessary No w c and c imply c implies and c requires and imply c whic h is c c or c So w e m ust ha v e On the other hand requires c c c whic h is or Com bining these t w o inequalities w e get or whic h is a con tradiction since and c c requires c requires and c requires c c c whic h is c requires Putting these t w o inequalities together w e ha v e whic h means a con tradiction since and Sp ecial Case I In this case c c c c c c and c requires c c whic h implies and c requires c c whic h means for whic h w e m ust ha v e A con tradiction Sp ecial Case I I In this case the equations read c c c c c c Clearly c and c cannot b e sim ultaneously nonnegativ e Sp ecial Case I I I In this case the metho d is not third order Pro of of Prop osition Recall that all the s m ust b e nonnegativ e to satisfy our TVD criteria F rom the ik relationship b et w een the co e cien ts of and of w e can see that nonnegativ e s imply nonnegativ e c s W e no w sho w that w e cannot ha v e all nonnegativ e c s ik ik ik General Case If t w o parameters and are suc h that and Then the co e cien ts c are ik c c c c c c c c c c c c c There are v e p ossibilities to consider implies c and c requires c requires c and c require that Since this is a decreasing function of when w e obtain Rearranging w e nd that whic h is imp ossible and c requires W e can only ha v e c in one of t w o w a ys a If and c requires Simple calculation yields c c c hence c requires A B C It is easy to sho w that when w e ha v e A B and C Th us for w e ha v e A B C max A A B C max A whic h is a con tradiction b and c requires whic h implies Clearly this is true only if No w c requires that an apparen t con tradiction and in this case w e can see imme diately that c If c If or if or if then this metho d is not fourth order Sp ecial Case I If the metho d can b e fourth order only if In this case c c c c c w c w w w c c w c w c Clearly w e need to ha v e c w T o ha v e c w and c w w e require w This leads to the classical fourth order Runge Kutta metho d c Clearly then This is only acceptable if But so in the case where all s are nonnegativ e the CFL co e cien t is ik equal to zero Sp ecial Case I I If the metho d can b e fourth order only if Then c c c c c c c c c w w c w c c w In this case w e w an t c whic h means w But then c w So w this case do es not allo w all nonnegativ e s ik Sp ecial Case I I I If the metho d can b e fourth order only if Then c c c c c c c c w c w w w c c w c Clearly c c one of these m ust b e negativ e Th us this case do es not w allo w all nonnegativ e s either ik