diff --git a/tutorials/basic/laplacianFoam/flange/0/T b/tutorials/basic/laplacianFoam/flange/0/T index a06c72f474..3bd059cae3 100644 --- a/tutorials/basic/laplacianFoam/flange/0/T +++ b/tutorials/basic/laplacianFoam/flange/0/T @@ -20,7 +20,7 @@ internalField uniform 273; boundaryField { - patch1 + "(patch1|patch3)" { type zeroGradient; } @@ -31,11 +31,6 @@ boundaryField value uniform 273; } - patch3 - { - type zeroGradient; - } - patch4 { type fixedValue; diff --git a/tutorials/basic/laplacianFoam/flange/Allclean b/tutorials/basic/laplacianFoam/flange/Allclean index 9a704a4f84..426e7ad42e 100755 --- a/tutorials/basic/laplacianFoam/flange/Allclean +++ b/tutorials/basic/laplacianFoam/flange/Allclean @@ -4,6 +4,5 @@ cd "${0%/*}" || exit # Run from this directory #------------------------------------------------------------------------------ cleanCase -rm -rf Fieldview #------------------------------------------------------------------------------ diff --git a/tutorials/basic/laplacianFoam/flange/Allrun b/tutorials/basic/laplacianFoam/flange/Allrun index 67d80e3f93..c545bfb938 100755 --- a/tutorials/basic/laplacianFoam/flange/Allrun +++ b/tutorials/basic/laplacianFoam/flange/Allrun @@ -3,18 +3,7 @@ cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions #------------------------------------------------------------------------------ -runAnsysToFoam() -{ - if [ -f log.ansysToFoam ] - then - echo "ansysToFoam already run on $PWD: remove log file to re-run" - else - echo "Running ansysToFoam: converting mesh $1" - ansysToFoam $1 -scale $2 > log.ansysToFoam 2>&1 - fi -} - -runAnsysToFoam flange.ans 0.001 +runApplication ansysToFoam flange.ans -scale 0.001 runApplication $(getApplication) runApplication foamToEnsight -noZero runApplication foamToEnsightParts -noZero diff --git a/tutorials/basic/laplacianFoam/flange/system/fvSchemes b/tutorials/basic/laplacianFoam/flange/system/fvSchemes index b5646d6b67..acd0420293 100644 --- a/tutorials/basic/laplacianFoam/flange/system/fvSchemes +++ b/tutorials/basic/laplacianFoam/flange/system/fvSchemes @@ -22,7 +22,7 @@ ddtSchemes gradSchemes { - default Gauss linear; + default none; grad(T) Gauss linear; }