unicfdlab / libAcoustics

libAcoustics - OpenFOAM library for far-field noise computation
140 stars 57 forks source link

LibAcoustics 4.1 Incompatible with PisoFoam? #9

Closed HBRu closed 5 years ago

HBRu commented 6 years ago

Dear all,

When I try to use libAcoustics in a OF4.1 PisoFoam case (that runs perfectly w/o the use of the library) I found the error message:

could not find rho

Tutorials for this library and this version all run with rhoPimpleFoam, but I am not into solving the energy equation.

Am I commiting any misuse of this library?

Yours faithfully, Héctor

unicfdlab commented 6 years ago

Hi, Hector.

For the incompressible case you must specify the value for density at the infinity: rho rhoInf; rhoInf 1.2;

Also, please note that we found few small bugs in the source code. We will upload corrected version after running test cases.

Best wishes, Matvey

HBRu commented 6 years ago

Hi Matvey,

This is what I'd done. If I don't put any of these two, the program let me know which is not specified. I mean, if rhoInf value is missing it tells you.

The error I mentioned is weird, cause everything has been set correctly.

I posted a question on:

https://www.cfd-online.com/Forums/openfoam-programming-development/85450-acoustic-solver-openfoam-6.html#post703769

Thank you so much for your help and interest.

Best regards, Héctor

HBRu commented 6 years ago

Issue closed. Thank you so much Matvey.