TAGGED: ansys-hfss, fields-calculator, fieldscalculator, hfss
-
-
April 22, 2023 at 11:25 am
Ahmed Abdelraheem
SubscriberIs it possible to use/insert special functions (like spherical Bessel and Hankel) in the HFSS Fields Calculator to perform some advanced postprocessing on the simulation results?
Specifically, I need to make use of the fields calculator's ability to conduct geometrical integrations and field vector operations (such as curl and divergence) but I also need to perform these operations on simulated fields that are modified by special functions (such as spherical Bessel and Hankel). So, if I export the simulated field outside the HFSS, I wouldn't be able to benefit from the fields-calculator operations, and if I stick to the fields-calculator, I can't use the special functions.
-
May 10, 2023 at 2:49 pm
Aymen
Ansys EmployeePyAEDT might be a good starting point here:
https://aedt.docs.pyansys.com/version/stable/-
May 12, 2023 at 2:26 pm
Ahmed Abdelraheem
SubscriberThanks, Aymen, for the suggestion. I already have a code built using PyAEDT to conduct my analysis. However, it seems there is no way of defining special functions (such as spherical bessel or Associated Legender polynomial for example) inside the Fields Calculator. So, my only option is to define these functions in my Python code (using scipy). Now, I need these functions to modify my solution fields (such as the electric field) and then conduct surface and volume integrations. With the way Ansys currently works, I have two options:
1- Export the fields out: this means I'll have to write a code for Divergence, Curl, and Surface and Volume Integrations (which is structure dependent). So my code needs to change every time I change the structure.
2- Insert these special functions in the Fields Calculator: which was my question in the first place. HOW?
If you think I am missing something, please point it out. Thanks!
-
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- simulation completed with execution error on server
- Maxwell, HFSS or Q3D?
- How to export Ansys Maxwell simulation results for post-processing in matlab or in .csv file
- Unable to assign correctly the excitations in a coil
- Running ANSYS HFSS on the HPC (it runs on Linux only)
- Intersect errors with model with complex structure
- Running ANSYS HFSS on multiple nodes on SLURM based cluster
- Error
- HFSS: reset marker legend dimensions.
- Process ‘3dtds’ terminated abnormally
-
5204
-
3281
-
2459
-
1308
-
970
© 2023 Copyright ANSYS, Inc. All rights reserved.