CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

OpenFOAM for Acoustics

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 30, 2007, 01:25
Default Dear All Is OpenFOAM suitab
  #1
tog
New Member
 
Guillaume Alleon
Join Date: Mar 2009
Posts: 3
Rep Power: 8
tog is on a distinguished road
Dear All

Is OpenFOAM suitable for exterior acoustics problem ? Is there some examples describing this ?

Cheers
Guillaume
tog is offline   Reply With Quote

Old   October 30, 2007, 04:44
Default Hi Guillaume, If you mean pur
  #2
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Hi Guillaume,
If you mean pure linear acoustics (not aeroacoustics), I'm using it for acoustics, but for interior problems. The reason I use OF only for interior problems is that as of now I don't have a good nonreflective boundary condition code. If we have a good nonreflective b. c. I'm sure OF can also be a powerful tool for exterior acoustics.

What kind of exterior problems are you interested in?

Takuya
7islands is offline   Reply With Quote

Old   October 20, 2008, 14:28
Default Hi Takuya I need to develo
  #3
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 165
Rep Power: 8
nishant_hull is on a distinguished road
Hi Takuya

I need to develop a non-reflective boundary condition for aeroacoustic low mach number problem. I am planning to write a code for non-reflective boundary condition. How difficult it could be? Is there anything similar to this going on in this community? I searched the forum and just find your work somewhat relevant. Could you please guide me how to do it? I know C++ quite well but I need to understand the structure of the relevant section of the code well.

regards,
Nishant
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   October 20, 2008, 21:28
Default Hi Nishant, As I'll just be
  #4
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Hi Nishant,

As I'll just be starting next month some works w.r.t. low mach number (very low, Ma < 0.1) exterior sound propagation I'm also now looking for literature about nonreflective boundary conditions that look promising for finite-volume unstructured grids. So in fact your question is my question too Do you have any interesting literature about it?

So far I only have a b.c. that is useful only for predefined incidence vectors (convectiveOutlet).

Looking through this forum Ivan Flaminio Cozza seems to be trying to solve linearized Euler equations with PML so I guess he could share our interest too?

Takuya
7islands is offline   Reply With Quote

Old   October 21, 2008, 02:48
Default Hi, Have any of you guys tr
  #5
Member
 
lillberg's Avatar
 
Eric Lillberg
Join Date: Mar 2009
Location: Stockholm
Posts: 80
Rep Power: 8
lillberg is on a distinguished road
Send a message via Skype™ to lillberg
Hi,

Have any of you guys tried the waveTransmissive boundary condition in OpenFOAM? It has worked quite well for me for low mach number vortex induced accoustics(Ma = 0.1-0.2) using compressible solvers.

Regards

/Eric
lillberg is offline   Reply With Quote

Old   October 21, 2008, 03:02
Default Hi guys! Just yesterday I suc
  #6
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 207
Rep Power: 9
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
Hi guys!
Just yesterday I succeeded in coding a PML boundary condition for the Linearized Euler Equation, so now I think the real big problem for aeroacoustics in OF are the high order non dispersive schemes.
Did someone have allerady do some work in it?
I'm having a look around for some DRP-FV schemes, but all of these are for structured grid, with a large stencil, it's possible to reproduce it in OF?
Have a nice day,
Ivan
ivan_cozza is offline   Reply With Quote

Old   October 21, 2008, 06:34
Default Hi, @Eric: Thanks for the s
  #7
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Hi,

@Eric: Thanks for the suggestion. However as far as I understand from the code I guess it also has strong dependence in acoustic wave incidence directions, which is not good for my case. If I go that way I would at least have to find a way to properly tweak the sqrt(gamma_/psip) term. But can't be said for sure, anyhow I will test it.

@Ivan: I also had a bit of interest in such schemes around a year ago but just gave up after having had exactly the same problem. Now I'm interested in what you'll find...!

Takuya
7islands is offline   Reply With Quote

