Hi Dustin

We have a FieldConvert filter that you can include in your xml setting so it can compute some additional variables such as vorticity on the fly but it doesn't support all of FieldConvert Modules. So not sure if it works with meanmode or not. 
Even of it works with the menmode, it would be instantaneous field not the average one

For averaging, you can use MovingAverage or AverageFields or both filters to have the average of the fields. Then convert this average fields with meanmode module. For several fld files you can use bash commands to facilitate the process. 

Cheers 
Mohsen 

Dr Mohsen Lahooti, PhD
Lecturer in Fluid-Structure Interaction
Mechanical Engineering

Newcastle University
School of Engineering
Room 4.28, Stephenson Building
Claremont road
Newcastle upon Tyne
NE1 7RU
UK

Email mohsen.lahooti@newcastle.ac.uk
Webpage



From: Ma, Ting-Hsuan <TIM48@pitt.edu>
Sent: Monday, November 27, 2023 10:09:16 PM
To: Mohsen Lahooti <Mohsen.Lahooti@newcastle.ac.uk>; nektar-users@imperial.ac.uk <nektar-users@imperial.ac.uk>
Subject: Re: Homogenous Spanwise Averaging
 
Moshen,

Thank you for the helpful response! "meanmodes" performed exactly what I needed. I'm curious if there's a method to perform the spanwise average dynamically during computation time, meaning that the spanwise average is calculated per iteration, and this 2D plane is then averaged over time.

Thank You,
Dustin


From: Mohsen Lahooti <Mohsen.Lahooti@newcastle.ac.uk>
Sent: Monday, November 27, 2023 4:39 PM
To: Ma, Ting-Hsuan <TIM48@pitt.edu>; nektar-users@imperial.ac.uk <nektar-users@imperial.ac.uk>
Subject: Re: Homogenous Spanwise Averaging
 

Hi Dustin,

 

You can use the “meanmode” module of FieldConvert which compute the data on the zero Fourier plane. You can use it on the flow fld files, or even on Reynolds stresses fld files.

 

Hope this helps

 

Cheers,

Moshen

From: nektar-users-bounces@imperial.ac.uk <nektar-users-bounces@imperial.ac.uk> on behalf of Ma, Ting-Hsuan <TIM48@pitt.edu>
Date: Monday, 27 November 2023 at 20:10
To: nektar-users@imperial.ac.uk <nektar-users@imperial.ac.uk>
Subject: [Nektar-users] Homogenous Spanwise Averaging

 External sender. Take care when opening links or attachments. Do not provide your login details.

This email from TIM48@pitt.edu 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.

 

Hi all,


I am currently working on obtaining DNS data and have successfully provided Nektar with a 2D mesh (XY) for streamwise and wall-normal directions. Utilizing Nektar's homogeneous expansion in the spanwise direction, I've managed to acquire my 3D turbulence data. However, I'm looking for a function that can return a 2D XY plane of all averaged components by averaging in the spanwise, homogeneous direction. While the Filter "ReynoldsStresses" can provide the 3D time-averaged fields, I was wondering if there's a function specifically designed performing the averaging/output that I have specified. I've checked the user guide without finding relevant information. Any guidance or pointers would be greatly appreciated.

 

Thanks,

Dustin