Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Fourier transform
Posted 18.11.2016, 09:04 GMT-5 Studies & Solvers Version 5.2 0 Replies
Please login with a confirmed email address before reporting spam
In my project I have a current density J as a result of my studio, which is different from zero only in a little time interval. Now I want to calculate its Fourier transform in order to use it in some integrals, and then transform back the result. The way I implemented this is to define a variable Jf with the following expression:
integrate(J*exp(-i*2*pi*freq*t), t, 0, 100)
It works, but the computation of the integral is very slow. So I'm trying to find out if it exists in COMSOL an implementation of the FFT, maybe with an optimized algorithm which would make the computation faster. I know that there are the studios in the frequency domain, but probably I don't know how to use them because I still haven't found an alternative to writing explicitly the integral.
Thank you very much,
Simone
Hello Simone Trevisan
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.