libAcoustics icon indicating copy to clipboard operation
libAcoustics copied to clipboard

Running libAcoustic function at later time step

Open MarcusAW opened this issue 7 months ago • 3 comments

Hello, I have a very simple question.

Suppose I run a LES simulation until there is a periodic behavior e.g. t=1s without libAcoustic. If I start a new LES simulation at that time step with the acoustic function, and set responseDelay=0 and timeStart=0, would the library be able correctly obtain p'?

Thanks, Marcus

MarcusAW avatar Nov 16 '23 18:11 MarcusAW

Hi, @MarcusAW !

Yes, the library just calculates response to transient aerodynamic forces for given observer points. However, I would start your simulation from timeStart=1s, when you have already the developed LES flow (according to your question).

mkraposhin avatar Dec 05 '23 07:12 mkraposhin

Thank you for your help.

On the matter of recording time, how long would be sufficient? In my approach, to save on memory, I record only for t=Distance between source and observer/flow speed.

Once I record for t seconds, I save the results and rerun it again at a later time to get an average.

Thanks, Marcus

MarcusAW avatar Dec 06 '23 17:12 MarcusAW

It's hard to suggest how long you should run your simulation, since the number of time slices (points) influences accuracy of acoustic spectrum. I think, you can just rerun the simulation several time and glue time series afterwards.

mkraposhin avatar Dec 11 '23 08:12 mkraposhin