Newer
Older
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
version 2.0;
format ascii;
class dictionary;
note "mesh decomposition control dictionary";
location "system";
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 8;
//- Keep owner and neighbour on same processor for faces in zones:
//- Keep owner and neighbour on same processor for faces in patches:
// (makes sense only for cyclic patches)
//preservePatches (cyclic_half0 cyclic_half1);
//- Use the volScalarField named here as a weight for each cell in the
// decomposition. For example, use a particle population field to decompose
// for a balanced number of particles in a lagrangian simulation.
// weightField dsmcRhoNMean;
method scotch;
// method multiLevel;
// Decomposition methods to apply in turn. This is like hierarchical but
// fully general - every method can be used at every level.
//method simple;
//simpleCoeffs
//{
// n (2 1 1);
// delta 0.001;
//}
method scotch;
numberOfSubdomains 4;
method scotch;
}
}
// Desired output
}
hierarchicalCoeffs
{
/*
processorWeights
(
1
1
1
1
);
*/
{
//processorWeights
//(
// 1
// 1
// 1
// 1
//);
//writeGraph true;
//strategy "b";
}
//distributed yes;
//// Per slave (so nProcs-1 entries) the directory above the case.
//(
// "/tmp"
// "/tmp"
//);
// ************************************************************************* //