2017 Alejandro Aguayo-Ortiz & Sergio Mendoza and © Alejandro Aguayo-Ortiz 2019-2021.
aztekas is a program that solves hyperbolic partial differential equations in conservative form using High Resolution Shock-Capturing (HRSC) schemes. This version of aztekas allows to solve the non-relativistic and relativistic hydrodynamic equations of motion (Euler equations) for a perfect fluid. The relativistic part can solve these equations on a background fixed metric (Schwarzschild, Minkowski, Kerr-Schild, etc.).
aztekas uses a conservative finite-volume approach to obtain the dicrete form of a hyperbolic partial differential system of equations (PDE).
where is the vector of conservative variables (energy, density, momentum), are the vectors of fluxes along each dimensional direction and is the vector of source terms.
- Open terminal in your computer.
- Clone github repository:
$ git clone https://github.com/aztekas-code/aztekas-main
- Export the environment variable AZTEKAS_PATH
$ echo 'export AZTEKAS_PATH=$HOME/aztekas-main' >> ~/.bashrc
for Linux or$ echo 'export AZTEKAS_PATH=$HOME/aztekas-main' >> ~/.bash_profile
for Mac - Run
$ source ~/.bashrc
or$ source ~/.bash_profile
in order to update the environment variable. - Move to SIMULATIONS/HD/Shock-Tube:
$ cd SIMULATIONS/HD/Shock-Tube
- Compile:
$ make clean
and$ make
- Run aztekas:
./aztekas shock.param
- Run the command
$ chmod 755 setup
inside the main directory. - Create a new directory wherever you want.
- Run the
setup
script inside this new repository and setup the files for the new simulation:$ $AZTEKAS_PATH/setup