CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Acoustic Solver with openfoam

Register Blogs Community New Posts Updated Threads Search

Like Tree88Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2016, 06:03
Default
  #81
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Sandeep Patil and welcome to the forum!

Quote:
Originally Posted by srp1220 View Post
Dear wyldckat,

Thanks for the acoustic model implementation in Openfoam, Do you have example of how to solve this model in openfoam?
First, let me stress that I did not do nor develop anything with this acoustic modelling kit. It was done by the people on the group where skeptik works, including skeptik.
I merely started a wiki page at openfoamwiki.net, to help with making this modelling kit more visible to as many people as possible.

Quote:
Originally Posted by srp1220 View Post
If so please share it with me.
When using OpenFOAM, please do not read documents too fast. Every single detail is very important, whether you like it or not. So please read everything very carefully.
I say (write) this because there are already examples in the shared repository, as skeptik wrote a few posts above:
Quote:
Originally Posted by skeptik View Post
Hi all!

We have uploaded a project on GitHub so you can download it and compile it for the latest release of the OpenFOAM toolkit.

https://github.com/unicfdlab/libAcou...OpenFOAM-3.0.0

We have included baffled-piston case for validation but it's not fully tested yet. If you're interested in validation of the acoustics codes, you're welcome for collaboration.


The present version of the libAcoustics includes only Curle analogy.

Thank You.
Best regards,
Bruno
skeptik likes this.
wyldckat is offline   Reply With Quote

Old   March 15, 2016, 06:44
Default
  #82
Member
 
Ramin
Join Date: Oct 2015
Posts: 33
Rep Power: 10
rmn_990 is on a distinguished road
Quote:
Originally Posted by skeptik View Post
1. Something is released. You can look for it here

Complex online post-processing:
How to implement simple acoustic analogy in OpenFOAM

(Sergei Strizhak, Matvey Kraposhin)

2. I know nothing about acoustics in Fluent or CFX except that using it you can get also wrong results.
Hi
Is here anyone who did an acoustic project in fluent ?
Are you sure that the results in fluent is not correct ?!

thanks
arjun likes this.
rmn_990 is offline   Reply With Quote

Old   May 2, 2016, 10:13
Default
  #83
Member
 
Join Date: Jun 2012
Posts: 76
Rep Power: 13
maHein is on a distinguished road
Hello everybody,

I programmed the modified Curle acoustic analogy presented by Larsson et al. [1] as function object for OpenFOAM 3.0.x. The method is implemented for incompressibles flows and includes surface and volume integrals. A validation was performed using the tandem cylinder case (see Lockard [2]).

Source code, validation setup and results can be found in a gitHub repository:

https://github.com/maHein/curleAnalogy

Feel free to contact me if you have any questions or feedback.

Kind Regards,

Martin

edit - I forgot the references:

[1] Johan Larsson, Lars Davidson, Magnus Olsson, Lars-Erik Eriksson: Aeroacoustic Investigation of an Open Cavity at Low Mach Number, AIAA Journal, Vol. 42, No. 12, December 2004

[2] David Lockard: Summary of the Tandem Cylinder Solutions from the Benchmark problems for Airframe Noise Computations-I Workshop. 49th AIAA Aerospace Sciences Meeting including the New Horizons Forum and Aerospace Exposition Orlando, Florida, DOI: 10.2514/6.2011-353
arjun, akidess, skeptik and 4 others like this.

Last edited by maHein; May 3, 2016 at 09:17.
maHein is offline   Reply With Quote

Old   May 10, 2016, 04:09
Default
  #84
Member
 
Ilya
Join Date: Dec 2011
Location: Russia
Posts: 97
Blog Entries: 41
Rep Power: 14
skeptik is on a distinguished road
Quote:
Originally Posted by maHein View Post
Hello everybody,

I programmed the modified Curle acoustic analogy presented by Larsson et al. [1] as function object for OpenFOAM 3.0.x. The method is implemented for incompressibles flows and includes surface and volume integrals. A validation was performed using the tandem cylinder case (see Lockard [2]).

Source code, validation setup and results can be found in a gitHub repository:

https://github.com/maHein/curleAnalogy

Feel free to contact me if you have any questions or feedback.

Kind Regards,

Martin

edit - I forgot the references:

[1] Johan Larsson, Lars Davidson, Magnus Olsson, Lars-Erik Eriksson: Aeroacoustic Investigation of an Open Cavity at Low Mach Number, AIAA Journal, Vol. 42, No. 12, December 2004

[2] David Lockard: Summary of the Tandem Cylinder Solutions from the Benchmark problems for Airframe Noise Computations-I Workshop. 49th AIAA Aerospace Sciences Meeting including the New Horizons Forum and Aerospace Exposition Orlando, Florida, DOI: 10.2514/6.2011-353
Can you post final graphs or results simulated vs experimental?
__________________
practice makes perfect
skeptik is offline   Reply With Quote

Old   June 25, 2016, 16:00
Default
  #85
