desc.external.paraview.export_coils_to_paraview

desc.external.paraview.export_coils_to_paraview(coils, filename, res=100, keys=[])Source

Export coils data for Paraview as VTP files.

Parameters:
  • coils (Coil, CoilSet, MixedCoilSet) – Object to be exported. Can be a single coil or multiple coils given as CoilSet or MixedCoilSet.

  • filename (str) – Name for the saved file. The file extension will be .vtp. If there are multiple coils, an index will be appended to the given name.

  • res (int) – The resolution to use for all coils. Defaults to 100 points around a single coil.

  • keys (list of str) – Additional data to store in the file. By default, only the current corresponding to each coil is stored.