<p>As an alternative you could also check Jon Stam's paper <a href="http://dx.doi.org/10.1145/311535.311548" rel="nofollow">"Stable Fluids"</a>, that method is usually called the semi-Lagrangian approach to fluid simulations. You can find several implementations of it. You said that you don't need it to be real time, so this might do the work.</p>

CC BY-SA 3.0
2015-08-11T09:39:32.047Z
It would be great if you could contain some information about this method within the answer to make it more self-contained.
Martin Ender
CC BY-SA 3.0
2015-08-11T06:25:24.990Z
2015-08-11T06:25:24.990Z
IPA
<p>Simulating drops of ink is probably one of the best applications of the <a href="http://doc.utwente.nl/56247/1/K227____.pdf">Vorton Method</a>.</p>

<p>Unlike fluid solvers based on the velocity form of the Navier-Stokes equations, which track the density and velocity of a fluid, the Vorton Method tracks vorticity instead. It does so by simulating a large number of vortons, each carrying a small amount of vorticity; you can think of a vorton as being a tiny particle that induces a small spinning vortex around itself. The sum of velocities caused by each vortex defines a velocity field in the fluid, which is used to in turn advect the vortons themselves.</p>

<p>Vorton methods are difficult to combine with boundary conditions and have a few efficiency caveats, but for fluid flow where intricate turbulance is the key feature and boundaries can be avoided, the Vorton method far outshines e.g. Eulerian grid solvers, which would need a large resolution to simulate turbulence at a comparable scale.</p>

<p>Michael Gourlay has a very accessible <a href="http://www.mijagourlay.com/fluid">article series</a> on the vorton method. Although his articles are targeted at video games, they hold up similarly for off-line simulation. Here's also an <a href="https://www.youtube.com/watch?v=LD6JfO41JIE">example video</a> of a drop of ink simulated using the vorton method.</p>

CC BY-SA 3.0
2015-08-11T14:04:11.550Z
Nice explanation and great links... Your video should be visible in this answer :)
Armfoot
CC BY-SA 3.0
2015-08-10T23:21:28.050Z
2015-08-10T23:21:28.050Z
Benedikt Bitterli
<p>I want to be able to model an opaque liquid being dropped into a transparent liquid with sufficient velocity to cause turbulence and the resulting chaotic mixing. Assuming the two liquids are of the same density and viscosity, how could I model this?</p>

<p>This doesn't need to be rendered in real time. I would like the turbulent flow to gradually settle down as the two fluids mix, but it will not be required to interact with other objects.</p>

<p>I've tried modelling an expanding interface between the two fluids, and accelerating the vertices of the interface based on the local curvature, adding new vertices as they move apart. This seemed to work in the early stages, giving a constant exaggeration of small surface imperfections to create at least the appearance of turbulence, but it ran into problems very early which seemed to result from the interface self-intersecting. I've been trying to think of ways to redirect vertices that are near to causing a surface self-intersection, but I wonder if I would be better off starting from scratch with a more amenable method.</p>

