-
-
July 11, 2022 at 3:00 pm
Karthik Remella
AdministratorHello,
Posting this question on behalf of a user.
I am simulating a single period of a periodic structure (a periodic waveguide) with primary/secondary boundary conditions and sweeping the phase on the second boundary to get a plot of the dispersion curves as a function of the swept phase. Â There are a few quantities I would like to extract from this simulation at a particular phase including the complex-valued electric field, the electric field's phase along the beam tunnel axis, and the power through the beam tunnel's cross-section. Â The issue I'm running into is that these values are functions of the phase advance in space (i.e., k*z) across the periodic waveguide, but the HFSS stack calculator's definition of "phase" is the phase in time (i.e., omega*t), so I am unable to figure out how to use a specific spatial phase (the phase I swept in the simulation using "Optimetrics") in my calculations. Â The swept phase is a project variable I defined and when electing to sweep it parametrically, I do click the "Save Fields" box under the "Optimtrics" menu. Â For this reason, I do believe the information I need has been calculated, I just cannot figure out a way to extract it correctly. Â I have been struggling to find an answer in the HFSS user manual, as well.
Â
I found a way around this issue by not sweeping the phase, but instead, by choosing a single phase and running an entirely separate simulation; however, this is incredibly time consuming and inefficient. Â I need to be able to extract this data/perform the aforementioned calculations for a number of discrete phases.
Â
Any help/suggestions regarding this topic would be greatly appreciated! -
July 11, 2022 at 6:48 pm
kuhnk
SubscriberI am having the issue described above. I was unable to post it myself as I am having trouble with the Ansys Learning Forum, so I thank Karthik for posting it for me!
-
July 11, 2022 at 7:57 pm
JS
Ansys EmployeeHi Kuknik,
HFSS is solving a finitie element solution for the complex phaser vs frequency. Phase is a post-processing variable and can be cahnged to show new fields in the geometry.
After solution in HFSS you can change the source excitation phase in post porcessing through the HFSS menus:
HFSS > Fields > Edit Sources
Once the new excitation phase is set, the complex phaser solution in the fields calcuator will be updated to the resultant fields for a specific phase excitation. This way, you don't need to run a new simulation for each phase. The discrete sweep can be used o solve at specific frequcies where you want to save the fields and do phase excittion post-processing.
Jim Sherman
Ansys
Â
Â
Â
-
July 16, 2022 at 6:24 pm
kuhnk
SubscriberJim,
Thank you for the information! I apologize for the late response; I have been very busy and I am working on implementing your suggestion now.
- Kyle
-
-
- The topic ‘HFSS Parametric Sweep Post-Processing with Primary/Secondary Boundary Conditions’ is closed to new replies.
-
3587
-
1193
-
1086
-
1068
-
952
© 2025 Copyright ANSYS, Inc. All rights reserved.