Magnetohydrodynamics modeling in Python : simulating magnetic fluids.

dc.contributor.authorFarber, Ryan.
dc.descriptioni, 101 leaves : color illustrations.en_US
dc.descriptionIncludes bibliographical references.
dc.description.abstractThe purpose of this work is to present a gentle first introduction to numerical magnetohydrodynamics at the advanced undergraduate level. We first present the necessary background physics, building up the magnetohydrodynamics equations piece by piece. Then, we present numerical methods to discretize the equations. In addition to the traditional finite difference method, we present stable and nonstandard discretization methods employed in THE.ARGO, a minimalist magnetohydrodynamics code written in Python by this author. A backtracking scheme is used to discretize advection and diffusion and is guaranteed to be stable. Our nonstandard discretization is an atypical use of Fast Fourier Transforms to find the fluid pressure. Last, we present test problems validating the physical accuracy of THE.ARGO's unusual methods. We hope this work will provide students with some foundation before delving into the nasty traditional codes written in C and Fortran. Additionally, we hope the scientific community may benefit from our presentation of the nonstandard techniques we used to discretize the magnetohydrodynamics equation. Unlike common methods, our schemes guarantee stability, allowing larger time steps than the Courant conditions permits.en_US
dc.description.tableofcontentsThe physics of ideal MHD -- Introduction -- What is a fluid? -- The fluid equations --The MHD equations -- Looking to the future -- Discretizing the MHD equations -- The Hollywood way of life -- Finite differencing -- Backtracking methods for advection and diffusion -- Eliminating velocity divergence by relaxing the pressure -- Fourier transform method -- Discretization methods summary -- Simulations testing THE.ARGO -- Simulation parameters -- Advection -- Advection plus diffusion in 1D -- Advection plus diffusion in 2D -- Lid-driven cavity flow -- Double vortex -- The orszag-tang vortex.
dc.identifier.otherW Thesis 1477
dc.publisherWheaton College (Norton, Mass.)en_US
dc.subjectUndergraduate research.
dc.subjectUndergraduate thesis.
dc.subject.lcshMagnetohydrodynamics -- Computer programs.
dc.subject.lcshMagnetohydrodynamics -- Computer simulation.
dc.subject.lcshPython (Computer program language)
dc.subject.lcshFinite differences.
dc.subject.lcshFourier transformations.
dc.titleMagnetohydrodynamics modeling in Python : simulating magnetic fluids.en_US