Files
openfoam/tutorials/basic/laplacianFoam/multiWorld/Allrun
Mark Olesen aca366d293 TUT: replace remaining templated thermoType
TUT: some simplification for multiWorld test

STYLE: remove some editor junk
2021-07-15 16:47:22 +02:00

30 lines
741 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
# Run serial
./Allrun.pre
mpirun -app ./mpirun_left_right.schema
# Run with database
mv -f log.run_left* log.run_right*
for subcase in left right
do
(
cd "$subcase" || exit
foamListTimes -rm
restore0Dir
foamDictionary 0/T -entry boundaryField.coupled.sampleDatabase -add true
)
done
mpirun -app ./mpirun_left_right.schema
## Run parallel
## ./Allrun.pre-parallel
## mpirun -app ./mpirun.schema
#------------------------------------------------------------------------------