yt_astro_analysis.radmc3d_export.RadMC3DInterface.RadMC3DWriter.write_dust_file

RadMC3DWriter.write_dust_file(field, filename)

This method writes out fields in the format radmc3d needs to compute thermal dust emission. In particular, if you have a field called “DustDensity”, you can write out a dust_density.inp file.

Parameters:
  • field (string) – The name of the field to be written out

  • filename (string) – The name of the file to write the data to. The filenames radmc3d expects for its various modes of operations are described in the radmc3d manual.