What you need to create a simulation
In short, there are two things you will always need for a Mantaflow simulation, as follows:
- A domain object
- A flow object
We will look at each in more detail, along with effectors, which are not mandatory but are still useful.
Domain objects
A domain object is the container for the entire simulation. No gas or liquid will be allowed outside this domain. When the simulation gets close to the edge, it will either collide or disappear, depending on what setting you have set.
The bigger the domain, the more resolution you will need
This will cause the simulation to bake longer. A general rule is to have the domain just big enough to fit the simulation.
The domain object is always going to be the shape of a cube. Even if the domain isn’t a cube, the simulation will treat it as one and will simulate outside the original mesh:
Figure 1.8 – Domain example
The sphere in this...