Set Background to black (Alt+B)
In FX tab → Fluids → 2D Contianers → Change perspective to front view
In Fluid1 Shape attribute (from Fluid1 layer) → Base resolution 500, Boundary X and Y: None
→ go to FluidEmitter node → Basic Emitter Attributes → Emitter Type: Surface
Fluids (top bar) → Add/Edit Contents → Paint Fluids Tool → Click L side icon below to open Tool setting:
(If tool setting page is blank, go to Modify (top bar) → Paint Attributes Tool → close the tool page, reopen the Paint Fluids Tool again)
In Tool setting, Paintable attribute: Density →
Attribute Maps → Import → select the text file used for this tutorial → May need to click on the box in scene to show the image, now the animation is created
Go to Fluid again → Add/Edit Contents → Paint Fluids Tool → Open the tool setting on L icon too, but this time set attribute to Color → Set to Dynamics
→ Import the same image as well as before, click on the scene
Go to Fluid1 layer, FluidShape node → Display → Opacity Preview Gain: 1
→ Contents Details → Denisty Scale: 1; Buoyancy: 1.5; Pressure: 0.2
Speed up viewpoint performance:
nCache (top bar) → MayaFluid box