pencil.diag.particle.gas_velco_at_particle_pos

Functions

gas_velo_at_particle_pos([varfiles, sim, scheme, ...])

This script calulates the gas velocity at the particle position and stores this together

Module Contents

pencil.diag.particle.gas_velco_at_particle_pos.gas_velo_at_particle_pos(varfiles='last4', sim=False, scheme='tsc', use_IDL=False, OVERWRITE=False)

This script calulates the gas velocity at the particle position and stores this together with particle position, containing grid cell idicies, particle velocities, and particle index in a gas_velo_at_particle_pos file.

Parameters:
  • varfiles – specifiy varfiles for calculation, e.g. ‘last’, ‘first’, ‘all’, ‘VAR###’, ‘last4’, ‘first3’

  • scheme – possible are: - ngp: nearest grid point - cic: cloud in cell - tsc: triangular shaped cloud

  • OVERWRITE – set to True to overwrite already calculated results