generate_boundary doesn't work for 2D fields
If the function generate_boundary is used with 2D fields it doesn't work because walberla only understands 3D fields. This could be solved by adding 0 as a third argument to the call of the field variables