Old   October 21, 2008, 10:53
Default Takuya, what kind of schemes
  #8
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 207
Rep Power: 9
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
Takuya,
what kind of schemes are you using in your LEE computation now? I've just finished the LEE solver, and I'm doing some classical benchmark case like the gaussian pulse and the monopole, and I'm usin gauss linear scheme, if I try wit gauss cubic (that should be 4th order, if I've understood), there are big ossilations and the solution are not symmetrycal.
So I think that some High Order Scheme implementation is the next step for doing CAA in OpenFOAM...
ivan_cozza is offline   Reply With Quote

Old   October 21, 2008, 14:06
Default @takuya.. Its nice to know th
  #9
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 165
Rep Power: 8
nishant_hull is on a distinguished road
@takuya..
Its nice to know that somebody is already working on the same area and also have the same motivtion to work on. Hope we can find out a way to go ahead. I have downloaded some article on non-reflective boundary condition. I have some articles on NSCBC (nav stoke charc. bound. condn) and their implementation to some practical problems. If you need them then let me know, I will send it to ur email.

@Ivan: PML also seems to be interesting. I would be interested to see how it could be implemented to OpenFoam. I would be glad if you like me to investigate some part of your problem. i will definitely need some directions from you to start with.
regards,

Nishant
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   October 22, 2008, 04:05
Default Hi, @Ivan: At this stage ev
  #10
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Hi,

@Ivan: At this stage everything is still preliminary (I still do not have a working solver). Though what is somewhat clear is that, as in my case the mach number is very very low I'm planning to use a simplified form of LEE assuming adiabatic and barotropic field [1]. If it is to be implemented in a finite-difference staggered mesh it will most likely be a trivial task that can be done with 2nd order schemes [2]. But I'm still not sure how it should be implemented in finite-volume unstructured and collocated system. There may be a chance I also need such high order schemes.

@Nishant: Ivan showed some interesting hints in another thread. I think the thread can be of help to you as well.

[1] R. Blumrich and D. Heimann, J. of Acoustical Society of America, 446-, 2002
[2] T. Van Renterghem and D. Botteldooren, Applied Acoustics, 201-, 2007
7islands is offline   Reply With Quote

Old   October 27, 2008, 03:04
Default Hi, @Takuya: Why are you in
  #11
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 207
Rep Power: 9
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
Hi,

@Takuya: Why are you interested in using staggered grids for LEE? I didn't ever see any staggered implementation of LEE, it seems that collocated grids works fine!
I'm taking a look on some FV high order schemes, but everyone of those requires some access to a big stencil, so, I'm doubting that it should be fine for OF. In alternative, I'm thinking on Discontinuous Galerkin, but it should be necessary to implement a FEM framework, so it can be very hard to do...
Cheers, Ivan
ivan_cozza is offline   Reply With Quote

Old   October 29, 2008, 02:53
Default Hi Ivan, @Staggered grid: it'
  #12
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Hi Ivan,
@Staggered grid: it's a story about finite difference solvers so we FOAMers might just have to forget about it.

I'm now attending a conference and had a chance to talk to a person who is doing aeroacousics. The story was roughly the same as discussed here... She said she is sticking on generalized curvilinear structured grid because of larger stencil required for higher order schemes.

Takuya
7islands is offline   Reply With Quote

Old   October 29, 2008, 03:34
Default Ok, all the same stuff... I'v
  #13
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 207
Rep Power: 9
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
Ok, all the same stuff...
I've read about some High Order DRP FVM schemes, but they're based on generalized curvilinear structured grids, and with large stencil, and we're thinking on trying it in OpenFOAM, maybe generating a separate "big stencil" connectivity, but it's quite an hacking. The other possibility is trying with DGM, but it's necessary to introduce internal degree of freedom and shape functions, so it's definitely an hacking!
ivan_cozza is offline   Reply With Quote

Old   May 11, 2009, 10:03
Default OpenFOAM and acoustics - need help in C++ programming
  #14
Senior Member
 
Wolfgang Heydlauff
Join Date: Mar 2009
Location: Germany
Posts: 136
Rep Power: 9
wolle1982 is on a distinguished road
Hi everyboy,

I also want to do some acoustic investigations an airflow around some geometries.

In literature (fluent user guide) I have found the very simple equation that calculates the "acoustic power" due to the vorticity. The equation is
P = alpha * rho * epsilon * ( sqrt(2 * k) / c ) ^ 5