Member
 
Join Date: Jun 2012
Posts: 76
Rep Power: 13
maHein is on a distinguished road
Sorry, for the late replay. You can find a comparison plot in the 'Results' folder on github.

Kind regards

Martin
maHein is offline   Reply With Quote

Old   July 15, 2016, 04:45
Default Mean sound pressure fluctuation not zero.
  #86
Member
 
Join Date: Mar 2009
Location: adelaide, SA, Australia
Posts: 32
Rep Power: 17
mali is on a distinguished road
Dear All,

I have tried the libAcoustics solver on flow over a square cylinder. Two microphones are used 1) above the cylinder (M1) and 2) Downstream of the cylinder. Both microphones are 60m from the cylinder.

But, why the sound pressure measured at the downstream cylinder (M2), Pmean is not zero. See figure.

Thanks

-sukri-


__________________
mali

Last edited by mali; July 15, 2016 at 04:52. Reason: Image is too large
mali is offline   Reply With Quote

Old   July 15, 2016, 05:02
Default
  #87
Member
 
Ilya
Join Date: Dec 2011
Location: Russia
Posts: 97
Blog Entries: 41
Rep Power: 14
skeptik is on a distinguished road
Quote:
Originally Posted by mali View Post
Dear All,

I have tried the libAcoustics solver on flow over a square cylinder. Two microphones are used 1) above the cylinder (M1) and 2) Downstream of the cylinder. Both microphones are 60m from the cylinder.

But, why the sound pressure measured at the downstream cylinder (M2), Pmean is not zero. See figure.

Thanks

-sukri-


Yea, it seems that we have problems there.

What about version of libAcoustics?
__________________
practice makes perfect
skeptik is offline   Reply With Quote

Old   July 15, 2016, 05:14
Default
  #88
Member
 
Join Date: Mar 2009
Location: adelaide, SA, Australia
Posts: 32
Rep Power: 17
mali is on a distinguished road
Hi Skeptik,

I'm using libAcoustics OF2.3

Thanks.
__________________
mali
mali is offline   Reply With Quote

Old   July 15, 2016, 05:24
Default
  #89
Member
 
Ilya
Join Date: Dec 2011
Location: Russia
Posts: 97
Blog Entries: 41
Rep Power: 14
skeptik is on a distinguished road
Quote:
Originally Posted by mali View Post
Hi Skeptik,

I'm using libAcoustics OF2.3

Thanks.
Hard to comment.

Did you have downloaded it form UNICFD github? If so, it's better to create issues there.
__________________
practice makes perfect
skeptik is offline   Reply With Quote

Old   July 15, 2016, 05:30
Default
  #90
Member
 
Join Date: Mar 2009
Location: adelaide, SA, Australia
Posts: 32
Rep Power: 17
mali is on a distinguished road
Hi Skeptik,

Yes, I got the solver form the unicfd github.

But I'm not sure if I make the acoustic setting correct. I just add functionobject for libacoustic in the controlDict file. The rest are no change.

-sukri-
__________________
mali
mali is offline   Reply With Quote

Old   July 19, 2016, 03:57
Default
  #91
New Member
 
A Z
Join Date: Dec 2015
Posts: 16
Rep Power: 10
don6alfonso is on a distinguished road
Hey,
I would like you to take a look at this please. Maybe you can help me.

libAcoustics, fft not calculate

regards
Adrian
don6alfonso is offline   Reply With Quote

Old   July 20, 2016, 02:57
Default
  #92
Member
 
Ilya
Join Date: Dec 2011
Location: Russia
Posts: 97
Blog Entries: 41
Rep Power: 14
skeptik is on a distinguished road
Quote:
Originally Posted by mali View Post
Hi Skeptik,

Yes, I got the solver form the unicfd github.

But I'm not sure if I make the acoustic setting correct. I just add functionobject for libacoustic in the controlDict file. The rest are no change.

-sukri-
Did you compiled successfully lib FFTW? It's used in 2.3 version
__________________
practice makes perfect
skeptik is offline   Reply With Quote

Old   September 30, 2016, 12:29
Default libAcoustic with FW-H
  #93
Member
 
a_habib's Avatar
 
Ahmad Habib
Join Date: Nov 2014
Location: Aleppo, Syria
Posts: 53
Rep Power: 11
a_habib is on a distinguished road
Any chance that the new implementation is ready ??
a_habib is offline   Reply With Quote

Old   September 30, 2016, 13:05
Default
  #94
Member
 
Ilya
Join Date: Dec 2011
Location: Russia
Posts: 97
Blog Entries: 41
Rep Power: 14
skeptik is on a distinguished road
Quote:
Originally Posted by a_habib View Post
Any chance that the new implementation is ready ??
You can join to me via GitHub. I'm working on
__________________
practice makes perfect
skeptik is offline   Reply With Quote

Old   January 13, 2017, 10:29
Default
  #95
New Member
 
