Mario Alberto Rodríguez-Meza
Numerical simulations with NagBody

NagBody (Numerical Algorithms for General Body Dynamics) - or Physics with particles

  • Codes forming NagBody
    • General N-body codes:
      • nbody_n2 - simple code to evolve a self-gravitating N-body system. Direct force computation is done. Complexity (N*N).
      • models - code to generate various models: Plummer sphere, isothermal sphere, uniform gas sphere with an azimuthal perturbation, among others.
      • analysis_grav - code to analyze snapshot data.
      • pnbody - parallel code to evolve general N-body systems.
    • Code to simulate galactic dynamics:
      • galaxy_models.
      • pgalaxy.
      • analysis_galaxy.
    • Codes to simulate galactic dynamics under the influence of scalar fields in its Newtonian limit:
      • gbsph - Hierarquical genereal body and smoothed particle hydrodynamics.
      • pgalaxy - modified parallel gadget code to include the scalar field contribution.
      • pnbody - parallel code to evolve general N-body systems. It has in particular a Yukawa type of force which comes from the Newtonian limit a scalar-tensor theory.
    • Codes for simulations of cosmological fluids under the influence of scalar fields in its Newtonian limit:
      • pcosmos - modified gadget code to include the scalar field contribution.
    • Smoothed particle hydrodynamics codes:
      • gbsph - Hierarquical genereal body and smoothed particle hydrodynamics.
      • sph_sf - SPH code to evolve baryonic matter that include the effects of scalar fields.
    • Molecular dynamics codes to simulate a Lennard-Jones liquid:
      • md_lj_n2 - Direct force calculation for molecular dynamics simulation of a Lennard-Jones liquid.
      • md_lj_tree - Hierarquical force calculation for molecular dynamics simulation of a Lennard-Jones liquid.
      • md_blj_tree - Hierarquical force calculation for molecuar dynamics simulation of a binnary liquid. In particular, a Lennard-Jones liquid. A particular force can be given as data table.
      • pmd_lj - parallel code for molecular dynamics simulation of a Lennard-Jones liquid.
      • analysis_md - code to analyze snapshot data.
    • Visualization codes:
      • nplot2d - a code to make 2D plots. It is based on the plplot library.
      • nplot3d - a code to make 3D plots. It is based on the plplot library.
  • Some movies of simulations of galaxy collisions are at:

As soon as other codes, forming the NagBody project, are ready will be posted in this page.