March 18, 2023 at 11:31 pmlaritoSubscriber
I was wondering if we can define complex numbers in "Named expressions". i would like to implement the following expression
Re(390e^(4,56it)) i is the imaginary unit and t is the time and Re is indicating that I want the real part of this complex number for each t. My math are very rusty so I am not sure if I can implement it in a different way. Any advice will be much appreciated.
March 20, 2023 at 9:18 amNFLynnSubscriber
Is there a reason why you cannot just change it to cosine? See here for the Euler notation.
March 20, 2023 at 3:19 pmlaritoSubscriber
Hello NFlynn thank you for the answer,
I made that realization few moments after I posted this. It has been a while since I have done something similar 😅
March 20, 2023 at 9:41 amRobAnsys Employee
I'm keeping out of the maths, thanks NFlynn! The question is really why do you need imaginary numbers: expressions tend to be used to report a value or set something and that tends to be "real". I've only ever seen imaginary numbers in control theory (lesson learnt - find a specialist) and the electrickery tools in Ansys (always find an expert!).
March 20, 2023 at 3:20 pmlaritoSubscriber
Thank you for the fast reply :)
- 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.
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.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
© 2023 Copyright ANSYS, Inc. All rights reserved.