question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Release of Ansys client in Q3D and HFSS Renderers

See original GitHub issue

Information

  • Qiskit Metal version:
  • Python version: 3.7.8
  • Operating system: Windows

What is the current behavior?

No functionality to disconnect from HFSS or Q3D at the renderer level. Release is handled in the pinfo from pyEPR and only for Ansys renderers. This causes Ansys to not be able to close except through the task manager.

Steps to reproduce the problem

Create a project in HFSS or Q3D using q3d = design.renderers.q3d or hfss = design.renderers.hfss

Open a connection to Ansys using

q3d.open_ansys_design() or hfss.open_ansys_design()

Try to close Ansys manually once a connection is successfully established.

There are no high level commands to terminate this connection at the level of the renderer.

The HFSS project can be closed with hfss.pinfo.disconnect() which is built into pyEPR, but performing such on a Q3D project results in an error saying that there is no HFSS session added. This is due to an assert clause in the disconnect function of pyEPR requiring an HFSS setup to be connected to.

What is the expected behavior?

The renderer for both HFSS and Q3D should have a function to close the connection to a project and release it for the user.

Suggested solutions

The connection to the Ansys server could be moved up in the hierarchy to the Ansys renderer, or add a change to pyEPR to better handle the deliniation between HFSS and Q3D

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
marcolincscommented, Sep 10, 2021

There does not seem to be an easy way to do this. Current plan is to wait for the conversion to the official Ansys pyAEDT library and see if the problem goes away. @warrench , any thoughts/preferences?

0reactions
priti-ashvin-shah-ibmcommented, Mar 2, 2021

I made a comment in issue #212 which supports the idea of no comm errors in vscode, but did get in notebook.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ansys 2022 R2 Release Highlights
The 2022 R2 release provides powerful capabilities that speed time to result, improve simulation accuracy, and expand interoperability with other Ansys ...
Read more >
qiskit_metal.renderers.renderer_ansys.ansys_renderer
Try executing hfss.connect_ansys(), or creating a new Ansys project. " "Also check the help file and other guide notebooks") else ...
Read more >
Best Practices for Maximizing HFSS Performance During ...
Higher speeds, denser layouts and tighter design constraints demand the use of full-wave 3D electromagnetic field solvers for complex ECAD ...
Read more >
Ansys 2022 R2 Highlights - Ozen Engineering, Inc
Ansys 2022 R2 is available for download from the Ansys Customer ... to take an Ansys HFSS/Maxwell/Q3D Extractor Design and automatically ...
Read more >
ANSYS Release 2021 R2 - LEAP Australia
Ansys Mechanical Thermal solver is now available inside AEDT for a streamlined workflow, linking EM designs from HFSS, Maxwell and Ansys Q3D for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found