Module phi.physics
Contains built-in physics functions, mainly for partial differential equations, such as incompressible fluids.
The actual physics functions are located in the submodules of phi.physics
.
Some physics functions have built-in time advancement while others return the PDE term, i.e. the derivative.
The time-advancing functions always take a time increment argument called dt
.
See the phi.physics
module documentation at https://tum-pbs.github.io/PhiFlow/Physics.html
Expand source code
"""
Contains built-in physics functions, mainly for partial differential equations, such as incompressible fluids.
The actual physics functions are located in the submodules of `phi.physics`.
Some physics functions have built-in time advancement while others return the PDE term, i.e. the derivative.
The time-advancing functions always take a time increment argument called `dt`.
See the `phi.physics` module documentation at https://tum-pbs.github.io/PhiFlow/Physics.html
"""
Sub-modules
phi.physics.advect
-
Container for different advection schemes for grids and particles …
phi.physics.diffuse
-
Functions to simulate diffusion processes on
Field
objects. phi.physics.fluid
-
Functions for simulating incompressible fluids, both grid-based and particle-based …