(→How do I run SPHYSICS on windows?) |
(→What platforms does SPHYSICS run on?) |
||
Line 32: | Line 32: | ||
Windows: | Windows: | ||
− | + | Compaq Visual Fortran | |
Linux: | Linux: |
Welcome to the SPHYSICS FAQ Page. If you do not find the answer to the question you were looking for, please try the other Forum pages:
SPHYSICS is a Smoothed Particle Hydrodynamics (SPH) code written in fortran for the simulation of potentially violent free-surface hydrodynamics. For release version 1.0, the SPHYSICS code can simulate various phenomena including wave breaking, dam breaks, sloshing, sliding objects, wave impact on a structure, etc. More information on the technical capabilities can be found on the SPHYSICS home page.
Please see the Downloads Page.
SPHYSICS was written by a number of contributors from universities from around the world.....
The SPHYSICS source code is downloadable from the main Downloads page. Therefore, the code can run on any operating system or platform where you have a fortran compiler. (please see the following webpage for fortran compilers available on the internet). During development every effort has been made to ensure that the SPHYSICS code is as portable as possible. The code has been tested on the following operating systems and compilers:
Windows:
Compaq Visual Fortran
Linux: GPL gfortran compiler, Intel fortran compiler
Mac: GPL gfortran
This depends whether you are using an Intergrated Development Environment (IDE). Generally, your compiler will produce SPHYSICS.exe which are then run from the command line:
SPHYSICS.exe
The SPHYSICS code comes with batch files which are used to compile the source code and then run the codes. For example, for Case1 which is supplied with the code (under run_directory), at the command prompt, type:
./Test1.bat
The code has been validated for a number of different test cases including dam breaks, waves hitting structures, breaking waves at beaches, Poiseuille flow, Couette flow. Interested readers are referred to the following publications for more detailed information Publication list.
A good rule of thumb is that in a commerical code there is a bug every 100 lines of code. If you find a bug in the SPHYSICS code, please let the developers know using the Forum pages (DO NOT email the developers directly!)
For starters you can buy the main developers a drink of beer at the next conference or workshop. Failing that, you can post any new subroutines that you want to share with other users to the Forum pages. Periodically the core developers of SPHYSICS will meet and discuss future developments and directions of SPHYSICS. If your new subroutines are considered to be an invaluable addition to the code, they will be considered for inclusion in the next release version.