Fourier transform in NGSolve

More
3 years 7 months 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 7 months 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 7 months 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.127 seconds