CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   DecomposePar: assign patch to processor (

Dozer_94 July 25, 2019 11:44

DecomposePar: assign patch to processor
Hi all,

I would like to know how to set up decomposeParDict in such a way that cells adjacent to a patch (i.e. owners of the patch faces) are all assigned to one processor. Consider this:


processor0: patch0, patch1
processor1: patch2, patch3

Thanks in advance,

Carlo_P July 31, 2019 06:22

if you want, you can take a look into the DecomposeParDict file here:

I think that in your case, you have to put the patch in preservePatches.

If the geometry is simple (such as a pipe), you can enforce the division in geoemtrical divisions using

method simple;

simpleCoeffs{ n (divisionInXDirection divisionInYDirection divisionInZDirection); delta 0.001; }
I would like to suggest to use the more coplex command only if you are very familiar with parallel computation. In the 99% the scoth method gives very good results

All times are GMT -4. The time now is 15:58.