Coder Social home page Coder Social logo

astrophysical_jet's Introduction

Astrophysical Jet simulations using MPI-AMRVAC

This is a numerical simulation of an astrophysical jet. Those jets are outflows of ionised matter emitted from the axis of rotation of galaxies. Most notable example of astrophysical jets are Quasars.

Prerequisites

apt install git

apt install perl

apt install gfortran

apt install openmpi-bin libopenmpi-dev

git clone https://github.com/amrvac/amrvac.git

Note: In this repository, we use MPI-AMRVAC version 3.1 which is the latest version at the time of writing this README.md file. At the time of writing this README.md file, the latest release is 3.0. To switch to 3.1, use git checkout amrvac3.1 after cloning the repository.

Contents

This repository contains the following files:

Running The Simulation

To run the simulation, first you need to create an output directory (if not created already).

mkdir output

Then, you need to compile the code. Go to root directory of MPI-AMRVAC 3.1 and run

.\setup.pl -d=2

Then, go to the directory of this repository and run

make

Finally, run the simulation using

mpirun -np 112 ./amrvac -i jet.par

NOTE : The number of processors used in the simulation is 112. You can change (and probably want) to change it. For the provided parameter file, you need a lot of CPUs or a lot of time. All simulations in the paper were run on 112 cores from AMD EPYC 7713 CPU.

astrophysical_jet's People

Contributors

nathan-rousselot avatar

Stargazers

Julien GLEYZE avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.