Skip to content

ErcongLuo/ssxluo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssxluo

This repository contains python code that are used to simulate 3 magnetohydrodynamic (MHD) experiments. The python code utilizes an open-source environment called dedalus. All python code is run on the PSC-Bridges supercomputing cluster. example merging image

The directory "Hartmann" contains python code used to simulate the MHD Hartmann flow problem. It is a problem with well known analytical soluations. A typical simulation costs around 5 CPU-hours.

![Hartmann Rendered](images/Hartmann_v_B_fields.jpg)

The directory ssxluo contains python code that were used to simulate (1) the relaxation of a spheromak into a B-force-free equilibrium named the Taylor state (see original paper) example merging image

(2) the merging of two Taylor state plasmas due to pressure gradient (magnetic reconnection takes place in this experiment). example merging image

A taypical simulation run costs around 5,000-10,000 CPU-hours with a resolution of 28x24x360. The x and y axis of the solution domain can be distributively solved.

About

Simulations for SSX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 78.0%
  • Shell 22.0%