Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:1102.027] ZENO: N-body and SPH Simulation Codes

The ZENO software package integrates N-body and SPH simulation codes with a large array of programs to generate initial conditions and analyze numerical simulations. Written in C, the ZENO system is portable between Mac, Linux, and Unix platforms. It is in active use at the Institute for Astronomy (IfA), at NRAO, and possibly elsewhere.

Zeno programs can perform a wide range of simulation and analysis tasks. While many of these programs were first created for specific projects, they embody algorithms of general applicability and embrace a modular design strategy, so existing code is easily applied to new tasks. Major elements of the system include:

  • Structured data file utilities facilitate basic operations on binary data, including import/export of ZENO data to other systems.
  • Snapshot generation routines create particle distributions with various properties. Systems with user-specified density profiles can be realized in collisionless or gaseous form; multiple spherical and disk components may be set up in mutual equilibrium.
  • Snapshot manipulation routines permit the user to sift, sort, and combine particle arrays, translate and rotate particle configurations, and assign new values to data fields associated with each particle.
  • Simulation codes include both pure N-body and combined N-body/SPH programs:

    • Pure N-body codes are available in both uniprocessor and parallel versions.
    • SPH codes offer a wide range of options for gas physics, including isothermal, adiabatic, and radiating models.
  • Snapshot analysis programs calculate temporal averages, evaluate particle statistics, measure shapes and density profiles, compute kinematic properties, and identify and track objects in particle distributions.
  • Visualization programs generate interactive displays and produce still images and videos of particle distributions; the user may specify arbitrary color schemes and viewing transformations.

Code site:
Appears in:

Add this shield to your page
Copy the above HTML to add this shield to your code's website.
Views: 1353