Skip to content

A versatile MHD code

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

danielver02/HolmMHD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is HolmMHD - A versatile code to solve the magnetohydrodynamics equations

Copyright (C) 2019 - Daniel Verscharen ([email protected])
Mullard Space Science Laboratory, University College London
Space Science Center, University of New Hampshire

HolmMHD has the following requirements:

    make
    Fortran 90 compiler
    HDF5
    MPI

Compile the code by executing
    ./configure --with-hdf5=/path/to/hdf5        (this could be: "/usr/local/hdf5" on a Mac)
    make
    mkdir data       (if necessary)

in the main directory. Then run HolmMHD with

    mpirun -np <NUMBER OF NODES> ./src/HolmMHD

The parameters are set in the file parameters.f90 in the ./src directory. The initialisation is set in the file initialise.f90 in the ./src directory.
The code requires the folders src and data in the main directory.