Learning_Non-Ideal_Single_Vortex_Flows
收藏资源简介:
该数据集名为Learning_Non-Ideal_Single_Vortex_Flows,由香港城市大学机械工程系创建,包含单个非理想涡流在不同雷诺数下的流动情况,用于训练和验证差分涡粒法在模拟非理想单个涡流方面的性能。数据集通过数值模拟生成,具体条数未提及。
The dataset, named Learning_Non-Ideal_Single_Vortex_Flows, was created by the Department of Mechanical Engineering, City University of Hong Kong. It contains flow cases of single non-ideal vortex under various Reynolds numbers, and is used for training and validating the performance of the differential vortex particle method in simulating single non-ideal vortex flows. The dataset is generated via numerical simulations, and the exact number of samples is not specified.
数据集概述
数据集名称
Learning Non-Ideal Single Vortex Flows
数据集内容
该数据集包含用于模拟非理想单涡流(Non-Ideal Single Vortex Flows)的代码和配置文件,支持不同雷诺数(Re)条件下的涡流模拟。
环境配置
- 支持操作系统:Windows 10、Ubuntu 20.04
- 安装方式:通过conda安装 bash conda env create -f environment.yml conda activate vortex_env
数据集结构
配置文件
configs/lamb_oseen_vortex_Re=10.txtconfigs/lamb_oseen_vortex_Re=100.txtconfigs/lamb_oseen_vortex_Re=1000.txtconfigs/lamb_oseen_vortex_Re=1000_omega=1.txtconfigs/multi_vortices_Re=1000_1_2.txt
结果展示
gifs/lamb_oseen_vortex_Re=10.gifgifs/lamb_oseen_vortex_Re=100.gifgifs/lamb_oseen_vortex_Re=1000.gifgifs/lamb_oseen_vortex_Re=1000_omega=1.gifgifs/multi_vortices.gif
使用方法
预训练
bash python train.py --config [配置文件路径] --run_pretrain True
训练
bash python train.py --config [配置文件路径]
自定义视频输入
- 输入格式:Numpy数组,形状为
[num_frames], 256, 256, 3,RGB像素值范围为0.0到1.0。 - 路径:
data/[your_name_here]/imgs.npy - 边界条件:需提供形状为
256, 256的Numpy数组,表示边界的有符号距离场,路径为data/[your_name_here]/sdf.npy。
参考
- 原始代码库:https://github.com/yitongdeng-projects/learning_vortex_dynamics_code




