From 2952525d110884ebd6bd0fa197207ff1ef740b76 Mon Sep 17 00:00:00 2001 From: Yeongdo Park Date: Fri, 31 Jan 2020 23:55:46 +0000 Subject: [PATCH] Create input preprocessor --- input-preprocessor.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 input-preprocessor.md diff --git a/input-preprocessor.md b/input-preprocessor.md new file mode 100644 index 0000000..6b461fe --- /dev/null +++ b/input-preprocessor.md @@ -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.