mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: multi-world tutorial setup with circular connectivity
This commit is contained in:
23
tutorials/basic/laplacianFoam/multiWorld1/Allrun
Executable file
23
tutorials/basic/laplacianFoam/multiWorld1/Allrun
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# Run serial
|
||||
./Allrun.pre
|
||||
echo "Begin run"
|
||||
mpirun -app ./mpirun_worlds.schema
|
||||
|
||||
# Run with database
|
||||
./Allrun.addDatabase
|
||||
mv -f log.run_* 2>/dev/null
|
||||
echo "Begin run with database"
|
||||
mpirun -app ./mpirun_worlds.schema
|
||||
|
||||
## Run parallel
|
||||
## ./Allrun.pre-parallel
|
||||
## mpirun -app ./mpirun.schema
|
||||
|
||||
echo "End"
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user