-
-
July 30, 2023 at 5:15 pm
Ata Vafi
SubscriberCurrently, I am working on implementing a geometry and I have encountered an expression involving a cumulative sum operation. To efficiently implement this in Ansys HFSS, I came across the built-in function called 'cum_sum.'
However, I am unsure about the proper usage of 'cum_sum' integration of it with my user-defined functions effectively for my simulation in Ansys HFSS. Does anyone know how this function should be used, and what are the inputs to this function?
To provide an example of what I'm trying to achieve: I want to calculate the sum of i^2, where 'i' ranges from 0 to some variable 'N'. Could someone please help me understand how to properly utilize the 'cum_sum' function for this purpose in Ansys HFSS?Thank you for your help!
-
July 31, 2023 at 3:29 pm
Aymen Mzoughi
Ansys EmployeeThe cumulative sum function returns a data set that has the same length as the original set of points. Element I of the set returned by cum_sum is the sum of elements 1 through I of the original data set.
Try to play a bit with this function and see what it outputs depending on your data.-
August 1, 2023 at 8:15 pm
Ata Vafi
Subscriber@Aymen: The information you provided can be found in the HFSS help and other sources as well. Since you are an Ansys employee, I was hoping for a more specific and detailed answer from you. I have spent a considerable amount of time trying to figure it out myself, which is why I reached out here for some authentic assistance. It would be much more helpful if you could provide me with some practical examples that demonstrate the usage of the function. Simply directing me to experiment with the software isn’t enough.
-
-
August 1, 2023 at 5:23 am
Ata Vafi
Subscriber.
-
- The topic ‘How to Use cum_sum Function in Ansys 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
-
3862
-
1414
-
1241
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.