restarting a parallel simulation
******************* 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. ******************* Hi Everone, I have a parallel simulation with a created directory of the initial conditions (caseName_0.chk). There are 64 processes and inside the directory, I see P0000000.fld up to P0000063.fld. Now the question is, what should I change within the session file if I'd like to restart the simulation from these initial conditions? Should it be something like: <F VAR="u,v,w,p" FILE="caseName.fld" /> I wonder if this is correct, as I have no single file named "caseName.fld". Kind regards syavash
HI, If you move the directory caseName_0.chk to caseName.fld then the code should read the initial conditions from these parallel files using the syntax you have suggested below. It checks to see if it is a filename or a directory and reads the files according to this. Cheers, Spencer. From: nektar-users-bounces@imperial.ac.uk <nektar-users-bounces@imperial.ac.uk> on behalf of Ehsan Asgari <eh.asgari@gmail.com> Date: Monday, 13 March 2023 at 11:55 To: nektar-users <nektar-users@imperial.ac.uk> Subject: [Nektar-users] restarting a parallel simulation This email from eh.asgari@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<https://spam.ic.ac.uk/SpamConsole/Senders.aspx> to disable email stamping for this address. Hi Everone, I have a parallel simulation with a created directory of the initial conditions (caseName_0.chk). There are 64 processes and inside the directory, I see P0000000.fld up to P0000063.fld. Now the question is, what should I change within the session file if I'd like to restart the simulation from these initial conditions? Should it be something like: <F VAR="u,v,w,p" FILE="caseName.fld" /> I wonder if this is correct, as I have no single file named "caseName.fld". Kind regards syavash
Thank you Spencer I was wondering if I missed this point in the user-guide. Kind regards syavash On Mon, Mar 13, 2023 at 3:28 PM Sherwin, Spencer J <s.sherwin@imperial.ac.uk> wrote:
HI,
If you move the directory caseName_0.chk to caseName.fld then the code should read the initial conditions from these parallel files using the syntax you have suggested below. It checks to see if it is a filename or a directory and reads the files according to this.
Cheers,
Spencer.
*From: *nektar-users-bounces@imperial.ac.uk < nektar-users-bounces@imperial.ac.uk> on behalf of Ehsan Asgari < eh.asgari@gmail.com> *Date: *Monday, 13 March 2023 at 11:55 *To: *nektar-users <nektar-users@imperial.ac.uk> *Subject: *[Nektar-users] restarting a parallel simulation
This email from eh.asgari@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 <https://spam.ic.ac.uk/SpamConsole/Senders.aspx> to disable email stamping for this address.
Hi Everone,
I have a parallel simulation with a created directory of the initial conditions (caseName_0.chk). There are 64 processes and inside the directory, I see P0000000.fld up to P0000063.fld.
Now the question is, what should I change within the session file if I'd like to restart the simulation from these initial conditions?
Should it be something like:
<F VAR="u,v,w,p" FILE="caseName.fld" />
I wonder if this is correct, as I have no single file named "caseName.fld".
Kind regards
syavash
Hi, You just point your session file to the .fld or .chk directory you wish to restart from.
Should it be something like:
<F VAR="u,v,w,p" FILE="caseName.fld" />
This seems to be right. At the same time, you can manipulate Info.xml if you e.g. want to reset time of chk file numbering. Cheers, Stan Best regards, Stanisław Gepner, Ph.D. *Faculty of Power and Aeronautical Engineering* Nowowiejska 21/25 Str. 00-665 Warsaw, Poland phone +48 (22) 234 51 70 <https://www.pw.edu.pl/engpw> On 13.03.2023 12:54, Ehsan Asgari wrote:
This email from eh.asgari@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 <https://spam.ic.ac.uk/SpamConsole/Senders.aspx> to disable email stamping for this address.
Hi Everone,
I have a parallel simulation with a created directory of the initial conditions (caseName_0.chk). There are 64 processes and inside the directory, I see P0000000.fld up to P0000063.fld. Now the question is, what should I change within the session file if I'd like to restart the simulation from these initial conditions?
Should it be something like:
<F VAR="u,v,w,p" FILE="caseName.fld" />
I wonder if this is correct, as I have no single file named "caseName.fld".
Kind regards syavash
_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
participants (3)
-
Ehsan Asgari
-
Sherwin, Spencer J
-
Stanisław Gepner