Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running libAcoustic function at later time step #109

Open
MarcusAW opened this issue Nov 16, 2023 · 3 comments
Open

Running libAcoustic function at later time step #109

MarcusAW opened this issue Nov 16, 2023 · 3 comments

Comments

@MarcusAW
Copy link

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

@mkraposhin
Copy link
Contributor

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).

@MarcusAW
Copy link
Author

MarcusAW commented Dec 6, 2023

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

@mkraposhin
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants