_______________________________________________Hi Ilteber,
I am not sure about the mcf files. Are those used as Nektar++ session files? I normally deal with xml format.
So I think you can not (but see below) do what you intend (simply). You can split the geometry and the session xml files into to separate files. This will work. So Just generate a mesh in whatever way you do. Have an appropriate settings in a different file, and you can use it (e.g. the incomprehensible NS):
IncNavierStokesSolver mesh.xml sett.xmlIf I understand what your intend is to have a number (more than one) of session xml files, each defining some different aspect of the solution and all using values from the <PARAMETERS> tag defined in the first one. So if I understand, you would like to eventually do:
IncNavierStokesSolver mesh.xml sett1.xml sett2.xml seet2.xml ...Which I think is not possible at the moment (is it?).
If this is something you really need, you can think of a small Python script that would read in separate xml files with settings, parse them and then spit out a ready settings file for your simulation.
Cheers,
Stan
On 12.07.2022 19:36, İlteber Özdemir wrote:
This email from rilteber@gmail.com 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.
Hello everybody,
I am quite new to Nektar++ and trying to get used to it. I want to define some parameters in a separate file and want to use them both in my mesh.mcf and session.mcf files. By doing so I can define the problem parameters in one file and let all the other files read from it. How can I do this?
Cheers,Ilteber
_______________________________________________ Nektar-users mailing list 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