[demos] smoke_plume.py make inflow round
@@ -7,9 +7,9 @@ from phi.flow import *
DOMAIN = dict(x=64, y=64, bounds=Box[0:100, 0:100])
-INFLOW = CenteredGrid(Sphere(center=(50, 10), radius=5), extrapolation.BOUNDARY, **DOMAIN) * 0.2
velocity = StaggeredGrid((0, 0), extrapolation.ZERO, **DOMAIN) # or use CenteredGrid
smoke = CenteredGrid(0, extrapolation.BOUNDARY, x=200, y=200, bounds=DOMAIN['bounds'])
+INFLOW = 0.2 * CenteredGrid(SoftGeometryMask(Sphere(center=(50, 10), radius=5)), extrapolation.ZERO, resolution=smoke.resolution, bounds=smoke.bounds)
pressure = None
for _ in view(smoke, velocity, 'pressure', play=False).range(warmup=1):
