dalesteam / dales

Dutch Atmospheric Large-Eddy Simulation model
GNU General Public License v3.0
54 stars 52 forks source link

FFTW Poisson solver and tile geometry #93

Closed fjansson closed 1 month ago

fjansson commented 8 months ago

The FFTW Poisson solver doesn't handle all tile geometries well. Problematic cases are

Fixes proposed in 8f2c585725b0903334b . @jiskattema and @v1kko could you have a look at them? There are some more details in the commit message. (@CasparJungbacker FYI)

Test case: BOMEX or RICO with the following grid settings

&RUN
...
nprocx     = 3
nprocy     = 2
/
&DOMAIN
itot       =  21  ! 3*7 
jtot       =  22  ! 2*11
kmax       =  97  ! prime
xsize      =  2100
ysize      =  2200
fjansson commented 1 month ago

The fixes have been merged, in main and in dev.