TUT: test parallel for sphereTransport tutorial

This commit is contained in:
Mark Olesen 2018-04-03 16:43:05 +02:00
parent 3dbe6ef81f
commit 5c77932513
4 changed files with 43 additions and 1 deletions

View File

@ -6,4 +6,6 @@ cleanTimeDirectories
cleanFaMesh
rm -rf processor*
#------------------------------------------------------------------------------

View File

@ -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
#------------------------------------------------------------------------------

View File

@ -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);
}
// ************************************************************************* //

View File

@ -19,7 +19,7 @@ solvers
{
Cs
{
solver PBiCG;
solver PBiCGStab;
preconditioner DILU;
minIter 0;
maxIter 2000;