ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

TVD: Total Variation Diminishing code

Discussion topics for individual codes
User avatar
owlice
Guardian of the Codes
Posts: 1081
Joined: Wed Aug 04, 2004 4:18 pm
Location: Washington, DC

TVD: Total Variation Diminishing code

Postby owlice » Thu Apr 25, 2013 11:49 am

TVD: Total Variation Diminishing code

Abstract: TVD solves the magnetohydrodynamic (MHD) equations by updating the fluid variables along each direction using the flux-conservative, second-order, total variation diminishing (TVD), upwind scheme of Jin & Xin. The magnetic field is updated separately in two-dimensional advection-constraint steps. The electromotive force (EMF) is computed in the advection step using the TVD scheme, and this same EMF is used immediately in the constraint step in order to preserve ∇˙B=0 without the need to store intermediate fluxes. The code is extended to three dimensions using operator splitting, and Runge-Kutta is used to get second-order accuracy in time. TVD offers high-resolution per grid cell, second-order accuracy in space and time, and enforcement of the ∇˙B=0 constraint to machine precision. Written in Fortran, It has no memory overhead and is fast. It is also available in a fully scalable message-passing parallel MPI implementation.

Credit: Pen, Ue-Li; Arras, Phil; Wong, ShingKwong

Site: https://www.cita.utoronto.ca/~pen/MHD/
http://adsabs.harvard.edu/abs/2003ApJS..149..447P

Bibcode: 2013ascl.soft04015P

ID: ascl:1304.015
Last edited by Ada Coda on Sun Jan 13, 2019 8:36 pm, edited 1 time in total.
Reason: Updated code entry.
Code-seeking owl at your service

Return to “Astrophysics Source Code Library”

Who is online

Users browsing this forum: Bing [Bot] and 5 guests

cron