wiki:ParticleData

Version 4 (modified by trac, 12 years ago) ( diff )

redirect(ParticleDataExplained)

Back to BearclawOutline

The particle.data file

The particle.data file contains different namelists relating to the setup of initial particles in the grid. For information about initializing particles within a module see the Bondi Module

SinkData

  • NrSinkParticles: The number of initial particles described in the particle.data file


Then for each initial particle there follows a namelist that describes the following:

SinkParticleData

  • ParticleData%mass: The mass of the particle in grams
  • ParticleData%xloc: The location of the particle in computational units
  • ParticleData%vel: The velocity of the particle in computational units
  • ParticleData%radius: The radius of the particle region in terms of finest grid cell widths
  • ParticleData%lFixed: Is the particle fixed or free to move under gravity or initial velocity
  • ParticleData%iRoutine: Which routine does the particle use to update its surrounding region. (0 is Accretion, 1 is Free Inflow (interpolation), 3 uses the Outflow Module and 4 uses the Bondi Module.


See a sample particle.data file

contrib/astro/sample_data_files/particle.data


Note: See TracWiki for help on using the wiki.