externalCoupledHeater

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions

./Allrun.pre

# Remove lock file on interrupt
trap ‘
m -f comms/OpenFOAM.lock 2>/dev/null’ INT

#– Run on single processor
#runApplication $(getApplication) &
# Simulated external solver
#runApplication ./externalSolver

# Decompose
runApplication decomposePar -allRegions

## Can verify parallel operation of createExternalCoupledPatchGeometry
#
m -f log.createExternalCoupledPatchGeometry
# runParallel createExternalCoupledPatchGeometry \r
# -regions ‘(topAir heater)’ coupleGroup \r
# -commsDir $PWD/comms

# Run OpenFOAM
runParallel $(getApplication) &

# Simulated external solver
runApplication ./externalSolver

# Reconstruct
runApplication reconstructPar -allRegions

#——————————————————————————

実行年月:06/19/2020