BasicTools.IO.AnsysWriter module
Ansys CDB format writer
- BasicTools.IO.AnsysWriter.ExportElementTagInCDBFormat(mesh, tagname, filename=None, append=False)[source]
Functions to export one element tag as Ansys CDB format. It uses the originals ids
- Parameters:
mesh (UnstructuredMesh) – mesh from which elements ids for each tag are searched
tagname (str) – element tag
filename (str, optional) – filename in CDB format where the element ids for the provided tag are exported, by default None
append (str, optional) – selects if the info is appended to the file (a+) or overwritten (w or False), by default False
- BasicTools.IO.AnsysWriter.ExportElementTagsInCDBFormat(mesh, tagnames, filename=None)[source]
Function to export multiple elements tags to Ansys CDB format
- Parameters:
mesh (UnstructuredMesh) – mesh from which elements ids for each tag are searched
tagnames (list[str]) – list of element tags
filename (str, optional) – filename in CDB format where the element ids for each tag are exported, by default None