This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/incompressible/icoDyMFoam/turboPassageRotating/system/decomposeParDict

75 lines
1.7 KiB
Text
Raw Normal View History

2010-12-27 11:50:08 +00:00
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
2013-12-11 16:09:41 +00:00
| \\ / F ield | foam-extend: Open Source CFD |
2013-12-11 23:41:18 +00:00
| \\ / O peration | Version: 3.0 |
2013-12-11 16:09:41 +00:00
| \\ / A nd | Web: http://www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
2013-12-11 16:09:41 +00:00
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
(
);
// ************************************************************************* //