Create input preprocessor

Yeongdo Park 2020-01-31 23:55:46 +00:00
parent 7991fce94f
commit 2952525d11

25
input-preprocessor.md Normal file

@ -0,0 +1,25 @@
itape.py is an input preprocessor to support run over loop with command line argument and compatibility.
It has a hard-coded dictionary of default values for all arguments.
The default values in dictionary can be override with provided input file.
## Use case 1 - Test Run
```
$ python itape.py | ./ex -
```
Run 1-D laminar flame calculation with hard-coded default values.
## Use case 2 - Compatibility Run
```
$ python itape.py --default SOME_OLD_INPUTFILE | ./ex -
```
Run 1-D laminar flame calculation with old incompatible input file.
## Use case 3 - Argument Run
```
$ python itape.py --dt 0.0001 | ./ex -
```
Run 1-D laminar flame calculation with hard-coded default values except dt.