# US 2021/0279385 A1 · Method for Generating Simulations of Fluid Interfaces for Improved Animation of Fluid Interactions

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0279385 A1
- Document ID: US20210279385A1
- Status: Published application
- Kind: A1
- Application number: 17/183,993
- Filed: 2021-02-24
- Published: 2021-09-09
- Earliest claimed: 2020-02-28
- Assignees: Weta Digital Limited
- Applicants: Weta Digital Limited
- Inventors: Alexey Stomakhin; Sven Joel Wretborn; Gilles Daviet; Daniel Elliot
- Web page: https://patentgrep.com/patent/US20210279385A1

## CPC

- G06F 30/25: using particle-based methods
- G06T 13/60: of natural phenomena, e.g. rain, snow, water or plants
- G06F 30/17: Mechanical parametric or variational design
- G06T 2210/24: Fluid dynamics
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method for generating visual representations of interactions between two different materials is provided. The method can be performed using a computing device operated by a computer user or artist. The method includes modeling a primary material as a plurality of first particles and modeling a layer portion of a secondary material as a fluid volume. The secondary material can include a layer portion positioned between the plurality of first particles and an outer portion. At least one boundary condition might be assigned to a boundary positioned between the layer portion and the outer portion, the at least one boundary condition includes at least one pressure value. Values of motion parameters might be determined by applying the at least one boundary condition at the boundary and generating one or more visual representations of the primary material interacting with the secondary material based on the values of the motion parameters.

## Claims

### Claim 1

A computer-implemented method for simulating interactions between two different materials, the computer-implemented method comprising:
under the control of one or more computer systems configured with executable instructions:
modeling a primary material as a plurality of objects;
modeling a secondary material as a fluid volume, the fluid volume comprising a layer portion and an outer portion, the layer portion being positioned between the plurality of objects and the outer portion;
assigning at least one boundary condition to a boundary positioned between the layer portion and the outer portion; and
determining values of motion parameters for the primary material and the secondary material by applying the at least one boundary condition at the boundary.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the layer portion has a predefined thickness.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the layer portion has a thickness that depends on a difference in densities between the primary material and the secondary material.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein motion of the objects of the plurality of objects with respect to one another is constrained in zero, one, two, or three degrees of freedom.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein a sparse modeling of the outer portion of the secondary material is used to compute the one or more boundary conditions.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the at least one boundary condition includes a pressure or velocity at the boundary configured to affect the layer portion.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein the at least one boundary condition includes a two-phase Eulerian Navier-Stokes approach that allows a pressure jump between the primary material and secondary material, and wherein the at least one boundary condition includes velocity continuity conditions at the boundary.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the at least one boundary condition allows for coupling between the layer portion and the primary material.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, further comprising:
calculating an aeration field for the primary material; and
calculating a drag force field for the secondary material, wherein the primary velocity field, the aeration field, and the drag force field are used for calculating a new primary velocity field for the primary material.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein the boundary is a second boundary, and the at least one boundary condition is at least one second boundary condition, the method further comprising:
assigning at least one first boundary condition to a first boundary positioned between the primary material and the layer portion, the at least one first boundary condition comprising a free surface boundary condition.

### Claim 11 (depends on 10)

The computer-implemented method of claim 10, wherein the at least one first boundary condition comprises a drag force in a vicinity of the first boundary.

### Claim 12 (depends on 10)

The computer-implemented method of claim 10, wherein the at least one first boundary condition comprises a solid boundary condition applied at the second boundary and the at least one primary boundary condition comprises a pressure boundary condition applied at the first boundary.

### Claim 13 (depends on 1)

The computer-implemented method of claim 1, further comprising:
calculating a primary velocity field for the primary material, wherein the primary velocity field is configured to store a primary velocity value that indicates how an environment affects motion of the plurality of objects.

### Claim 14 (depends on 13)

The computer-implemented method of claim 13, further comprising:
calculating a secondary velocity field for the secondary material, wherein the secondary velocity field is configured to store a secondary velocity value that indicates how the environment affects motion of a portion of the secondary material.

### Claim 15 (depends on 1)

A non-transitory computer-readable storage medium storing instructions, which when executed by at least one processor of a computer system, cause the computer system to carry out the method of claim 1.

### Claim 16 (depends on 1)

A computer-readable medium carrying instructions, which when executed by at least one processor of a computer system, cause the computer system to carry out the method of claim 1.

### Claim 17 (depends on 1)

The computer-implemented method of claim 1, further comprising generating one or more visual representations of the primary material interacting with the secondary material based on the values of the motion parameters.

### Claim 18 (depends on 17)

The computer-implemented method of claim 17, wherein either the primary material or the secondary material is invisible in the one or more visual representations.
