Path: blob/devel/elmerice/examples/InverseMethods_OLD/RunTest.sh
3203 views
#!/bin/bash12# Define the number of partitions (has to be a parallel run, i.e. np>1 !!)3export np=445# Test to run67file=Adjoint_Beta.sif # Control inverse method; optimisation of the slip coef.8#file=Adjoint_Beta_GradientValid.sif # Control inverse method; Compare Adjoint total derivative with finite difference9#file=Adjoint_Mu.sif # Control inverse method; optimisation of the Viscosity10#file=Adjoint_Mu_GradientValid.sif # Control inverse method; Compare Adjoint total derivative with finite difference11#file=Robin_Beta.sif # Robin inverse method; optimisation of the slip coef.12#file=Robin_Beta_GradientValid.sif # Robin inverse method; Compare Robin total derivative with finite difference1314## make compilation and Mesh15make clean16make17make Mesh1819# Run the test20echo $file > ELMERSOLVER_STARTINFO21mpirun -n $np ElmerSolver_mpi222324