diff --git a/tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/Allclean b/tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/Allclean index e977080539..9752129998 100755 --- a/tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/Allclean +++ b/tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/Allclean @@ -6,4 +6,6 @@ cleanTimeDirectories cleanFaMesh +rm -rf processor* + #------------------------------------------------------------------------------ diff --git a/tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/Allrun-parallel b/tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/Allrun-parallel new file mode 100755 index 0000000000..178280c9f9 --- /dev/null +++ b/tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/Allrun-parallel @@ -0,0 +1,13 @@ +#!/bin/sh +cd ${0%/*} || exit 1 # Run from this directory +. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions + +runApplication makeFaMesh + +runApplication decomposePar + +runParallel $(getApplication) + +runApplication reconstructPar + +#------------------------------------------------------------------------------ diff --git a/tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/system/decomposeParDict b/tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/system/decomposeParDict new file mode 100644 index 0000000000..017e8b098d --- /dev/null +++ b/tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/system/decomposeParDict @@ -0,0 +1,27 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: plus | +| \\ / A nd | Web: www.OpenFOAM.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +numberOfSubdomains 8; + +method simple; + +coeffs +{ + n (2 2 2); +} + + +// ************************************************************************* // diff --git a/tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/system/faSolution b/tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/system/faSolution index d915681956..c132d99b21 100644 --- a/tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/system/faSolution +++ b/tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/system/faSolution @@ -19,7 +19,7 @@ solvers { Cs { - solver PBiCG; + solver PBiCGStab; preconditioner DILU; minIter 0; maxIter 2000;