Module phi.physics
Contains builtin 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 builtin time advancement while others return the PDE term, i.e. the derivative.
The timeadvancing functions always take a time increment argument called dt
.
See the phi.physics
module documentation at https://tumpbs.github.io/PhiFlow/Physics.html
Expand source code
"""
Contains builtin 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 builtin time advancement while others return the PDE term, i.e. the derivative.
The timeadvancing functions always take a time increment argument called `dt`.
See the `phi.physics` module documentation at https://tumpbs.github.io/PhiFlow/Physics.html
"""
Submodules
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 gridbased and particlebased …