Hi,
I am running a 3-D couette flow problem with Fourier x and z basis and SinCos y basis. The physical domain has size (36, 36, 36), However, the coefficient domain ['c'] has size (18, 36, 35). As x and z have same basis it is strange for kx and kz to differ in size. I tried to understand this using some simpler 1D and 2D codes but the condition exists only for this particular 3D case.
Lx, Ly, Lz = (4*np.pi, 2., 2*np.pi)
nx, ny, nz = (36,36,36)
# Create bases and domain
x_basis = de.Fourier('x', nx, interval=(0, Lx), dealias=3/2)
y_basis = de.SinCos('y',ny, interval=(-Ly/2, Ly/2), dealias=3/2)
z_basis = de.Fourier('z', nz, interval=(0, Lz), dealias=3/2)
domain = de.Domain([x_basis, y_basis, z_basis], grid_dtype=np.float64)
Please help me understand this behavior of dedalus.
Thanks and Regards,
Ali