Create a Decomp.inp File
The decomp.inp file specifies the widths in the I and J directions of each subdomain.
An example:
{
"number_i_subdomains": 2,
"number_j_subdomains": 2,
"number_active_subdomains": 4,
"i_subdomain_widths": [31,42],
"j_subdomain_widths": [19,28],
"active_flag":[1,1,1,1]
}
Each parts of the input file are described next.
"
number_i_subdomains
" - this specifies the number of subdomains in the I direction"
number_j_subdomains
" - this specifies the number of subdomains in the J direction"
number_active_subdomains
" - The total subdomains is equal to the number of I subdomains times the number of J subdomains."
i_subdomain_widths
" - Specifies the respective width in the I direction of each subdomain."
j_subdomain_widths
" - Specifies the respective width in the J direction of each subdomain.“
active_flag
- Specifies if that sub-domain is active. For most cases just set all equal to 1.
So the sum of the widths in each respective dimension must add up to the total grid width (or height) in each respective direction. In the example decomp.inp file shown above, this would amount to a 'global' IC=73 and JC=47 in the efdc.inp file (Card 9).