OpenFOAM-dev / data /etc /caseDicts /preProcessing /decomposeParDict
introvoyz042's picture
Migrated from GitHub
5a600cf verified
Raw History Blame Contribute Delete
1.12 kB
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class dictionary;
location "system";
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 8;
/*
Main methods are:
1) Geometric: "simple"; "hierarchical", with ordered sorting, e.g. xyz, yxz
2) Scotch: "scotch", when running in serial; "ptscotch", running in parallel
*/
method hierarchical;
simple
{
n (4 2 1); // total must match numberOfSubdomains
}
hierarchical
{
n (4 2 1); // total must match numberOfSubdomains
order xyz;
}
// ************************************************************************* //