Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Fourier transform in NGSolve

More
3 years 3 weeks ago #3639 by paul.stocker
Hello everyone!

I was wondering if there was any best way to get the FFT from a GridFunction in NGSolve?

Best,
Paul
More
3 years 3 weeks ago #3640 by joachim
Hm ...

what do you assume from you mesh and your space ?
with structured meshes and Nodal-P1 you can take your coefficient vector and fead it into Python - FFT

otherwise, you have to evaluate your GridFunction on a regular grid of points (using geometric search) first.

Joachim
The following user(s) said Thank You: paul.stocker
More
3 years 3 weeks ago #3641 by joachim
Hm ...

what do you assume from you mesh and your space ?
with structured meshes and Nodal-P1 you can take your coefficient vector and fead it into Python - FFT

otherwise, you have to evaluate your GridFunction on a regular grid of points (using geometric search) first.

Joachim
The following user(s) said Thank You: paul.stocker
Time to create page: 0.149 seconds