Fluid Simulation via Particle Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional methods for simulating dynamic fluid effects on mobile terminals are resource-intensive and fail to meet real-time requirements due to the complexity of calculating signed distance functions (SDF) for rigid body models, which is computationally expensive and memory-intensive.

Innovation Solution

A method and apparatus that simulate dynamic fluid effects by modeling objects and fluids in three-dimensional space, acquiring positions of model and fluid particles, and adjusting fluid particle positions based on colliding model particles, eliminating the need for SDF calculations, thus simplifying the process and reducing resource consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If signed distance functions (SDF) are used to calculate collision between fluid and rigid body in three-dimensional space, then collision accuracy is improved, but computational complexity and video memory occupation increase significantly

Engineering Contradiction:
Improvecollision accuracyVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The rigid body model is segmented into multiple model particles, each with simple geometric properties. Instead of calculating SDF for the entire complex rigid body, the system calculates distances from fluid particles to individual model particles, significantly reducing computational complexity while maintaining collision detection accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent uses a simplified particle-based representation to copy the essential collision properties of the rigid body without requiring full SDF calculations. The model particles serve as simplified copies that capture the necessary spatial information for collision detection.

Inventive Principle:
Principle #26Copying

2Reliability

If signed distance functions (SDF) are recalculated when the rigid body model moves, then real-time collision detection is maintained, but processing time increases

Engineering Contradiction:
Improvereal-time collision detectionVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The rigid body model is pre-segmented into model particles with defined spatial positions and geometric properties. This preliminary segmentation allows the system to use simple distance calculations instead of recalculating complex SDFs during motion, reducing processing time while maintaining real-time collision detection capability.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If conventional fluid simulation methods are applied to mobile terminals, then fluid simulation capability is achieved, but resource requirements exceed mobile terminal capabilities

Engineering Contradiction:
Improvefluid simulation capabilityVSAvoidcomputing and storage resources
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The patent uses simple particle representations instead of complex geometric models. Model particles and fluid particles are computationally inexpensive to create and manipulate, enabling fluid simulation on mobile terminals with limited computing and storage resources while maintaining acceptable visual results.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

Data Source

PatentUS20230298265A1Dynamic fluid effect processing method and apparatus, and electronic device and readable medium
Publication Date: 2023.09.21 DOUYIN VISION CO LTD
  • US20230298265A1 patent drawing
  • US20230298265A1 patent drawing
  • US20230298265A1 patent drawing

AI summary

A method and apparatus for simulating a dynamic fluid effect, an electronic device, and a readable medium are provided. With the method, a first object and a fluid are displayed on a user display interface, a position of each of model particles in an object model corresponding to the first object is acquired, and a position of each of fluid particles corresponding to the fluid is acquired. When the first object collides with the fluid, for each of the fluid particles, the position of the fluid particle is adjusted based on a position of a model particle that collides with the fluid particle, to dynamically display a motion change of the fluid on the user display interface.