******************* This email 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 https://spam.ic.ac.uk/SpamConsole/Senders.aspx 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 Sicher versendet mit [Proton Mail](https://proton.me/).
Hi Alex, 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. All the best, Guglielmo ________________________________ From: nektar-users-bounces@imperial.ac.uk <nektar-users-bounces@imperial.ac.uk> on behalf of Alexander Schukmann <alexander.schukmann@protonmail.com> Sent: 21 May 2024 13:58 To: nektar-users <nektar-users@imperial.ac.uk> Subject: [Nektar-users] Spatial two-point correlation 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<https://spam.ic.ac.uk/SpamConsole/Senders.aspx> 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 Sicher versendet mit Proton Mail<https://proton.me/>.
participants (2)
- 
                
                Alexander Schukmann
- 
                
                Vivarelli, Guglielmo A