Added multiple olaflow cases (short run, calibration of porosity parameters)
This commit is contained in:
parent
c7e9efe9ac
commit
2b07e47d01
197 changed files with 29749 additions and 5 deletions
|
|
@ -1,11 +1,19 @@
|
|||
#!/usr/bin/env sh
|
||||
echo START
|
||||
export inp="of"
|
||||
read -p "Case: " out
|
||||
export out_of="out_of_$out"
|
||||
export out_post="out_post_$out"
|
||||
export cas="$1"
|
||||
export inp_of="of_$cas"
|
||||
export out_of="out_of_$cas"
|
||||
export out_post="out_post_$cas"
|
||||
|
||||
cp -r --reflink $inp $out_of
|
||||
if [[ ! -d $inp_of ]]
|
||||
then echo $inp_of not found
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 0
|
||||
exit 0
|
||||
|
||||
cp -r --reflink $inp_of $out_of
|
||||
pushd $out_of
|
||||
source /opt/OpenFOAM/OpenFOAM-9/etc/bashrc
|
||||
mkdir log
|
||||
|
|
|
|||
Reference in a new issue