I am currently trying to run a set of simulations where the mesh is constantly modified but the sif-file stays the same. As I do not want to replace results during the calculations each mesh is in a separate folder.
Currently, I need as much sif-files as I have meshs. The reason is the definition of the mesh inside the header-section of the sif-file which makes batch-operation a bit difficult. The other way would be the modification of the sif-file after each run which is also not straightforward when working with a Python script.
A nice feature would be, if the mesh file could be specified in the command line for calling the ElmerSolver. That would allow easy batch-operation as I would only need to modify the mesh position in the call to ElmerSolver. As Elmer places the results in the folder where the mesh is located, the results get separated nicely and I can save my project with a single sif-file and a bunch of mesh-directories.
In a way I like to call something like that:
Code: Select all
ElmverSolver case.sif mesh_directory_N
Is that already possible or can that be done?