Hello,
One way to achieve a continuous inflow of liquid is to repeatedly sample new particles. For example, by placing `sampleLevelsetWithParticles()` in your simulation loop.
The phi argument of that function would define the inflow area. It could be derived from a `Shape` with the `computeLevelset()` function.
If you want to give your inflow some initial velocity, I recommend using `setSource()` before calling the sampling function. This way all new particles will be initialized with the velocity from the source grid.
Hope this helps,
Best wishes,
Sebastián