The number of entities observed in the CDB mesh file is incorrect, (APS 937703)
Before writing CDB
Printing model
Part Summary:
Part Name: pyprime_block_import
Part ID: 2
17 Topo Edges
8 Topo Faces
1 Topo Volumes
0 Edge Zones
Edge Zone Name(s) : []
0 Face Zones
Face Zone Name(s) : []
1 Volume Zones
Volume Zone Name(s) : [solid]
1 Label(s)
Names: [my_group]
Bounding box (-16 0 -17)
(12 28 11)
The CDB file shows after reading to PyPrimeMesh
Part Summary: <----Missing Part Name
Part Name:
Part ID: 2
0 Edge Zonelets
3 Face Zonelets <----Extra Face Zonelet
2 Cell Zonelets <----Extra CellZonelet
0 Edge Zones
Edge Zone Name(s) : []
0 Face Zones
Face Zone Name(s) : []
2 Volume Zones
Volume Zone Name(s) : [volume, volume.1] <---- Extra Volume Zone
1 Label(s)
Names: [my_group]
Bounding box (-16 0 -17)
(12 28 11)
📝 Steps to reproduce
Run following code:
from ansys.meshing import prime
with prime.launch_prime() as client :
model = client.model
mesher = prime.lucid.Mesh(model)
mesher.read(file_name=prime.examples.download_block_model_fmd())
mesher.surface_mesh(min_size=2.0)
mesher.volume_mesh()
mesher.write("test.cdb")
print(model)
mesher.read("test.cdb")
print(model)
🔍 Before submitting the issue
🐞 Description of the bug
The number of entities observed in the CDB mesh file is incorrect, (APS 937703)
Before writing CDB Printing model
Part Summary:
Part Name: pyprime_block_import Part ID: 2 17 Topo Edges 8 Topo Faces 1 Topo Volumes
The CDB file shows after reading to PyPrimeMesh Part Summary: <----Missing Part Name
Part Name: Part ID: 2 0 Edge Zonelets 3 Face Zonelets <----Extra Face Zonelet 2 Cell Zonelets <----Extra CellZonelet
📝 Steps to reproduce
Run following code:
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
24R1
🐍 Which Python version are you using?
3.8
📦 Installed packages