/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2412                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

numberOfSubdomains  12;

// scotch: graph-based partitioning — best for irregular block meshes like this
// L-shaped domain. Minimises inter-processor face count automatically.
// No need to specify nx/ny/nz splits manually.
method          scotch;

// If scotch is unavailable on your system, use the hierarchical alternative:
// method          hierarchical;
// hierarchicalCoeffs
// {
//     n           (12 1 1);   // split only in x (streamwise) — correct for
//                              // a 2-D channel that is 1 cell deep in z
//     order       xyz;
//     delta       0.001;
// }

scotchCoeffs
{
    // processorWeights: leave uniform (all procs equal)
    // writeGraph: set true to inspect decomposition in ParaView
    writeGraph  false;
}

// ************************************************************************* //
