|
[Sponsors] |
May 13, 2013, 19:34 |
Multi job OpenFoam
|
#1 |
Member
|
Hi there,
My problem is simple, I am doing the same experiment with different grid. I wanna know if there is a way to launch the different experiments one after one with one, with a script how will directly start the other job after the end of one simulation. Thank you for your answers ----------------------------------------------------------- Sorry i found some leads just after post the message there i will try it http://www.cfd-online.com/Forums/ope...scheduler.html |
|
May 14, 2013, 04:49 |
|
#2 |
Member
Join Date: Nov 2012
Posts: 83
Rep Power: 13 |
just put this skript in the folder where all the folders with the simulation are and modify it. Skripting with linux is pretty easy just use the commands you normally type in the console
Code:
#!/bin/bash for file in N400 ; do if [ -d "$file" ] ; then cd "$file"; for file2 in TriQuad ; do if [ -d "$file2" ] ; then cd "$file2"; echo "Starte Rechnung fuer den Ordner $file $file2" mpirun -np 12 rhoCentralFoam -parallel > ${file2}Calc.log; reconstructPar > ${file2}reCon.log; Mach > ${file2}Mach.log; echo "$file $file2" cd ..; fi done cd ..; fi done |
|
May 14, 2013, 21:47 |
|
#3 | |
Member
|
Hi, Thank you for your contrubution,
I use a simple script for now no time to do further for me Quote:
|
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM Foundation Releases OpenFOAMŪ Version 2.1.1 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | May 31, 2012 09:07 |
OpenFOAM Install problem | masb | OpenFOAM | 3 | May 25, 2009 11:32 |
Summer School on Numerical Modelling and OpenFOAM | hjasak | OpenFOAM | 5 | October 12, 2008 13:14 |
OpenFOAM Training and Workshop | Hrvoje Jasak | Main CFD Forum | 0 | October 7, 2005 07:14 |
cfd job | Dr. Don I anyanwu | Main CFD Forum | 20 | May 17, 1999 15:13 |