You are correct, at the moment there is no capability within Nektar++ to compute this quantity directly.
Writing out the solution along a line at every time step will allow you to calculate the autocorrelation
you are after as a postprocessing step.
|
This email from alexander.schukmann@protonmail.com originates from outside Imperial. Do not click on links and attachments unless you
recognise the sender. If you trust the sender, add them to your
safe senders list to disable email stamping for this address.
|
Hello everybody,
I was wondering, if there is a way to calculate spatial two-point correlation functions such as
R_uu = < u(x,t) * u(x + r,t) >
within Nektar++. Here, "u" is a scalar function, such as streamwise velocity, "< >" denotes a temporal average and "r" is a spatial separation distance.
My first idea was to use the HistoryPoints Filter, hence tracking the scalar along a line for each time step and calculating R_uu during postprocessing. But maybe there exists a more efficient way using
a combination of Nektar++ Filters/Functions?
I appreciate any help on the topic.
All the best
Alex