mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
ENH: Adding solarBeamWithTrees tutorial
This commit is contained in:
25
tutorials/heatTransfer/chtMultiRegionFoam/solarBeamWithTrees/Allrun-parallel
Executable file
25
tutorials/heatTransfer/chtMultiRegionFoam/solarBeamWithTrees/Allrun-parallel
Executable file
@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions
|
||||
|
||||
# Setup case
|
||||
./Allrun.pre
|
||||
|
||||
#-- Run in parallel
|
||||
|
||||
# Decompose
|
||||
runApplication decomposePar -allRegions -constant
|
||||
|
||||
# Set the initial fields
|
||||
restore0Dir
|
||||
|
||||
runParallel $(getApplication)
|
||||
|
||||
# Reconstruct
|
||||
runApplication reconstructPar -allRegions
|
||||
|
||||
echo
|
||||
echo "Use paraFoam -touch-all to create files for paraview post-processing"
|
||||
echo
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user