primalAdjoint

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

resourcesDir=$FOAM_TUTORIALS/incompressible/adjointOptimisationFoam/resources

cp $resourcesDir/param/naca0012/* 0
cp -r $resourcesDir/meshes/naca0012/polyMesh constant
runApplication decomposePar
runParallel $(getApplication)

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

実行年月:08/01/2020