Skip to content

PLUTO: A Numerical Code for Computational Astrophysics

License

GPL-2.0, GPL-2.0 licenses found

Licenses found

GPL-2.0
LICENSE
GPL-2.0
COPYING
Notifications You must be signed in to change notification settings

cheshirepezz/PLUTO

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected].

About

PLUTO: A Numerical Code for Computational Astrophysics

Topics

Resources

License

GPL-2.0, GPL-2.0 licenses found

Licenses found

GPL-2.0
LICENSE
GPL-2.0
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 55.0%
  • HTML 22.7%
  • Objective-C 7.1%
  • Python 5.4%
  • C++ 3.9%
  • Prolog 2.8%
  • Other 3.1%