Quantcast
Channel: Solving, solving\ - Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 3988

Fourier transform

$
0
0
Hello everybody,

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

Viewing all articles
Browse latest Browse all 3988

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>