phon.io_tools.write package¶
Submodules¶
phon.io.write.export_to_abaqus module¶
-
phon.io_tools.write.export_to_abaqus.
export_to_abaqus
(filename, mesh, write_2d_elements, f=None)[source]¶ Writes a mesh to a file in a format such that Abaqus can read it.
Parameters: - filename (string) – Path to the file to write the mesh to.
- mesh (
Mesh
) – The mesh to write to the file. - write_2d_elements (boolean) – Determines if two dimensional elements and element sets should be written to the file.
- f (file object) – If given as an argument the mesh is appended to this file instead of opening a new one.
phon.io_tools.write.export_to_oofem module¶
-
phon.io_tools.write.export_to_oofem.
export_to_oofem
(filename, mesh, write_2d_elements)[source]¶ Writes a mesh to a file in a format that OOFEM uses.
Parameters: - filename (string) – Path to the file to write the mesh to.
- mesh (
Mesh
) – The mesh to write to the file. - write_2d_elements (boolean) – Determines if two dimensional elements and element sets should be written to the file.