CC BY-SA 3.0
2015-08-10T22:00:55.653Z
While certainly interesting, I don't think we want to be flooded with plain "How do I achieve effect X?" type questions later on. So: What have you tried?
Martin Ender
CC BY-SA 3.0
2015-08-11T00:06:56.847Z
I think the question is fine up to the title, but the body is kind of vague. There should be more context like if it's meant for real-time of offline use, level of detail and scale required, etc.  The current answer for example assumes the scale to be able to give a more specific answer taking into account possible tradeoffs, which I think is an important part of a good answerable question.
yuriks
CC BY-SA 3.0
2015-08-11T08:22:19.557Z
@yuriks Yes, the question could use more detail as well, but I think the "What have you tried?" part is important. We should set ourselves similar quality standards as other SE sites like Stack Overflow and expect question authors to show *some* effort on their part. Otherwise, we'll just become a site where people go to have others do their work for them.
Martin Ender
CC BY-SA 3.0
2015-08-11T08:57:32.987Z
[Relevant meta discussion.](http://meta.computergraphics.stackexchange.com/a/69/16)
Martin Ender
<simulation>
How can I model ink dropped into still water?
trichoplax is on Codidact now
# How can I model ink dropped into still water?

(Asked by: username_0 on 2015-08-10)

I want to be able to model an opaque liquid being dropped into a transparent liquid with sufficient velocity to cause turbulence and the resulting chaotic mixing. Assuming the two liquids are of the same density and viscosity, how could I model this?

This doesn't need to be rendered in real time. I would like the turbulent flow to gradually settle down as the two fluids mix, but it will not be required to interact with other objects.

I've tried modelling an expanding interface between the two fluids, and accelerating the vertices of the interface based on the local curvature, adding new vertices as they move apart. This seemed to work in the early stages, giving a constant exaggeration of small surface imperfections to create at least the appearance of turbulence, but it ran into problems very early which seemed to result from the interface self-intersecting. I've been trying to think of ways to redirect vertices that are near to causing a surface self-intersection, but I wonder if I would be better off starting from scratch with a more amenable method.

**Tags:** simulation

> **Comments:**
> **username_1**: While certainly interesting, I don't think we want to be flooded with plain "How do I achieve effect X?" type questions later on. So: What have you tried?  
> **username_2**: I think the question is fine up to the title, but the body is kind of vague. There should be more context like if it's meant for real-time of offline use, level of detail and scale required, etc.  The current answer for example assumes the scale to be able to give a more specific answer taking into account possible tradeoffs, which I think is an important part of a good answerable question.  
> **username_1**: @username_2 Yes, the question could use more detail as well, but I think the "What have you tried?" part is important. We should set ourselves similar quality standards as other SE sites like Stack Overflow and expect question authors to show *some* effort on their part. Otherwise, we'll just become a site where people go to have others do their work for them.  
> **username_1**: [Relevant meta discussion.](http://meta.computergraphics.stackexchange.com/a/69/16)  

---

## 2 answers

### Answer by username_4 on 2015-08-10. Score: 10 | Accepted answer

Simulating drops of ink is probably one of the best applications of the [Vorton Method](http://doc.utwente.nl/56247/1/K227____.pdf).

Unlike fluid solvers based on the velocity form of the Navier-Stokes equations, which track the density and velocity of a fluid, the Vorton Method tracks vorticity instead. It does so by simulating a large number of vortons, each carrying a small amount of vorticity; you can think of a vorton as being a tiny particle that induces a small spinning vortex around itself. The sum of velocities caused by each vortex defines a velocity field in the fluid, which is used to in turn advect the vortons themselves.

Vorton methods are difficult to combine with boundary conditions and have a few efficiency caveats, but for fluid flow where intricate turbulance is the key feature and boundaries can be avoided, the Vorton method far outshines e.g. Eulerian grid solvers, which would need a large resolution to simulate turbulence at a comparable scale.

Michael Gourlay has a very accessible [article series](http://www.mijagourlay.com/fluid) on the vorton method. Although his articles are targeted at video games, they hold up similarly for off-line simulation. Here's also an [example video](https://www.youtube.com/watch?v=LD6JfO41JIE) of a drop of ink simulated using the vorton method.

> **Comments:**
> **username_5**: Nice explanation and great links... Your video should be visible in this answer :)  

---

### Answer by username_3 on 2015-08-11. Score: 0

As an alternative you could also check Jon Stam's paper ["Stable Fluids"](http://dx.doi.org/10.1145/311535.311548), that method is usually called the semi-Lagrangian approach to fluid simulations. You can find several implementations of it. You said that you don't need it to be real time, so this might do the work.

> **Comments:**
> **username_1**: It would be great if you could contain some information about this method within the answer to make it more self-contained.  

---

