write#

Mesh.write(file_name)#

Write or export files of different formats based on file extensions.

This method supports writing and exporting these file formats:

  • Writing PyPrimeMesh’s native PMDAT files

  • Exporting Fluent Meshing’s MSH files

  • Exporting Fluent’s CAS files

  • Exporting MAPDL’s CDB files.

  • Exporting STL files.

Parameters:
file_namestr

Path of the file to write or export.