Skip to content

Align modes analytically using coordinate system with U Axis Line in Circular Waveguides? #5727

Discussion options

You must be logged in to vote

Hi @engineer366 , with the new PyAEDT main is now possible. Next week we will create a new release (0.14.0).

You can see the unit tests:

tests/system/general/test_20_HFSS.py

The alignment and polarity is missed for now directly from the PyAEDT method, but you have 2 options:

Create 2 integration lines:

import ansys.aedt.core

app = ansys.aedt.core.Hfss(solution_type="Modal")

c = aedtapp.modeler.create_circle("XY", [-1.4, -1.6, 0], 1, name="wave_port")

start = [["-1.4mm", "-1.6mm", "0mm"], ["-1.4mm", "-1.6mm", "0mm"]]
end = [["-1.4mm", "-0.6mm", "0mm"], ["-1.4mm", "-2.6mm", "0mm"]]

p = aedtapp.wave_port(c.name, integration_line=[start, end], modes=2)

Define the second line with the mo…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@engineer366
Comment options

@Samuelopez-ansys
Comment options

Answer selected by engineer366
@engineer366
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants