cheshirepezz / PLUTO

PLUTO: A Numerical Code for Computational Astrophysics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PLUTO

Poster

Copyright (C) 2002-2018 Andrea Mignone. See CONTRIBUTORS.

PLUTO is Godunov-type code for astrophysical fluid dynamics supporting several modules and algorithms. This is version 4.3 (June 2018) of the code, with a few updates and bug fixes by the Black Hole Group.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

System requirements

  • C compiler (gcc works fine),
  • Python (v. 2.0 or higher)

Optionals

  • MPI (for parallel runs)
  • Chombo lib (for AMR)
  • libpng to produce on-the-fly graphics.

Basic Installation and Usage

There's no configure.sh; once you've unpacked the distribution,

  1. define the shell variable PLUTO_DIR as the main PLUTO directory, e.g., if you are using tcsh:
setenv PLUTO_DIR "/home/user/PLUTO

if you're using bash:

export PLUTO_DIR="/Users/ovidiu/PLUTO"
  1. select a working dir anywhere on your hard disk; at the command prompt, just type
python $PLUTO_DIR/setup.py

configure your problem and select makefile;

  1. edit your init.c and pluto.ini to assign initial conditions and problem specific information;

  2. compile with

make 

or gmake;

  1. run with
./pluto

See the documentation in Doc/ for more information. Have fun!

If you encounter problems during the previous steps, or have any other question regarding the code, please send an e-mail to mignone@ph.unito.it.

About

PLUTO: A Numerical Code for Computational Astrophysics

License:GNU General Public License v2.0


Languages

Language:C 54.9%Language:HTML 22.7%Language:Objective-C 7.1%Language:Python 5.4%Language:C++ 3.9%Language:Prolog 2.8%Language:IDL 1.5%Language:JavaScript 0.6%Language:CSS 0.6%Language:Makefile 0.2%Language:Gnuplot 0.1%Language:Mathematica 0.1%