forked from pencil-code/pencil-code
-
Notifications
You must be signed in to change notification settings - Fork 0
A high-order finite-difference code for compressible hydrodynamic flows with magnetic fields and particles
silstecca/pencil-code
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
$Id$ The Pencil Code =============== Since 21 September 2008 the Pencil Code is available under http://code.google.com/p/pencil-code/ To check out the code, follow the notes on: http://www.nordita.org/software/pencil-code/svn-transition-google.html To get started, run one of the samples: unix> cd pencil-code unix> source sourceme.csh [or . sourceme.sh] unix> cd samples/conv-slab unix> mkdir data To set up the symbolic links and compile the code: unix> pc_setupsrc unix> pc_build [ -f /path/to/config/file.conf ] To create the initial condition and run the code: unix> pc_start [ -f /path/to/config/file.conf ] unix> pc_run [ -f /path/to/config/file.conf ] See pencil-code/config/hosts/*/*.conf for sample config files. For more details, see the manual in the doc/ directory (also available from the URL above). ============================================================================= If you are using bash and you do not want to "source sourceme.sh" on each session, you can insert the following into your .bashrc and/or .bash_profile: export PENCIL_HOME=$HOME/pencil-code [or wherever you have the code] _sourceme_quiet=1; . $PENCIL_HOME/sourceme.sh; unset _sourceme_quiet If you are using csh insert the following into your .cshrc: setenv PENCIL_HOME $HOME/pencil-code [or wherever you have the code] source $PENCIL_HOME/sourceme.csh
About
A high-order finite-difference code for compressible hydrodynamic flows with magnetic fields and particles
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Fortran 69.7%
- Jupyter Notebook 9.3%
- Python 6.6%
- IDL 6.4%
- Perl 2.1%
- Cuda 2.0%
- Other 3.9%