2dBoundaryLayerExample/boundary-layer-RANS-keps-NN/run-python

20 lines
451 B
Plaintext
Raw Normal View History

2026-04-24 13:14:31 +02:00
#!/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