CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Frequency domain solver (https://www.cfd-online.com/Forums/openfoam-programming-development/98387-frequency-domain-solver.html)

 yogzebul March 9, 2012 11:14

Frequency domain solver

Hello there,

I wonder if it is possible to create an OpenFoam solver able to solve a wave propagation equation (for example Helmholtz wave equation) in frequency domain.
I know the potentialWaveFoam solver is able to solve the wave equation in time domain. But I'm only interested in stationnary wave problems and maybe someone knows if it's possible to change OpenFoam from time to frequency domain...:confused:

[up]...thanks

 jdv May 21, 2012 09:07

Quote:
 Originally Posted by yogzebul (Post 348574) Hello there, I wonder if it is possible to create an OpenFoam solver able to solve a wave propagation equation (for example Helmholtz wave equation) in frequency domain. I know the potentialWaveFoam solver is able to solve the wave equation in time domain. But I'm only interested in stationnary wave problems and maybe someone knows if it's possible to change OpenFoam from time to frequency domain...:confused: [up]...thanks
This is a late reply, but I wanted to share my experiences. I have attempted to use OpenFOAM as a Helmholtz solver, but did not have much success. The basic problem is the lack of a solver for complex fields. One approach is to try to solve the real and imaginary parts as separate fields, but in my experience that didn't lead anywhere. Another approach would be to use the coupled solver functionality from openfoam-extend, but that still requires some hacking if you want coupling at the boundaries (for example for matched boundary conditions).

I ended up using the Helmholtz solver from Elmer instead of OpenFOAM.

 yogzebul May 21, 2012 10:03