29 lines
1.1 KiB
C++
29 lines
1.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 2.2.2 |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object decomposeParDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
numberOfSubdomains 20; //number of processors
|
|
method simple; //decomposition method
|
|
preservePatches (xMin xMax yMin yMax); //for cyclic BCs
|
|
|
|
simpleCoeffs
|
|
{
|
|
n (5 4 1); //number of processors in x,y,z direction
|
|
delta 0.001;
|
|
}
|
|
|
|
// ************************************************************************* //
|