mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
42 lines
1.2 KiB
C++
42 lines
1.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: 6
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
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;
|
|
|
|
simpleCoeffs
|
|
{
|
|
n (4 2 1); // total must match numberOfSubdomains
|
|
delta 0.001;
|
|
}
|
|
|
|
hierarchicalCoeffs
|
|
{
|
|
n (4 2 1); // total must match numberOfSubdomains
|
|
delta 0.001;
|
|
order xyz;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|