Skip to content

HawkingR/aztekas-main

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aztekas-code

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.).

Introduction

aztekas uses a conservative finite-volume approach to obtain the dicrete form of a hyperbolic partial differential system of equations (PDE).

equation

where equation is the vector of conservative variables (energy, density, momentum), equation are the vectors of fluxes along each dimensional direction and equation is the vector of source terms.

How to install and run an example simulation

  1. Open terminal in your computer.
  2. Clone github repository: $ git clone https://github.com/aztekas-code/aztekas-main
  3. 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
  4. Run $ source ~/.bashrcor $ source ~/.bash_profile in order to update the environment variable.
  5. Move to SIMULATIONS/HD/Shock-Tube: $ cd SIMULATIONS/HD/Shock-Tube
  6. Compile: $ make clean and $ make
  7. Run aztekas: ./aztekas shock.param

Setup a new simulation

  1. Run the command $ chmod 755 setup inside the main directory.
  2. Create a new directory wherever you want.
  3. Run the setup script inside this new repository and setup the files for the new simulation: $ $AZTEKAS_PATH/setup

About

GRHD numerical code

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 59.3%
  • Fortran 13.1%
  • Shell 9.7%
  • Python 9.4%
  • Makefile 8.1%
  • Gnuplot 0.2%
  • Other 0.2%