A Question Concerning how to Include Source Terms in ShallowWaterSolver
******************* 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 all, I would like to express my appreciation for the efforts made by the developer team and community to create such a great open-sourced software. Currently, I am working with shallow water equations and my application requires the inclusion of the source terms of: (1) bed-friction term; (2) channel slope term. However, these particular source terms are not included in ShallowWaterSolver of Nektar++ yet and it seems to be not possible to use any forcing terms in ShallowWaterSolver. As far as I am concerned, the method to use these source terms is to modify the solver ShallowWaterSolver source code and recompile all the library. But this method is quite time-consuming. So I am writing to ask is there any simpler way to implement this functionality. Thank you in advance for your answer. Boyuan Yu
HI Boyuan, I am afraid this is the only way to do it. You should however note you can compile components of the library by going to the relevant directory in the build structure and typing build. So when you are in the ShallowWaterSolver you can be in that directory and type make install if you are only changing code locally. Cheers, Spencer. On 11 Mar 2021, at 13:33, Boyuan Yu <boyuan.yu@mail.mcgill.ca<mailto:boyuan.yu@mail.mcgill.ca>> wrote: This email from boyuan.yu@mail.mcgill.ca<mailto:boyuan.yu@mail.mcgill.ca> 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 all, I would like to express my appreciation for the efforts made by the developer team and community to create such a great open-sourced software. Currently, I am working with shallow water equations and my application requires the inclusion of the source terms of: (1) bed-friction term; (2) channel slope term. However, these particular source terms are not included in ShallowWaterSolver of Nektar++ yet and it seems to be not possible to use any forcing terms in ShallowWaterSolver. As far as I am concerned, the method to use these source terms is to modify the solver ShallowWaterSolver source code and recompile all the library. But this method is quite time-consuming. So I am writing to ask is there any simpler way to implement this functionality. Thank you in advance for your answer. Boyuan Yu _______________________________________________ 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)
- 
                
                Boyuan Yu
- 
                
                Sherwin, Spencer J