ENH: Adding solarBeamWithTrees tutorial

This commit is contained in:
sergio
2019-12-13 16:40:32 -08:00
parent 33e0c4ba88
commit 84095ef631
49 changed files with 2557 additions and 0 deletions

View 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
#------------------------------------------------------------------------------