Export

fdsreader.export.sim_exporter.export_sim(sim: Simulation, output_dir: str, ordering: Literal['C', 'F'] = 'C')[source]
Exports the 3d arrays to raw binary files with corresponding .yaml meta files.

Warning: This method does not work for large simulations as some internal multiprocess buffers overflow after a few GB of data. Please export the simulation manually using the functions used in this method in separate python instances.

Parameters:
  • sim – The Simulation to export.

  • output_dir – The directory in which to save all files.

  • ordering – Whether to write the data in C or Fortran ordering.

fdsreader.export.slcf_exporter.export_slcf_raw(slc: Slice, output_dir: str, ordering: Literal['C', 'F'] = 'C')[source]

Exports the 3d arrays to raw binary files with corresponding .yaml meta files.

Parameters:
  • slc – The Slice object to export.

  • output_dir – The directory in which to save all files.

  • ordering – Whether to write the data in C or Fortran ordering.

fdsreader.export.obst_exporter.export_obst_raw(obst: Obstruction, output_dir: str, ordering: Literal['C', 'F'] = 'C')[source]

Exports the 3d arrays to raw binary files with corresponding .yaml meta files.

Parameters:
  • obst – The Obstruction object to export including its Boundary data.

  • output_dir – The directory in which to save all files.

  • ordering – Whether to write the data in C or Fortran ordering.

fdsreader.export.smoke3d_exporter.export_smoke_raw(smoke3d: Smoke3D, output_dir: str, ordering: Literal['C', 'F'] = 'C')[source]

Exports the 3d arrays to raw binary files with corresponding .yaml meta files.

Parameters:
  • smoke3d – The Smoke3D object to export.

  • output_dir – The directory in which to save all files.

  • ordering – Whether to write the data in C or Fortran ordering.