-->
SPHYSICS FAQ

From SPHYSICS

(Difference between revisions)
Jump to: navigation, search
(For which cases has SPHYSICS been validated?)
(How do I run SPHYSICS on Linux)
Line 46: Line 46:
 
=== How do I run SPHYSICS on Linux ===
 
=== How do I run SPHYSICS on Linux ===
  
 +
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
  
 
=== How do I visualize the results? ===
 
=== How do I visualize the results? ===

Revision as of 15:53, 31 July 2007

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:


  1. What is SPHYSICS and what can it do?
  2. Where can I download SPHYSICS?
  3. Who wrote SPHYSICS?
  4. What platforms does SPHYSICS run on?
  5. How do I run SPHYSICS on windows?
  6. How do I run SPHYSICS on Linux
  7. How do I visualize the results?
  8. For which cases has SPHYSICS been validated?
  9. What if I find a bug in the code?
  10. How can I contribute to the development of SPHYSICS?


What is SPHYSICS and what can it do?

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.

Where can I download SPHYSICS?

Please see the Downloads Page.

Who wrote SPHYSICS?

SPHYSICS was written by a number of contributors from universities from around the world.....

What platforms does SPHYSICS run on?

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: (Alex what compiler and IDE did you use?)

Linux: GPL gfortran compiler, Intel fortran compiler

Mac: GPL gfortran

How do I run SPHYSICS on windows?

How do I run SPHYSICS on Linux

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

How do I visualize the results?

For which cases has SPHYSICS been validated?

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.

What if I find a bug in the code?

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!)

How can I contribute to the development of SPHYSICS?

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.