TAGGED: ansys-hfss, hfss, HFSS
-
-
March 3, 2023 at 10:59 am
ZiadHatab
SubscriberHi!
I want to create a user defined function that I can evaluate inside variables. For example, I want to create a dieletric constant profile that uses logical statements and for-loops. So, basically, I want to script a function within HFSS and call it later inside a variable, similar as if I'm calling any built-in function (e.g., max(), tan(), abs() .... ), but now my function: myFunction().I looked in the scripting help menu, but I couldn't understand it. I would appreciate a simple working example. I'm programming primarily in Python, but I don't mind other programming languages as my custom function uses basic logic statmemt and for-loops and some simple math expressions.Thanks!
Ziad
-
- 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
- How to export Ansys Maxwell simulation results for post-processing in matlab or in .csv file
- Maxwell, HFSS or Q3D?
- Unable to assign correctly the excitations in a coil
- Signing up as ANSYS Support Coordinator
- 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.
-
3852
-
2629
-
1859
-
1252
-
600
© 2023 Copyright ANSYS, Inc. All rights reserved.