Re: [Nektar-users] 'Time-average fields' filter in Nektar++
Hi Zhaoyu, You are right, "the example above could only get the averaged flow of 0-10 tc and 0-20tc". Currently, there is no parameter to let the FilterAverageFields start after a certain number of time steps. You need to restart the simulation at 10c to do average between 10-20tc. Cheers Ankang ________________________________ From: Ankang Gao <gaoak@pku.edu.cn> Sent: 13 February 2021 14:00 To: Gao, Ankang <ankang.gao@imperial.ac.uk> Subject: Fw: [Nektar-users] 'Time-average fields' filter in Nektar++ -----原始邮件----- 发件人: "王昭予" <clemden@sjtu.edu.cn> 发送时间: 2021-02-13 19:00:16 (星期六) 收件人: nektar-users <nektar-users@imperial.ac.uk> 抄送: 主题: [Nektar-users] 'Time-average fields' filter in Nektar++ ******************* 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. ******************* Dear all, I am confused with the 'Time-average fields' filter in Nektar++. If I carry on a simulation of a foil flow field in 20 characteristic time(tc) with 20000 time steps in total and I want to get the averaged flow field of 10-20 tc (not 0-20tc), how to set the filter options correctly? Here is an example: <FILTER TYPE="AverageFields"> <PARAM NAME="OutputFile">MyAverageField</PARAM> <PARAM NAME="OutputFrequency">10000</PARAM> <PARAM NAME="SampleFrequency"> 1 </PARAM> </FILTER> I think the example above could only get the averaged flow of 0-10 tc and 0-20tc. If I want to get the averaged flow of 10-20tc, should I suspend my simulation at 10tc(time step 10000)and restart it? I will be very grateful with your kind reply. Many thanks, Zhaoyu Wang Shanghai Jiao Tong University _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
Hi, The way you set up the average you can subtract the first dump (*10000) from the second dump (*20000/10000) and I think you get what you want. Cheers, Spencer. On 13 Feb 2021, at 14:11, Gao, Ankang <ankang.gao@imperial.ac.uk<mailto:ankang.gao@imperial.ac.uk>> wrote: Hi Zhaoyu, You are right, "the example above could only get the averaged flow of 0-10 tc and 0-20tc". Currently, there is no parameter to let the FilterAverageFields start after a certain number of time steps. You need to restart the simulation at 10c to do average between 10-20tc. Cheers Ankang ________________________________ From: Ankang Gao <gaoak@pku.edu.cn<mailto:gaoak@pku.edu.cn>> Sent: 13 February 2021 14:00 To: Gao, Ankang <ankang.gao@imperial.ac.uk<mailto:ankang.gao@imperial.ac.uk>> Subject: Fw: [Nektar-users] 'Time-average fields' filter in Nektar++ -----原始邮件----- 发件人: "王昭予" <clemden@sjtu.edu.cn<mailto:clemden@sjtu.edu.cn>> 发送时间: 2021-02-13 19:00:16 (星期六) 收件人: nektar-users <nektar-users@imperial.ac.uk<mailto:nektar-users@imperial.ac.uk>> 抄送: 主题: [Nektar-users] 'Time-average fields' filter in Nektar++ ******************* 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. ******************* Dear all, I am confused with the 'Time-average fields' filter in Nektar++. If I carry on a simulation of a foil flow field in 20 characteristic time(tc) with 20000 time steps in total and I want to get the averaged flow field of 10-20 tc (not 0-20tc), how to set the filter options correctly? Here is an example: <FILTER TYPE="AverageFields"> <PARAM NAME="OutputFile">MyAverageField</PARAM> <PARAM NAME="OutputFrequency">10000</PARAM> <PARAM NAME="SampleFrequency"> 1 </PARAM> </FILTER> I think the example above could only get the averaged flow of 0-10 tc and 0-20tc. If I want to get the averaged flow of 10-20tc, should I suspend my simulation at 10tc(time step 10000)and restart it? I will be very grateful with your kind reply. Many thanks, Zhaoyu Wang Shanghai Jiao Tong University _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk<mailto:Nektar-users@imperial.ac.uk> https://mailman.ic.ac.uk/mailman/listinfo/nektar-users _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk<mailto:Nektar-users@imperial.ac.uk> https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
participants (2)
-
Gao, Ankang
-
Sherwin, Spencer J