## Restricting Streamlines to a Surface

How can streamlines be restricted to a surface? You can seed the target surface, and integrate streamlines for a new (modified) velocity field you have created using the Function Formula Specification Panel. For instance, if you have a plane (flat surface), let N=(N1,N2,N3) be the (constant) normal to the surface: N = nrmlz (N1*UnitX + N2*UnitY + N3*UnitZ) where “nrmlz” makes sure this is a unit normal (length 1). Let […]