SpaceClaim named selections are usually exported as labels in pyprimemesh. When exporting to CDB file, those labels are converted to CM objects. This however does not work if the named selection is generated from a solid. This prevents from selecting different solids in the mesh, and thus to apply different material properties to solid entities. Any work-around to get solid-wise element/node lists would be appreciated.
below is output of print(model) in stdout after CAD import
Part Name: dummy_geometry
Part ID: 2
4 Topo Edges
6 Topo Faces
2 Topo Volumes
0 Edge Zones
Edge Zone Name(s) : []
0 Face Zones
Face Zone Name(s) : []
2 Volume Zones
Volume Zone Name(s) : [corps1, corps2]
3 Label(s)
Names: [face_ns, other_solid_ns, solid_ns]
Bounding box (-11.1803 -11.1803 0)
(11.1803 11.1803 30)
=====================
Below is output of pymapdl output of cmlist command
WARNING: PRE-RELEASE VERSION OF MAPDL 23.2BETA
ANSYS,INC TESTING IS NOT COMPLETE - CHECK RESULTS CAREFULLY
NAME TYPE SUBCOMPONENTS
FACE_NS NODE
📝 Steps to reproduce
make a simple geometry in SpaceClaim (23R2)
In this geometry create two types of named selection : one of a face and one of a volume
Save the geometry and mesh it using pyprimemesh
Export it using the export_mapdl_cdb function
Read it using MAPDL and run the command cmlist
Only the surface named selection cm object will be shown
🔍 Before submitting the issue
🐞 Description of the bug
SpaceClaim named selections are usually exported as labels in pyprimemesh. When exporting to CDB file, those labels are converted to CM objects. This however does not work if the named selection is generated from a solid. This prevents from selecting different solids in the mesh, and thus to apply different material properties to solid entities. Any work-around to get solid-wise element/node lists would be appreciated. below is output of print(model) in stdout after CAD import
Part Name: dummy_geometry Part ID: 2 4 Topo Edges 6 Topo Faces 2 Topo Volumes
===================== Below is output of pymapdl output of cmlist command WARNING: PRE-RELEASE VERSION OF MAPDL 23.2BETA ANSYS,INC TESTING IS NOT COMPLETE - CHECK RESULTS CAREFULLY
FACE_NS NODE
📝 Steps to reproduce
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
23R2 prerelease
🐍 Which Python version are you using?
3.8
📦 Installed packages