Join Date: Oct 2016
Posts: 22
Rep Power: 9
Mahe88 is on a distinguished road
Hello all,

I want to do aeroacoustic analysis of different Wing shapes.Therefore I did some research on that topic and found that thread. As I am quite new to this topic, I want to know, if I understood everything correct.

Regarding the libAcoustic:

1) skeptik and his group (Thank you) developt the libAcoustic, which I can use in OpenFoam 3.0 and calculate the emitted noise with Curls analogy?

2) libAcoustic is used the same way as for example Forcecoeffs? So I calculate the noise while the simulation

3)What simulation types are required to get resonable results? RANS probably not..DES? Can I use Wallfunctions?

Regarding the post processing utilitie noise:

4) I calculate the noise after the simulation?

5) When using the noise utilitie I have to further process the data?! So I could programm a little tool in Matlab etc using curle or FW-H?


Are there recommendations on what is better or makes more sense to use in my case?


Thank you a lot!!
guanjiang.chen likes this.
Mahe88 is offline   Reply With Quote

Old   January 27, 2017, 12:17
Default
  #96
Member
 
a_habib's Avatar
 
Ahmad Habib
Join Date: Nov 2014
Location: Aleppo, Syria
Posts: 53
Rep Power: 11
a_habib is on a distinguished road
Dear Mahe88
1 & 2 are correct.
3 if your case is 2D so you can't use but RANS
but if it a 3D case, it's recommended to use something more accurate (DDES, IDDES, LES)
4 no, the library calculates the acoustic pressure after each time step in the locations you had picked, and after Nfft time step, the library calculates the fourier transform to obtain the (SPL vs f)
5 no, you just need to plot your results
Regards
guanjiang.chen likes this.
a_habib is offline   Reply With Quote

Old   February 8, 2017, 10:50
Default
  #97
New Member
 
Join Date: Oct 2016
Posts: 22
Rep Power: 9
Mahe88 is on a distinguished road
Dear Ahmad Habib,

thanks for your response! This helps me a lot to kick off my simulation.

I want to simulate a Wing in 3D therefore I would then try to do a DES. However, I would still label myself as a beginner and this is my first 3D DES simulation with aiming towards noise. Therefore do you have any hints, what I should specifically pay attention to? I assume to use the Pimple solver?

Thanks!

Best regards,
Mahe
Mahe88 is offline   Reply With Quote

Old   February 11, 2017, 06:39
Default
  #98
Member
 
a_habib's Avatar
 
Ahmad Habib
Join Date: Nov 2014
Location: Aleppo, Syria
Posts: 53
Rep Power: 11
a_habib is on a distinguished road
Dear Mahe88

First of all, the analogy used in this library was simplified to be used for the incompressible flows, so you can use the pisoFoam solver correctly

I recommend to stay away from DES, you can use DDES instead or IDDES

Take a special care about the time step and the grid resolution to obtain a good agreement with experimental results or the real live situation

Focus on the theoretical background of the turbulence and the selection of your time step

Best wishes


Sent from my iPhone using CFD Online Forum mobile app
a_habib is offline   Reply With Quote

Old   August 28, 2017, 06:01
Default
  #99
New Member
 
Alireza Maleki
Join Date: Aug 2017
Location: United State
Posts: 20
Rep Power: 8
alireza94 is on a distinguished road
Quote:
Originally Posted by skeptik View Post
Hi all!

We have uploaded a project on GitHub so you can download it and compile it for the latest release of the OpenFOAM toolkit.

https://github.com/unicfdlab/libAcou...OpenFOAM-3.0.0

We have included baffled-piston case for validation but it's not fully tested yet. If you're interested in validation of the acoustics codes, you're welcome for collaboration.


The present version of the libAcoustics includes only Curle analogy.

Thank You.
Hi all


@skeptik

in the first i want to Thank you and your team for this Library.

i,m new in openFoam and i want to simulate acoustic in openFoam.

i use your example of cylinder2D and modified it with my version openFoam(4.1) and it work, but it is incompressible. now if i want use it for a compressible example
what i should to do??
just change the solver??
do i need any change in curle or fwh analogy??

Last edited by alireza94; August 30, 2017 at 03:55.
alireza94 is offline   Reply With Quote

Old   June 20, 2018, 02:23
Default
  #100
New Member
 
Join Date: Dec 2015
Posts: 16
Rep Power: 10
Q.E.D. is on a distinguished road
Hi skeptik,



thank you for your work on this library!



The last update was a little while ago. So I just wanted to ask whether the libAcoustics library will eventually be updated to OF5.x?


Best wishes
Q.E.D.
Q.E.D. is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Working directory via command line Luiz CFX 4 March 6, 2011 20:02
Running Problem using Openfoam solver cfd_staruser OpenFOAM 5 August 14, 2009 02:28
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08
OpenFOAM Training and Workshop Zagreb 2628Jan2006 hjasak OpenFOAM 1 February 2, 2006 21:07


All times are GMT -4. The time now is 00:52.