CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Frequency domain solver (http://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

Thanks jdv for this reply.
I was not aware about this lack dealing with complex fields. The major issue I encounter with OpenFoam is when I want to use cfd results (pre-computed flow fields with icoFoam for instance) as inputs for acoustic computation (a kind of Direct Numerical Simulation of Navier-Stokes-Fourier equations).
Maybe someone knows if it is easy to handle this kind of process within OpenFoam ?

For the question of time to frequency domain, I chose to make a time domain simulation and compute the DFT as post-processing step.

Thanks ;)


All times are GMT -4. The time now is 19:24.