Electronics

Electronics

Topics related to HFSS, Maxwell, SIwave, Icepak, Electronics Enterprise and more.

PyAEDT and Far-Field Data

    • sakiratakan.kahyaoglu
      Subscriber

      Hi, I am having trouble about getting the simulation results of far field analysis from HFSS via pyaedt. My design is a simple rectangular patch antenna. Please note that I would like to get the results and plot the graph on my own. I have successfully done it for Return Loss but I can not do it for radiation pattern in 2D. The relevant part of my code is as follows:

      hfss.insert_infinite_sphere(
      definition="Theta-Phi", # String
      x_start=-180,
      x_stop=180,
      x_step=5,
      y_start=0,
      y_stop=360,
      y_step=5,
      units="deg",
      name="Infinite_Sphere1"
      )
      ff_data = hfss.post.get_solution_data(
      expressions=["rETotal"],
      variations={"Phi": ["0deg"], "Freq": ["2.4GHz"]},
      context="Infinite_Sphere1",
      report_category="Radiation",
      primary_sweep_variable="Theta"
      )
      No matter what I do, I either get AttributeError or once I try to plot I get a blank graph.
      Please help.

    • Chinmay T
      Forum Moderator

      Hi,

      Thank you for reaching out to the Ansys learning forum.

      Please note that the queries related to PyAEDT cannot be discussed in this forum as there is a dedicated forum. Kindly reach out to - Ansys Developer Portal | Ansys Developer Portal.

      I hope this helps.

      Thanks,
      Chinmay

Viewing 1 reply thread
  • You must be logged in to reply to this topic.