SWMF Downloadable software

SWMF logo

The Space Weather Modeling Framework (SWMF) is a software package that provides a common operating environment for the various modeling components it includes. Each of the SWMF components models a particular aspect of space weather (sun, heliosphere, magnetosphere, etc), and there are various commands that allow the user to control how those models run and interact with each other. The SWMF can also be used for many other applications not related to space weather, including but not restricted to high energy density physics, exoplanets, and general plasma physics. The SWMF review paper provides more detailed information.

For a full explanation of the framework, please visit the Space Weather Modeling Framework page.

Open source SWMF

The SWMF is open source under the Apache 2 license with the exception of the Polar Wind Outflow Model (PWOM) which is going through a multi-year open-source process at NASA.

SWMF with registration

Having support and write access to the SWMF requires user registration and signing the user license agreement. Send e-mail to [email protected] with the following information:

  • Full name
  • Affiliation and professional email address that corresponds to the affiliation
  • Description of the intended application(s)
  • Signed copy of the user license agreement

If your application is approved, you will be added to the user or developer team on github.com/SWMFsoftware.

SWMF Runs on Request

To run the SWMF you will need access to a Linux/Unix/OSX computer with a Fortran compiler. Large applications will require many CPU cores and the Message Passing Interface (MPI) library. Some parts of the SWMF can now run on one or more GPUs. If you do not have access to a large computer, you may consider using the runs-on-request service of the Community Coordinated Modeling Center (CCMC) .

Global Ionosphere Thermosphere Model (GITM)

The Global Ionosphere Thermosphere Model (GITM) is also part of the SWMF. GITM is maintained by Prof. Aaron Ridley and it is available on Github under a user license.

Block-Adaptive-Tree Solarwind Roe-type Upwind Scheme (BATS-R-US)

The BATS-R-US extended MHD model is part of the SWMF. Some applications using BATSRUS are also available through the CCMC runs-on-request service.

Code for Radiation Shock Hydrodynamics (CRASH)

CRASH is a high energy density plasma (HEDP) application of BATS-R-US.

Finite Difference Iterative Potential-field Solver (FDIPS)

FDIPS is a Finite Difference Iterative Potential-field Solver that can generate the 3D potential magnetic field solution based on a magnetogram. FDIPS is written in Fortran 90 and it uses the MPI library for parallel execution. Please read the README file first. Then you can download FDIPS_v1.2.tgz .

For technical information on FDIPS, please read our paper: “Obtaining Potential Field Solution with Spherical Harmonics and Finite Differences” by Gabor Toth, Bart van der Holst, and Zhenguang Huang, Astrophysical Journal, 732, 102, 2011. DOI: 10.1088/0004-637X/732/2/102. If you find FDIPS useful, please cite the paper above in your publications.

Enjoy!