Dear Support and Users,
Is there any way to do batch calculations in a straightforward way? Right now, in order to do that, I modify the runcase in order to launch several calculations (I'm not sure this is the best way to do that). But in Code_Saturne 2.0rc1, in Calculation management/Prepare Batch Calculation, I noticed we can set different xml files in "User files", but when I launch Code_Saturne, only the xml I opened with Code_Saturne runs.
Any idea?
Best regards,
Stéphane
Batch calculations
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
Re: Batch calculations
Hello,
"User input files" are not intended for additional XML files, for for any other file that is present in the DATA subdirectory and that may be read by user Fortran subroutines for example.
So generating a series of "runcase" files each using a different XML file is currently the best solution .If only a few parameters are changed for a parametric study, replacing the parameters in the runcase or XML file by a specific string and using a simple script to generate a series of runcase/xml files from that template by replacing those strings with the parameter values with a command such as "sed" might be a good idea; at least, that's how we currently automate things when we need to.
Regards,
"User input files" are not intended for additional XML files, for for any other file that is present in the DATA subdirectory and that may be read by user Fortran subroutines for example.
So generating a series of "runcase" files each using a different XML file is currently the best solution .If only a few parameters are changed for a parametric study, replacing the parameters in the runcase or XML file by a specific string and using a simple script to generate a series of runcase/xml files from that template by replacing those strings with the parameter values with a command such as "sed" might be a good idea; at least, that's how we currently automate things when we need to.
Regards,
Re: Batch calculations
Hello,
Ok, thank a lot for you for your answer!
Regards,
Stéphane
Ok, thank a lot for you for your answer!
Regards,
Stéphane