TAGGED: ansys-hfss, pyansys
-
-
July 28, 2025 at 6:47 am
sakiratakan.kahyaoglu
SubscriberHi, 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. -
July 31, 2025 at 12:44 pm
Chinmay T
Forum ModeratorHi,
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
-
- You must be logged in to reply to this topic.
-
3567
-
1118
-
1063
-
1050
-
952
© 2025 Copyright ANSYS, Inc. All rights reserved.