Views:

MODELING TASK DESCRIPTION
Running different model scenarios with numerically complex setups can require simultaneous simulation in order to save computation time. If the user has a FEFLOW professional license or an essential license with 2 or more seats, the batch mode running multiple models at the same time is optional. 

 


SOLUTION
The following steps are necessary to successfully implement the batch mode. 


Step #01 - Prepare the folder structure as seen in Fig. 1 and save the .fem file into the femdata folder


Graphical user interface, application, Word<br><br>Description automatically generated

Fig. 1 - Batch folder view including .fem file in femdata folder



Step #02 - Create a .bat file in a text editor - see example in Fig. 2. The lines start with the "location of the FEFLOW executable" followed by the -work tag. Next is the "location of the batch file" plus the -dac tag. Last comes the name of the result file (.dac) and the name of the input file (.fem). You can either use the same input file or different ones.  

Pay attention to the extension, which needs to be .bat. If the extension is changed due to firewall protection, make sure to rename the file as shown in Fig. 3. 

Fig. 2 - Example of the batch file


Graphical user interface, application<br><br>Description automatically generated

Fig. 3 - Batch file name

 

 

Step #03 - Click on myruns. bat and let the models run.

Text<br><br>Description automatically generated

Fig. 4 - Running the batch file


Conclusion
Result files should look as shown in Fig. 5.

Graphical user interface, text, application<br><br>Description automatically generated

Fig 5 - Results of the script 




FURTHER INFORMATION & USEFUL LINKS

Manuals and Guidelines
FEFLOW 10.0 Documentation -  Command Line Mode


Training Courses
DHI Training Portal – Getting started with FEFLOW Python Interface


Related Articles
Knowledge Base Article - Starting Cloud Execution
 

Related Products: FEFLOW

Related Articles (1)

Comments (0)