|
[Sponsors] |
December 6, 2016, 21:20 |
Scheduling different cases
|
#1 |
New Member
-
Join Date: Oct 2016
Posts: 15
Rep Power: 9 |
hello everybody
I have a question about scheduling. I'd like to solve different cases after each other, meaning that OpenFoam starts solving a new case as soon as the one before ended. From case to case inlet velocity and inlet pressure would vary. I guess I can program it with the Allrun directory (I am using the interFoam solver (damBreak tutorial)). But I am not sure how. :-( Has anyone already used the Allrun directory for that purpose? If yes, how did your code look like? Thank you a lot for your help! :-) |
|
December 7, 2016, 03:33 |
|
#2 |
Senior Member
|
Hi,
Not sure I got your question right but what is wrong with simple (assuming your BS is Torque): Code:
... cd $PBS_O_WORKDIR yourSolverName -case <case1 folder> yourSolverName -case <case2 folder> ... yourSolverName -case <caseN folder> ... Code:
simulations-folder/ all-my-simulations.job case1/ case2/ case3/ ... caseN/ |
|
December 7, 2016, 23:39 |
|
#3 |
New Member
-
Join Date: Oct 2016
Posts: 15
Rep Power: 9 |
Thank you very much for answering. This was exactly what I was looking for
I tried it and it worked properly! Thank you!!!! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is OpenFOAM tutorial cases valid? | j-avdeev | OpenFOAM Running, Solving & CFD | 3 | September 19, 2012 15:45 |
How to speed up the simulation of a large amount of similar steady state cases | tss | Main CFD Forum | 4 | November 5, 2010 14:36 |
CFD Validation Cases | doug | Main CFD Forum | 4 | January 11, 2010 19:28 |
Directory constructions of complex cases | 7islands | OpenFOAM | 2 | August 26, 2008 05:25 |
Standard CFD test cases? | Damon Qualski | Main CFD Forum | 1 | April 10, 2003 14:10 |