SURF-FluidSimulation/FluidSimulation
收藏资源简介:
SURF是一个用于测试基于图的流体模拟器泛化能力的基准数据集。该数据集包含七个独立的子集:Base、Turned、Topo、Range、Dynamic、Full和FullFiner。每个子集至少包含1200个二维不可压缩流体流动模拟,每个模拟有300个时间步长。数据文件包括模拟结果、网格连接信息等,具体结构为每个数据集文件夹下包含dpx和Splits子文件夹,分别存储模拟数据和训练、测试、验证集的分割信息。
SURF is a benchmark dataset for testing the generalization ability of graph-based fluid simulators. This dataset contains seven independent subsets: Base, Turned, Topo, Range, Dynamic, Full, and FullFiner. Each subset includes at least 1,200 two-dimensional incompressible fluid flow simulations, with each simulation comprising 300 time steps. The data files cover simulation results, mesh connectivity information and other relevant contents. The specific directory structure is that each dataset folder contains two subfolders, dpx and Splits, which respectively store the simulation data and the split information of training, test and validation sets.
SURF: 一个用于测试基于图的流体模拟器泛化能力的基准
SURF 是一个用于测试学习型基于图的流体模拟器泛化能力的基准。该基准包含七个独立的数据集:
- Base
- Turned
- Topo
- Range
- Dynamic
- Full
- FullFiner
每个数据集作为一个单独的 *.zip 文件提供,包含至少 1200 个 2D 不可压缩流体流动模拟,每个模拟有 300 个时间步。数据结构如下:
- 文件夹:dataset_name
- 文件夹:dpx
- 文件:sim.npz, triangles.py, constrained_kmeans_20.npy, Simulation_dp1_Timestep_50.png
- 文件夹:Splits
- 文件:train.txt, test.txt, valid.txt
- 文件夹:dpx
文件 sim.npz(numpy 归档文件)包含每个时间步每个节点的模拟结果:
- pointcloud: x, y 坐标
- VX: x 方向速度
- VY: y 方向速度
- PS: 静压
- PG: 动压
- T: 温度
- TC: 流体热导率
- HC: 流体热容
结果的形状为:VX.shape=(#timesteps, #nodes, 1)。
文件 triangles.py 包含网格连接性。triangles.shape=(#timesteps, #elements, 3)。每个三角形由逆时针方向的节点编号定义。



