PhiFlow icon indicating copy to clipboard operation
PhiFlow copied to clipboard

A differentiable PDE solving framework for machine learning

Results 23 PhiFlow issues
Sort by recently updated
recently updated
newest added

**New features** * Functions `stack`, `concat`, `unstack`, `rename_dims`, `pack_dims`, `unpack_dim`, `expand`, `flatten` and shape functions now work with fields, scenes and geometries in addition to tensors. * Grid extrapolations can...

For example, in `./demos/smoke_plume.py`. I try to get velocity grid values ``` python """ Smoke Plume Hot smoke is emitted from a circular region at the bottom. The simulation computes...

Hello! I'm running the simple smoke plume demo from the examples and tried comparing the results with phi.torch vs phi.jax. The top gif shows the results I'm getting with phi.jax,...

Hi, Thanks for creating the tool. I'm still learning it. I noticed that `field.spatial_gradient()` calls internally `math.spatial_gradient()`, but some arguments to the latter (e.g. `difference`, `dims`) are not available to...

Thanks for your great efforts in developing mantaflow and PhiFlow. Since the mantaflow stops update a long time ago. I wonder whether I can use the PhiFlow to read .uni...

Hi, The workaround mentioned in #154 does not work if I want to use the value from the jit-compiled function: ``` from phi.tf.flow import * @math.jit_compile def step(velocity: Field, wind:...

Hi, Many thanks for implementing Free stream boundary condition #138. It works nicely on scalar fields. But how to use it on the velocity field? I am willing to set...

When I try the karman vortex case, I want to calculate from a given ndarray. such as: velocity_field = np.random.rand(128, 128, 2) velocity_repeat = np.repeat(velocity_field[np.newaxis, :, :, :], repeats=10, axis=0)...

Hi! First thanks for the library. I was wondering if it was possible to simulate a two phase flow, the same way that can be done through OpenFOAM with "interFoam"...

Is it possible to define some complex geometry domain for simulation? For example, a triangle, ellipse or even a car domain in the karman vortex street? I think it should...