
Use motion fields to influence the velocities of liquid, foam, and aero particles. The final velocity is the net result of the motion field and the fluid simulation.

Select the main Bifröst container, or a Bifröst shape node.
If you want to use a polygon mesh to control the effect, select it as well. The order of selection does not matter.
Alternatively, you can connect a mesh later.
Select
Bifrost
(Add) Motion Field.
A bifrostMotionField node is added and selected. If a mesh was selected, a bifrostMeshProps node is also added to control its voxelization.
In the bifrostMotionField's Motion FIeld Properties attributes, activate the components you want, and then use the attributes in the other groups to adjust the effect of each component. See Bifröst Motion Field Attributes.
In particular, to restrict the effect to a specific volume, you can do either of the following:
(Add) Motion Field.
The combination of attributes required to achieve an effect varies greatly based on the situation and the desired results. Here are some rough ideas about how to begin setting up various effects.
To make fluid follow a mesh, connect the mesh and use a negative Along Normal value to pull liquid toward the surface. It can help to use Drag, Friction, or a combination. When trying to make liquid flow upward, it can also be useful to decrease Gravity Magnitude, or even set it to 0.0.
To track the mesh volume, you can turn off Enable Falloff if you want to attract fluid from far away. On the other hand, to make fluid flow along and cover the mesh surface, leave Enable Falloff on, adjust Max Distance to a value a bit larger than the desired thickness of fluid, and optionally make the mesh a collider as well.
In either case, Inherit Velocity is useful if the mesh is animated. You can also use additional motion fields to help guide and shape the flow. For example, you can use a motion field with an implicit shape and a negative Away From Axis or Concentric value to pull liquid toward the mesh.