-
-
July 30, 2023 at 5:45 pm
Ata Vafi
SubscriberI am using the IronPython command to assign lumped port excitation in Ansys HFSS. During this process, I encountered an issue with setting the starting and ending points using variables in the script. It seems that the command only accepts constants and does not work with variables.
I want to define the starting point as [$x1, $y1, $z1], and the end point as [$x2, $y2, $z2], by writing these equations in the expression. However, when I attempt this approach, Ansys HFSS reports an error saying, "Length of port lines must be greater than 0." Strangely, when I replace the variables with their numerical values, the command works successfully. Does anyone have experience with this issue or know how to resolve it?Your help would be greatly appreciated!
-
July 31, 2023 at 3:20 pm
Aymen Mzoughi
Ansys EmployeeIt is easier to use PyAEDT to accomplish this task.
https://aedt.docs.pyansys.com/version/stable/Getting_started/index.html
-
- The topic ‘Using Variables for Lumped Port Excitation in HFSS’ is closed to new replies.
- Y wiring method and the start and end points of winding.
- Lumped Port Deembed
- Optimizing Via Impedance in Ansys HFSS 3D Layout Using Geometric Parameter Sweep
- Hfss 3D pcb via capped and filled with epoxy
- AEDT Natural Convection with default correlation is failing solver initializatio
- HFSS libnvidia-ml.so too old or could not be found – Warning in slurm job output
- Three-Phase Voltage Imbalances in dual stator electric generator
- STL Import Errors in HFSS After Cleaning in SpaceClaim
- Calc Error in Field Calculator after PyAEDT Analyze
- import file autocad 3d
-
3882
-
1414
-
1241
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.