Using FieldConvert checkpoints with "extract" module
******************* 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, I am trying to use the "extract" module to sample some data on a boundary ID. In standalone mode, the module works as intended but I am encountering segmentation fault while using it in FieldCovert checkpoints. I am supplying the settings as a separate file and this is my setup: <NEKTAR> <FILTERS> <FILTER TYPE="FieldConvert"> <PARAM NAME="OutputFile">session.fld</PARAM> <PARAM NAME="OutputFrequency">2</PARAM> <PARAM NAME="Modules">extract:bnd=1</PARAM> </FILTER> </FILTERS> </NEKTAR> Can someone please point out what 's wrong in this setup ? Regards, Ishan PGR
Hi I have a similar issue with the "homplane" module when used as a Filter during runtime. I get a Fatal Error indicating a file name is not specified. syavash On Thu, Jun 20, 2024, 3:27 PM Nande, Ishan A. <ian9@leicester.ac.uk> wrote:
This email from ian9@leicester.ac.uk 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,
I am trying to use the “extract” module to sample some data on a boundary ID.
In standalone mode, the module works as intended but I am encountering segmentation fault while using it in FieldCovert checkpoints.
I am supplying the settings as a separate file and this is my setup:
*<NEKTAR>*
* <FILTERS>*
* <FILTER TYPE="FieldConvert">*
* <PARAM NAME="OutputFile">session.fld</PARAM>*
* <PARAM NAME="OutputFrequency">2</PARAM>*
* <PARAM NAME="Modules">extract:bnd=1</PARAM>*
* </FILTER>*
* </FILTERS>*
*</NEKTAR>*
Can someone please point out what ‘s wrong in this setup ?
Regards,
Ishan
PGR _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
Hi Both, I am unaware whether this feature has previously been tried/used so not quite sure what may be going on. Sorry, Spencer Sent from my iPhone On 21 Jun 2024, at 00:00, Ehsan Asgari <eh.asgari@gmail.com> wrote:  Hi I have a similar issue with the "homplane" module when used as a Filter during runtime. I get a Fatal Error indicating a file name is not specified. syavash On Thu, Jun 20, 2024, 3:27 PM Nande, Ishan A. <ian9@leicester.ac.uk<mailto:ian9@leicester.ac.uk>> wrote: This email from ian9@leicester.ac.uk<mailto:ian9@leicester.ac.uk> 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, I am trying to use the “extract” module to sample some data on a boundary ID. In standalone mode, the module works as intended but I am encountering segmentation fault while using it in FieldCovert checkpoints. I am supplying the settings as a separate file and this is my setup: <NEKTAR> <FILTERS> <FILTER TYPE="FieldConvert"> <PARAM NAME="OutputFile">session.fld</PARAM> <PARAM NAME="OutputFrequency">2</PARAM> <PARAM NAME="Modules">extract:bnd=1</PARAM> </FILTER> </FILTERS> </NEKTAR> Can someone please point out what ‘s wrong in this setup ? Regards, Ishan PGR _______________________________________________ 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 https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
Hi Ishan, hi syavash, I just tried that the FieldConvert "extract" module is working under Nektar version 5.5.0. As for debugging, you could compile the code in Debug to get a more detailed error message. Also, make sure that the boundary region you are trying to extract is defined in the session file. You can test it by running the test file CylFlow2D_FieldConvertFilter_Hdf5.xml and changing the FieldConvert filter. You can substitute "wss" with "extract". The file is here: https://gitlab.nektar.info/nektar/nektar/-/blob/master/solvers/IncNavierStok... [https://gitlab.nektar.info/uploads/-/system/project/avatar/2/icon-blue.png]<https://gitlab.nektar.info/nektar/nektar/-/blob/master/solvers/IncNavierStokesSolver/Tests/CylFlow2D_FieldConvertFilter_Hdf5.xml?ref_type=heads> solvers/IncNavierStokesSolver/Tests/CylFlow2D_FieldConvertFilter_Hdf5.xml · master · Nektar / Nektar · GitLab<https://gitlab.nektar.info/nektar/nektar/-/blob/master/solvers/IncNavierStokesSolver/Tests/CylFlow2D_FieldConvertFilter_Hdf5.xml?ref_type=heads> Nektar++ open-source spectral/hp element framework. gitlab.nektar.info @syavash - I have not used the homplane module. Do you have a small test case that is failing? Best wishes, Henrik ________________________________ Von: nektar-users-bounces@imperial.ac.uk <nektar-users-bounces@imperial.ac.uk> im Auftrag von Ehsan Asgari <eh.asgari@gmail.com> Gesendet: Freitag, 21. Juni 2024 04:59 An: Nande, Ishan A. <ian9@leicester.ac.uk> Cc: nektar-users <nektar-users@imperial.ac.uk> Betreff: Re: [Nektar-users] Using FieldConvert checkpoints with "extract" module Hi I have a similar issue with the "homplane" module when used as a Filter during runtime. I get a Fatal Error indicating a file name is not specified. syavash On Thu, Jun 20, 2024, 3:27 PM Nande, Ishan A. <ian9@leicester.ac.uk<mailto:ian9@leicester.ac.uk>> wrote: This email from ian9@leicester.ac.uk<mailto:ian9@leicester.ac.uk> 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, I am trying to use the “extract” module to sample some data on a boundary ID. In standalone mode, the module works as intended but I am encountering segmentation fault while using it in FieldCovert checkpoints. I am supplying the settings as a separate file and this is my setup: <NEKTAR> <FILTERS> <FILTER TYPE="FieldConvert"> <PARAM NAME="OutputFile">session.fld</PARAM> <PARAM NAME="OutputFrequency">2</PARAM> <PARAM NAME="Modules">extract:bnd=1</PARAM> </FILTER> </FILTERS> </NEKTAR> Can someone please point out what ‘s wrong in this setup ? Regards, Ishan PGR _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk<mailto:Nektar-users@imperial.ac.uk> https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
Hello Henrik, Thanks for pointing out to the right example and I will use it to check if it works for my needs. I want to record the pressure data on the wall every few time-steps. Regards, Ishan PGR From: Henrik Wüstenberg <henrik.wuestenberg@hotmail.de> Sent: 27 June 2024 09:10 To: Ehsan Asgari <eh.asgari@gmail.com>; Nande, Ishan A. <ian9@leicester.ac.uk> Cc: nektar-users <nektar-users@imperial.ac.uk> Subject: AW: [Nektar-users] Using FieldConvert checkpoints with "extract" module You don't often get email from henrik.wuestenberg@hotmail.de<mailto:henrik.wuestenberg@hotmail.de>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> ***CAUTION:*** This email was sent from an EXTERNAL source. Think before clicking links or opening attachments. Hi Ishan, hi syavash, I just tried that the FieldConvert "extract" module is working under Nektar version 5.5.0. As for debugging, you could compile the code in Debug to get a more detailed error message. Also, make sure that the boundary region you are trying to extract is defined in the session file. You can test it by running the test file CylFlow2D_FieldConvertFilter_Hdf5.xml and changing the FieldConvert filter. You can substitute "wss" with "extract". The file is here: https://gitlab.nektar.info/nektar/nektar/-/blob/master/solvers/IncNavierStok... [https://gitlab.nektar.info/uploads/-/system/project/avatar/2/icon-blue.png]<https://gitlab.nektar.info/nektar/nektar/-/blob/master/solvers/IncNavierStokesSolver/Tests/CylFlow2D_FieldConvertFilter_Hdf5.xml?ref_type=heads> solvers/IncNavierStokesSolver/Tests/CylFlow2D_FieldConvertFilter_Hdf5.xml · master · Nektar / Nektar · GitLab<https://gitlab.nektar.info/nektar/nektar/-/blob/master/solvers/IncNavierStokesSolver/Tests/CylFlow2D_FieldConvertFilter_Hdf5.xml?ref_type=heads> Nektar++ open-source spectral/hp element framework. gitlab.nektar.info @syavash - I have not used the homplane module. Do you have a small test case that is failing? Best wishes, Henrik ________________________________ Von: nektar-users-bounces@imperial.ac.uk<mailto:nektar-users-bounces@imperial.ac.uk> <nektar-users-bounces@imperial.ac.uk<mailto:nektar-users-bounces@imperial.ac.uk>> im Auftrag von Ehsan Asgari <eh.asgari@gmail.com<mailto:eh.asgari@gmail.com>> Gesendet: Freitag, 21. Juni 2024 04:59 An: Nande, Ishan A. <ian9@leicester.ac.uk<mailto:ian9@leicester.ac.uk>> Cc: nektar-users <nektar-users@imperial.ac.uk<mailto:nektar-users@imperial.ac.uk>> Betreff: Re: [Nektar-users] Using FieldConvert checkpoints with "extract" module Hi I have a similar issue with the "homplane" module when used as a Filter during runtime. I get a Fatal Error indicating a file name is not specified. syavash On Thu, Jun 20, 2024, 3:27 PM Nande, Ishan A. <ian9@leicester.ac.uk<mailto:ian9@leicester.ac.uk>> wrote: This email from ian9@leicester.ac.uk<mailto:ian9@leicester.ac.uk> 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, I am trying to use the "extract" module to sample some data on a boundary ID. In standalone mode, the module works as intended but I am encountering segmentation fault while using it in FieldCovert checkpoints. I am supplying the settings as a separate file and this is my setup: <NEKTAR> <FILTERS> <FILTER TYPE="FieldConvert"> <PARAM NAME="OutputFile">session.fld</PARAM> <PARAM NAME="OutputFrequency">2</PARAM> <PARAM NAME="Modules">extract:bnd=1</PARAM> </FILTER> </FILTERS> </NEKTAR> Can someone please point out what 's wrong in this setup ? Regards, Ishan PGR _______________________________________________ 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 (4)
- 
                
                Ehsan Asgari
- 
                
                Henrik Wüstenberg
- 
                
                Nande, Ishan A.
- 
                
                Sherwin, Spencer J