ansys / pyprimemesh

Pythonic Meshing Client for Ansys Prime Server
https://prime.docs.pyansys.com/
MIT License
19 stars 9 forks source link

Zone scope definition not resolved correctly in PrimePlotter #830

Closed waltersma closed 2 weeks ago

waltersma commented 1 month ago

🔍 Before submitting the issue

🐞 Description of the bug

Incorrect face zonelets displayed in Example.

Following scope definition for zones is not resolving to the intended faces:

for zone in part.get_face_zones():
    print(model.get_zone_name(zone))
    scope = prime.ScopeDefinition(
        model,
        evaluation_type=prime.ScopeEvaluationType.ZONES,
        zone_expression=model.get_zone_name(zone),
    )
    display = PrimePlotter()
    display.add_scope(model, scope)
    display.show()

📝 Steps to reproduce

Run the linked example case until the final display code section quoted.

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

24.2.0

🐍 Which Python version are you using?

3.10

📦 Installed packages

Running CI/CD.
waltersma commented 1 month ago

Summary of issues noted:

AlejandroFernandezLuces commented 2 weeks ago

Closed by #851 and #861