20 lines
451 B
Plaintext
20 lines
451 B
Plaintext
|
|
#!/bin/bash
|
||
|
|
sed '/setup_case()/d' setup_case.py > temp_file
|
||
|
|
|
||
|
|
sed 's/def calceps/def calceps_standard/' ../pyCALC-RANS.py | \
|
||
|
|
sed 's/def fix_eps/def fix_eps_standard/' > temp_file1
|
||
|
|
|
||
|
|
# assemble with explicit newlines between each file
|
||
|
|
{
|
||
|
|
cat ../global
|
||
|
|
echo ""
|
||
|
|
cat temp_file
|
||
|
|
echo ""
|
||
|
|
cat modify_case.py
|
||
|
|
echo ""
|
||
|
|
cat calceps_NN_SR.py
|
||
|
|
echo ""
|
||
|
|
cat temp_file1
|
||
|
|
} > exec-pyCALC-RANS.py
|
||
|
|
|
||
|
|
/bin/python -u exec-pyCALC-RANS.py > out
|