|
[Sponsors] |
March 13, 2019, 10:56 |
Rerun Case for a range of BCs
|
#1 |
New Member
Mark
Join Date: Oct 2018
Posts: 18
Rep Power: 7 |
Hi there!
I am running reactingFOAM case and need to do the following: I am interested in running the case at 50 different inlet velocities (everything else is exactly the same) - i.e. if it was done manually, I would create fifty case folders and change velocities manually in the 0 folder and run all those cases.. My question is - is there any way to automate this if I know all the 50 different velocities I am interested in (maybe utilise matrix input U = [ 1 1.1 1.2 ... ]) Thank you! |
|
March 13, 2019, 12:46 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65 |
There might be a utility but...
I would create a shell script that does exactly what you say Code:
#! for arg in "1" "1.1" "1.2"; do cp -r originalName newNamewith$arg blah blah blah done |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressure instabilities with interDyMFoam for the floatingObject case | nbadano | OpenFOAM Running, Solving & CFD | 15 | October 15, 2021 06:35 |
A question about a simple ceiling fan simulation (no inlet/outlet BCs) | Tellur | STAR-CCM+ | 3 | June 9, 2017 08:34 |
Fluent Radiation/porous media | Schmitt pierre-Louis | FLUENT | 26 | September 1, 2016 10:29 |
How to Initialise my LES case using my RANS case is there any utility for it ? | Alhasan | OpenFOAM Running, Solving & CFD | 2 | May 10, 2014 00:14 |
Numerical error or case error? Flow in a 3D pipe | fsalvucci | OpenFOAM | 40 | January 30, 2013 07:10 |