#!/bin/sh

# This tool is developed by Sebastiano Stipa, Politecnico di Milano, 2020 

# USER INPUTS -----------------------------------------------------------
processors=8   # number of PC processors for parallel computation
#------------------------------------------------------------------------

echo "Starting OpenFOAM job at: " $(date)




blockMesh                                    | tee log.blockMesh



echo "Running decomposePar" 
decomposePar                                

echo "Running the decomposed case using the simpleFoam solver" 
mpirun -np 8 simpleFoam -parallel  | tee log.simpleFoam
                             