P: acoustic Power [W/m]
alpha: a rescaled constant
rho: air density
k / epsilon: from turb-modell
c: speed of sound
with this easy equation it should be possible to calculate at least the sound source intensity.

Therefore one needs to calculate the equation using the k and epsilon output of OpenFOAM.

And here I need some help of C++ feasible people:

I do have no experience of using C++. How could the source code look like, that reads out the k and epsilon file of the timestep directoriy and calculates it with the mentioned equation. Then it should output some files that give the acoustic power of each cell.

please help me. I cozuld think, that for a C++ guy it is a very easy stuff to do. However, I myself have no clue.

Thanks.
wolle1982 is offline   Reply With Quote

Old   September 3, 2009, 15:55
Default @takuya
  #15
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 165
Rep Power: 8
nishant_hull is on a distinguished road
Which solver do you guys are using for low mach number flow in openfoam?

I am trying to build a sub sonic PISO based algorithm to solve low mach number flow. I want to make a comparision of both the codes. Could you please tell me which code in openfoam are you using?

regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   May 25, 2010, 08:07
Default
  #16
New Member
 
Alisina
Join Date: May 2010
Location: germany
Posts: 1
Rep Power: 0
alisina is on a distinguished road
Quote:
Originally Posted by lillberg View Post
Hi,

Have any of you guys tried the waveTransmissive boundary condition in OpenFOAM? It has worked quite well for me for low mach number vortex induced accoustics(Ma = 0.1-0.2) using compressible solvers.

Regards

/Eric
hi eric, i have tried waveTransmissive bou. cond. in OF (Ma=0.5), but unfortunately my solutions diverge, OF calculates only a few time steps and than breaks
im new in OF and im working since 2 weeks on this problem, have you any advice for me?

regards

ali
alisina is offline   Reply With Quote

Old   May 28, 2010, 05:51
Default
  #17
Senior Member
 
Bernhard Linseisen
Join Date: May 2010
Location: Magdeburg/Geneva
Posts: 178
Blog Entries: 1
Rep Power: 7
Linse is on a distinguished road
Quote:
Originally Posted by ivan_cozza View Post
Hi,
In alternative, I'm thinking on Discontinuous Galerkin, but it should be necessary to implement a FEM framework, so it can be very hard to do...
Cheers, Ivan
I just remember having had a thesis by someone named Gassner on discontinuous Galerkin for loan, but unfortunately I do not remember if there had been parts concerning FEM.

For the case you have access to some interloan-thingy, you might try to find it
Actually, the OPAC (library catalogue) of the state library at Munich seems to have some books and theses on that topic. Might be of interest as well for you.
The link to that is http://www.bsb-muenchen.de

Hope it helps a little bit...
Linse is offline   Reply With Quote

Old   May 27, 2011, 00:13
Default Aeroacoustics in OpenFOAM
  #18
New Member
 
Brent Craven
Join Date: Mar 2009
Location: University Park, PA, USA
Posts: 21
Rep Power: 8
brent_craven is on a distinguished road
Hi all,

This thread is a bit old. But, what is the status of anyone's efforts of aeroacoustics in OpenFOAM?

Specifically:
- What solvers are folks using for acoustics?
- Any updates on higher-order schemes or attempts at Discontinuous Galerkin?
brent_craven is offline   Reply With Quote

Old   March 27, 2013, 10:33
Talking OpenFOAM acoustics
  #19
Senior Member
 
Alhasan's Avatar
 
Hasan K.J.
Join Date: Dec 2011
Location: Bristol, United Kingdom
Posts: 181
Rep Power: 5
Alhasan is on a distinguished road
Hey,
is there any body who has a successfully done acoustics using openFOAM,

and my second doubt will be is there any chance to take the results from openFOAM to fluent to the acoustics for the flow,

thanks

Hasan.
Alhasan is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFD and acoustics Steve Main CFD Forum 4 April 7, 2015 10:35
Acoustics using CFD Usman Main CFD Forum 9 January 23, 2008 17:54
Acoustics Priya FLUENT 0 July 12, 2007 02:52
Acoustics Frederic CFX 2 January 17, 2005 11:10
acoustics Wenbin FLUENT 0 May 16, 2004 12:56


All times are GMT -4. The time now is 03:07.