|
[Sponsors] |
January 5, 2021, 06:08 |
Running CFD cases one after the other?
|
#1 |
New Member
Join Date: Jan 2021
Posts: 3
Rep Power: 5 |
Is there any way to automatically run another case after an initial case finishes solving? I need to simulate around 20 very similar cases that differ in the parameters of the linearSpring. It would save alot of time if I'm able to automatically start another case after one finishes. I'm using OpenFoam on WSL.
|
|
January 5, 2021, 19:12 |
|
#3 |
New Member
Join Date: Jan 2021
Posts: 3
Rep Power: 5 |
The documentation is kind of lacking or maybe I don't know where to look. Could you perhaps elaborate on the Allrun script? Thanks
|
|
January 6, 2021, 18:08 |
|
#4 |
Member
Petros Ampatzidis
Join Date: Oct 2018
Location: Bath, UK
Posts: 64
Rep Power: 8 |
Say you have two different simple cases (case1 and case2).
You can run an Allrun script with Code:
./Allrun The Allrun script can be something like: Code:
#!/bin/bash cd case1 blockMesh simpleFoam cd .. cd case2 blockMesh simpleFoam |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running Multiple OpenFOAM Cases at Once on HPC | papamilad | Hardware | 5 | August 2, 2019 13:20 |
[General] How to compare 2 CFD cases in Paraview? | leungjay | ParaView | 0 | April 20, 2018 00:35 |
CFD Online Running on Backup Server | pete | Site News & Announcements | 0 | March 25, 2011 15:51 |
CFD for fans & blower housings | David Carroll | Main CFD Forum | 8 | August 24, 2000 18:25 |
Which is better to develop in-house CFD code or to buy a available CFD package. | Tareq Al-shaalan | Main CFD Forum | 10 | June 13, 1999 00:27 |