Module phi.physics

Contains built-in physics functions, e.g. for fluids. The actual physics functions are located in the sub-modules of phi.physics. A common trait of many physics functions is the time increment (dt) argument.

Main class: Domain

See the phi.physics module documentation at https://tum-pbs.github.io/PhiFlow/Physics.html

Expand source code
"""
Contains built-in physics functions, e.g. for fluids.
The actual physics functions are located in the sub-modules of `phi.physics`.
A common trait of many physics functions is the time increment (`dt`) argument.

Main class: `Domain`

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.flip

Functions for running fluid implicit particle (FLIP) and particle-in-cell (PIC) simulations.

phi.physics.fluid

Definition of Fluid, IncompressibleFlow as well as fluid-related functions.