|April 3, 2012, 06:26||
Multiple consecutive runs batch/script
Join Date: Aug 2009
Posts: 3Rep Power: 5
I'm wondering if there's a way of setting up multiple OpenFOAM runs to run consecutively with one starting upon the completion of another.
I know you can write multiple commands in the terminal with && etc but this starts all the OpenFOAM runs in the command without waiting for the initial one to complete, so they all end up running at the same time.
Hope someone can help.
|April 3, 2012, 06:51||
Join Date: May 2009
Location: Delft, Netherlands
Posts: 749Rep Power: 12
You can write a bash script as follows:
#!/bin/bash foamSolver1 > out1.log foamSolver2 > out2.log foamSolver3 > out3.log
|Thread||Thread Starter||Forum||Replies||Last Post|
|how to set periodic boundary conditions||Ganesh||FLUENT||12||April 10, 2013 00:44|
|best practice: how to manage multiple runs?||mirko||OpenFOAM Running, Solving & CFD||2||May 3, 2011 10:48|
|OpenFOAM static build on Cray XT5||asaijo||OpenFOAM Installation||9||April 6, 2011 12:21|
|setting up multiple runs||mapuma||FLUENT||1||February 12, 2010 01:28|
|Automating multiple runs within pre?||Zheng||CFX||7||February 3, 2005 15:33|