Create input preprocessor
parent
7991fce94f
commit
2952525d11
1 changed files with 25 additions and 0 deletions
25
input-preprocessor.md
Normal file
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.
|
||||
Loading…
Add table
Reference in a new issue