78 lines
1.7 KiB
Text
78 lines
1.7 KiB
Text
|
/*---------------------------------------------------------------------------*\
|
||
|
| ========= | |
|
||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||
|
| \\ / O peration | Version: 1.0 |
|
||
|
| \\ / A nd | Web: http://www.openfoam.org |
|
||
|
| \\/ M anipulation | |
|
||
|
\*---------------------------------------------------------------------------*/
|
||
|
|
||
|
FoamFile
|
||
|
{
|
||
|
version 2.0;
|
||
|
format ascii;
|
||
|
class dictionary;
|
||
|
object decomposeParDict;
|
||
|
}
|
||
|
|
||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||
|
|
||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||
|
// preserveFaceZones ( interface1_faces interface2_faces );
|
||
|
|
||
|
//- Keep owner and neighbour on same processor for faces in patches:
|
||
|
// preservePatches ( interface1 interface2 );
|
||
|
|
||
|
globalFaceZones
|
||
|
(
|
||
|
interface1_faces
|
||
|
interface2_faces
|
||
|
rotor_cyclic_upper_faces
|
||
|
rotor_cyclic_lower_faces
|
||
|
); // Those are the names of the face zones created previously
|
||
|
|
||
|
numberOfSubdomains 4; // The problem will be decomposed in 4 different processors
|
||
|
|
||
|
method scotch;
|
||
|
// method metis;
|
||
|
|
||
|
simpleCoeffs
|
||
|
{
|
||
|
n (2 2 1);
|
||
|
delta 0.001;
|
||
|
}
|
||
|
|
||
|
metisCoeffs
|
||
|
{
|
||
|
/*
|
||
|
processorWeights
|
||
|
(
|
||
|
1
|
||
|
1
|
||
|
1
|
||
|
1
|
||
|
);
|
||
|
*/
|
||
|
}
|
||
|
|
||
|
scotchCoeffs
|
||
|
{
|
||
|
//processorWeights
|
||
|
//(
|
||
|
// 1
|
||
|
// 1
|
||
|
// 1
|
||
|
// 1
|
||
|
//);
|
||
|
//writeGraph true;
|
||
|
//strategy "b";
|
||
|
}
|
||
|
|
||
|
distributed no;
|
||
|
|
||
|
roots
|
||
|
(
|
||
|
);
|
||
|
|
||
|
|
||
|
// ************************************************************************* //
|