Re-start settings and base flow input for LEE solver
******************* 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 hope all is well with you. I am using Nektar++ to solve for Linearized Euler Equations(LEE) using the Acoustic Solver. I have tried to play around a bit w.r.t to the following issues but have been un-successful: 1. I have found a few tutorials where the solution re-start can be accomplished using .rst file which is supplied under the Initial Conditions field in the XML files. I have made a similar setup for the Acoustic Solver but I get this warning when I run the solver: Fatal : Level 0 assertion violation m_timestep < 0. This doesn't seem right because my time step is not less than zero. The .rst file was generated from .chk file of the last time step and, this file was supplied as the file from which the remaining time-steps should start. 2. Secondly, how can I generate a .bse file? Is this also a .chk or .fld file whose extension has been renamed ? 3. Is it possible to generate a .bse file with data from an external source ? What would be the right way to approach this ? 4. What would be the right way to convert 1D Gmsh to Nektar++ mesh using NekMesh ? I have got errors while doing this. 5. Finally, is there a forum where users can post questions ? Thanks a lot for taking the time to read my email. Regards, Ishan PGR University of Leicester
Hi Ishan, 1. Could you check if FinTime > timestamp of your .rst file. For instance, the.rst file is typically the last timestamp of a prior simulation say from T=0->100, in this case, FinTime in your new simulation must be greater than 100. 2. Yes, .bse files are .chk / .fld files renamed. 3. I have not done this personally, but assuming you have a .csv file of your baseflow from an external source, you can interpolate it into a .fld file using FieldConvert -m interppointdatatofld. Note that this will have interpolation errors. https://doc.nektar.info/userguide/latest/user-guidese26.html#x39-1600005.6 4. I'm not entirely sure if 1D mesh conversion from gmsh is supported on NekMesh. For 1D meshes, I typically specify each vertex manually in the .XML file 5. Sorry, not at the moment, most questions are posted to the mailing list. Hope this helps. Cheers, Chi Hin ________________________________ From: nektar-users-bounces@imperial.ac.uk <nektar-users-bounces@imperial.ac.uk> on behalf of Nande, Ishan A. <ian9@leicester.ac.uk> Sent: 04 March 2024 19:19 To: nektar-users <nektar-users@imperial.ac.uk> Subject: [Nektar-users] Re-start settings and base flow input for LEE solver 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 hope all is well with you. I am using Nektar++ to solve for Linearized Euler Equations(LEE) using the Acoustic Solver. I have tried to play around a bit w.r.t to the following issues but have been un-successful: 1. I have found a few tutorials where the solution re-start can be accomplished using .rst file which is supplied under the Initial Conditions field in the XML files. I have made a similar setup for the Acoustic Solver but I get this warning when I run the solver: Fatal : Level 0 assertion violation m_timestep < 0. This doesn’t seem right because my time step is not less than zero. The .rst file was generated from .chk file of the last time step and, this file was supplied as the file from which the remaining time-steps should start. 2. Secondly, how can I generate a .bse file? Is this also a .chk or .fld file whose extension has been renamed ? 3. Is it possible to generate a .bse file with data from an external source ? What would be the right way to approach this ? 4. What would be the right way to convert 1D Gmsh to Nektar++ mesh using NekMesh ? I have got errors while doing this. 5. Finally, is there a forum where users can post questions ? Thanks a lot for taking the time to read my email. Regards, Ishan PGR University of Leicester
Hello Chi Hin, As you pointed out correctly, my FinTime did not take into account the previously calculated time. I have made the right setting and now the solution re-starts correctly. With regards to the interpolation, thanks for pointing the correct module. I will test it. Regards, Ishan PGR University of Leicester From: Chan, Chi Hin <chi.chan19@imperial.ac.uk> Sent: 04 March 2024 19:37 To: Nande, Ishan A. <ian9@leicester.ac.uk>; nektar-users <nektar-users@imperial.ac.uk> Subject: Re: [Nektar-users] Re-start settings and base flow input for LEE solver You don't often get email from chi.chan19@imperial.ac.uk<mailto:chi.chan19@imperial.ac.uk>. 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, 1. Could you check if FinTime > timestamp of your .rst file. For instance, the.rst file is typically the last timestamp of a prior simulation say from T=0->100, in this case, FinTime in your new simulation must be greater than 100. 1. Yes, .bse files are .chk / .fld files renamed. 1. I have not done this personally, but assuming you have a .csv file of your baseflow from an external source, you can interpolate it into a .fld file using FieldConvert -m interppointdatatofld. Note that this will have interpolation errors. https://doc.nektar.info/userguide/latest/user-guidese26.html#x39-1600005.6 1. I'm not entirely sure if 1D mesh conversion from gmsh is supported on NekMesh. For 1D meshes, I typically specify each vertex manually in the .XML file 1. Sorry, not at the moment, most questions are posted to the mailing list. Hope this helps. Cheers, Chi Hin ________________________________ From: 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>> on behalf of Nande, Ishan A. <ian9@leicester.ac.uk<mailto:ian9@leicester.ac.uk>> Sent: 04 March 2024 19:19 To: nektar-users <nektar-users@imperial.ac.uk<mailto:nektar-users@imperial.ac.uk>> Subject: [Nektar-users] Re-start settings and base flow input for LEE solver 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 hope all is well with you. I am using Nektar++ to solve for Linearized Euler Equations(LEE) using the Acoustic Solver. I have tried to play around a bit w.r.t to the following issues but have been un-successful: 1. I have found a few tutorials where the solution re-start can be accomplished using .rst file which is supplied under the Initial Conditions field in the XML files. I have made a similar setup for the Acoustic Solver but I get this warning when I run the solver: Fatal : Level 0 assertion violation m_timestep < 0. This doesn't seem right because my time step is not less than zero. The .rst file was generated from .chk file of the last time step and, this file was supplied as the file from which the remaining time-steps should start. 2. Secondly, how can I generate a .bse file? Is this also a .chk or .fld file whose extension has been renamed ? 3. Is it possible to generate a .bse file with data from an external source ? What would be the right way to approach this ? 4. What would be the right way to convert 1D Gmsh to Nektar++ mesh using NekMesh ? I have got errors while doing this. 5. Finally, is there a forum where users can post questions ? Thanks a lot for taking the time to read my email. Regards, Ishan PGR University of Leicester
participants (2)
- 
                
                Chan, Chi Hin
- 
                
                Nande, Ishan A.