TUT: test parallel for sphereTransport tutorial
This commit is contained in:
parent
3dbe6ef81f
commit
5c77932513
@ -6,4 +6,6 @@ cleanTimeDirectories
|
||||
|
||||
cleanFaMesh
|
||||
|
||||
rm -rf processor*
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
13
tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/Allrun-parallel
Executable file
13
tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/Allrun-parallel
Executable 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
|
||||
|
||||
#------------------------------------------------------------------------------
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
@ -19,7 +19,7 @@ solvers
|
||||
{
|
||||
Cs
|
||||
{
|
||||
solver PBiCG;
|
||||
solver PBiCGStab;
|
||||
preconditioner DILU;
|
||||
minIter 0;
|
||||
maxIter 2000;
|
||||
|
Loading…
Reference in New Issue
Block a user