|
[Sponsors] |
April 10, 2023, 12:04 |
FFT in OpenFOAM
|
#1 |
New Member
Sreehari Perumanath
Join Date: Jun 2022
Posts: 28
Rep Power: 4 |
Dear Foamers,
Hope your'e having a good time. I'm using OF9 to simulate my system, which has a 3D cubic geometry with cyclic bc in all directions. I need to evaluate the 3D Fourier Transform of temperature field in my system. I want to evaluate this on-the-fly to avoid writing output to the case directory that would eat up my storage space. Has anyone had any experience with performing FFT in OF? I don't think the forum contains much helpful discussions. If you have, could you please share the snippet here? It would be very helpful. For starters, I'm confused about the type of the field T_hat that is the Fourier transform of my T field. I assume this would be complexField. But I get an error when I use this: calculated number of cells is incorrect. Many thanks, SP |
|
April 13, 2023, 17:39 |
|
#2 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Some code under src/randomProcesses/noise/noiseFFT that might be useful.
|
|
Tags |
fftw, fourier transform |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FFT in OpenFOAM | Hisham | OpenFOAM Programming & Development | 15 | January 9, 2017 11:14 |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 15:24 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 06:56 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |