Fortran Authors: P.L. Blelly, J. Lilensten, M. Zettergren
Python front-end, and Fortran interfacing: Michael Hirsch
TRANSCAR 1D flux tube ionospheric energy deposition flux transport model. Considers solar input and background conditions via MSIS, HWM. Models disturbance propagation in ionosphere via models including LCPFCT.
Because Transcar is Python & Fortran based, it runs on any PC/Mac with Linux, MacOS, Windows, etc. Most Fortran compilers can be used, including Gfortran and Intel.
- Linux / Windows Subsystem for Linux:
apt install gfortran cmake make
- MacOS / Homebrew:
brew install gcc cmake make
From native Windows install CMake and either of:
from Terminal / Command Prompt
git clone https://github.com/scivision/transcar
cd transcar
python -m pip install -e .
cmake -B build
cmake --build build
Simulations are configured in dir.input/DATCAR. Simulations are run from the top directory. Python runs Transcar in parallel using concurrent.futures.ThreadPoolExecutor, dynamically adapting to the number of CPU cores available:
python MonoenergeticBeams.py /tmp/tc
The simulation results are loaded and plotted by the transcarread Python package.