openfoam/tutorials/preProcessing/createZeroDirectory/snappyMultiRegionHeater/system/decomposeParDict
2022-12-21 16:16:18 +00:00

51 lines
1.3 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2212 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 4;
// method scotch;
method hierarchical;
// method simple;
// method manual;
coeffs
{
n (2 2 1);
dataFile "decompositionData";
}
scotchCoeffs
{
//processorWeights ( 1 1 1 1 );
//writeGraph true;
//strategy "b";
}
/*
constraints
{
//- Keep owner and neighbour on same processor for faces in zones:
faces
{
type preserveFaceZones;
zones (heater solid1 solid3);
}
}
*/
// ************************************************************************* //