Masking objects allow you to shape your fluid volume by cutting out particles. The entire process is similar to Boolean subtraction operations, but requires a certain workflow.

 

The blue area should be filled with particles, the white areas will cut aways.

 

To achieve the look from the image below go through a few steps. In the first step, create four cubes, arrange them, and specify the one you want to fill with particles (named "Fill_Object" here).

 

 

 

 

Time to adjust the mask objects:

 

 

 

The result is a particle volume with notches.

The best and fastest way to proceed is to create an initial state from the fluid: