|
[Sponsors] |
December 12, 2014, 12:21 |
setSet in bash-script (Allrun-file)
|
#1 |
New Member
Björn N.
Join Date: Jun 2013
Posts: 11
Rep Power: 13 |
Hello Foamers!
I try to set up a bash script for my case that automatically sets up the geometrical parameters. The problem is, that I want to use setSet which opens a subroutine. Can someone tell me how I can write in this subroutine from my bashscript? It looks like this at the moment. ($parameter1 is a value from geometrieparameter.sh) Code:
#!/bin/sh #geometrical parameters . ./constant/parameter/geometrieparameter.sh cd constant/polyMesh perl -w blockMeshDict.pl cd ../.. blockMesh topoSet setSet cellSet c0 new cylinderToCell (0 0 0) (0 0 0.01) $parameter1 cellZoneSet c0Zone new setToCellZone c0 checkMesh -allGeometry -allTopology Björn |
|
December 12, 2014, 12:25 |
|
#2 |
Senior Member
|
Hi,
There's -batch command line key: Code:
Usage: setSet [OPTIONS] options: -batch <file> process in batch mode, using input from specified file ... |
|
December 12, 2014, 13:56 |
|
#3 |
New Member
Björn N.
Join Date: Jun 2013
Posts: 11
Rep Power: 13 |
Thank you alexeym!
|
|
Tags |
bash setset |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 04:23 |
2.0.x on Mac OSX | niklas | OpenFOAM Installation | 74 | March 28, 2012 17:46 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |