Skip to content

Latest commit

 

History

757 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is FLUX, the Field Line Universal Relaxer.

FLUX is a prototype MHD solver that is currently able to find nonlinear force-free fields with an exactly specified topology in a quasi-static, infinitely conductive, low-beta medium. Unlike conventional extrapolation codes, FLUX accepts as input a collection of field line shapes that do not necessarily have physical meaning but that do have the correct topology that you want to study. The FLUX engine relaxes the position of those field lines until they approximate the physical force-free state with the same topology that you specified.

FLUX consists of two parts: a relaxation engine, written in C, and a control interface in Perl. The control interface is intended to be used with Perl Data Language (PDL). If you do not have PDL on your system, you can get it for free from http://pdl.perl.org. PDL compiles "out of the box" on most UNIX systems.

For more details see Lowder, Gilly, and DeForest 2024 or the FLUX wiki.

Installation

Instructions for installing FLUX on Linux or macOS machines can be found in the documentation folder.

Code structure

  • doc -- install guide and some documentation (see the wiki for more up-to-date information.)

  • include -- 'c' header files (these get installed into $FL_PREFIX/include/flux/)

  • lib -- the central libflux.a core simulation library (this gets installed into $FL_PREFIX/lib/)

  • pdl -- PDL glue code and perl modules

    • pdl/PDL -- PDL autoload subroutines
  • py -- Python visualization and analysis tools

  • t -- Test suite

Acknowledgements

Authors:

  • Craig DeForest (SwRI)
  • Charles Kankelborg (MSU)
  • Derek Lamb (SwRI)
  • Chris Lowder (SwRI)
  • Chris Gilly (SwRI)
  • Laurel Rachmeler (then at CU Boulder & SwRI)
  • Alisdair Davey (then at SwRI)

Contributors (gratefully acknowledged):

  • Nathan Schwadron
  • Teddy Walls
  • Christopher Plumberg

The authors gratefully acknowledge support from NASA's Living With A Star and Solar/Heliospheric Physics programs, the AFOSR, and from the Southwest Research Institute.

About

FLUX allows efficient modeling of magnetic field evolution in a conductive atmosphere, with exactly prescribed field topology

Resources

Stars

9 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages