PDF(2189 KB)
PDF(2189 KB)
PDF(2189 KB)
基于UE5的河湖场景构建与水动力过程模拟
UE5-based River-Lake Scene Construction and Hydrodynamic Process Simulation
针对当前已有河湖数字孪生体大多存在的三维虚拟场景精度不够高、河湖水体动态化效果欠佳及动力过程不够精确等问题,使用虚幻引擎5(UE5)作为研究平台,对河湖环境下三维虚拟场景构建与水动力过程模拟方法进行了研究。首先将地形高度图、三维环境模型等作为输入数据构建高精度河湖三维虚拟场景,再对引擎中水体模拟插件进行改进,添加摩擦源项,实现河湖水体动力过程模拟,水文参量和数据读取与计算。然后设计了验证与对比试验场景,最终形成一个具备河湖三维场景与水动力过程模拟功能的数字孪生体框架。该方法实现了河湖三维场景构建、可视化水动力过程模拟与水文参量动态获取,提高了其作为数字孪生体的模拟能力,可为河湖流域数字孪生体技术在场景构建、动态模拟及交互设计的开发提供技术参考。
[Objective] To address the problems of insufficient 3D scene accuracy, unsatisfactory dynamic water effects, and imprecise hydrodynamic process simulation in existing river-lake digital twins, this study proposes an integrated method for 3D river-lake scene construction and hydrodynamic process simulation based on Unreal Engine 5 (UE5). The proposed method aims to construct a digital twin framework that combines high-fidelity scene representation with high-accuracy hydrodynamic process simulation, and to enhance the visualization, dynamism, and interactivity of river-lake digital twins. [Methods] UE5 was used as the research platform, and a real-scene 3D hydrodynamic process simulation method for river-lake scenarios was proposed and implemented by integrating terrain construction, water body simulation, and dynamic extraction of hydrological parameters. First, high-precision 3D river-lake terrain and environmental scenes were constructed using terrain height maps and high-precision photogrammetric models. Second, the Fluid Flux water simulation plugin in UE5 was modified by incorporating bottom friction factors influenced by the Manning coefficient, as used in engineering analysis, thereby establishing a hydrodynamic process model that better conformed to engineering practice. Finally, Blueprint programs were designed to dynamically extract and compute hydrological process parameters during simulation, enabling real-time calculation and dynamic extraction of key hydrological parameters such as flow velocity, water depth, watershed area, total water volume, and river cross-sections. An interactive user interface was also developed to support parameter visualization and scene interaction. [Results] A complete river-lake digital twin framework was constructed, and its functional effectiveness was verified through multiple experiments. First, a dam-break simulation experiment in a 90° bend was constructed to simulate the diffusion process of dam-break flow. The trends of water level variations at all measurement points showed good agreement with classical experimental data, validating the reliability of the hydrodynamic model. Subsequently, inundation simulation experiments under different vegetation cover conditions were conducted. These experiments reflected the influence of vegetation density on flow resistance and inundation processes in the simulated scenarios, demonstrated the capability of surface roughness variations to affect flow simulation, and verified that the proposed method could simulate the impacts of different vegetation environments on hydrodynamic processes. Finally, a complete 3D river-lake scene integrating 3D scenarios, dynamic water simulation, real-time hydrological parameter extraction, and an interactive interface was presented. Through the interface, users could obtain hydrological parameters such as water depth, flow velocity, cross-sectional morphology, watershed area, and total water volume at any location in real time, facilitating clear data acquisition and subsequent processing. [Conclusion] This study investigates methods for 3D scene construction of rivers and lakes and for hydrodynamic process simulation within such scenes, and successfully constructs a river-lake scene framework that integrates high-precision 3D scenes with hydrodynamic process simulation using UE5. The main innovations of this study lie in clarifying the method for constructing 3D river-lake scenes in the UE5 environment, generating terrain base surfaces using the terrain system and elevation data, and introducing high-precision photogrammetric models to enrich the surface environment, thereby improving the realism of 3D river-lake scene construction. From an engineering analysis perspective, the hydrodynamic model of the Fluid Flux plugin in UE5 is improved by adding a friction term influenced by the Manning coefficient, enabling hydrodynamic process simulation in 3D scenes to more accurately reflect the influence of environmental roughness. Simulation scenarios are also designed to verify the impacts of different terrain and vegetation roughness on flow simulation. In addition, Blueprint programs are designed to dynamically extract and compute various hydrological elements during the simulation of 3D river-lake scenes, forming a complete method for hydrodynamic process simulation in 3D river-lake scenes. The proposed method provides integrated capabilities for scene construction, hydrodynamic process simulation, and hydrological parameter extraction and computation, thereby improving the efficiency of data acquisition and processing during 3D scene simulation.
河湖三维场景 / 水动力模拟 / 浅水方程 / 虚幻引擎 / 数字孪生
3D river-lake scene / hydrodynamic simulation / shallow water equation / Unreal Engine / digital twin
| [1] |
李毅, 黄诗峰, 臧文斌, 等. 基于虚拟地理环境的数字孪生流域防洪应用技术探讨[J]. 遥感学报, 2024, 28(5): 1330-1339.
(
|
| [2] |
徐健, 赵保成, 魏思奇, 等. 数字孪生流域可视化技术研究与实践[J]. 水利水电快报, 2023, 44(8): 127-130.
(
|
| [3] |
辛佳佳. 基于OSG的海洋环境建模与仿真技术研究[D]. 烟台: 烟台大学, 2012.
(
|
| [4] |
陈宁, 聂垒鑫, 刘炜, 等. 基于OSG的海洋漫游场景开发[J]. 江苏科技大学学报(自然科学版), 2013, 27(4): 386-390.
(
|
| [5] |
彭铄雅. 基于OSG Ocean的大规模深海海浪泡沫的实时模拟[D]. 秦皇岛: 燕山大学, 2015.
(
|
| [6] |
相增辉. 洞庭湖水域可视化的研究与实现[D]. 南京: 东南大学, 2015.
(
|
| [7] |
|
| [8] |
|
| [9] |
|
| [10] |
We present an interactive aeolian simulation to author hot desert scenery. Wind is an important erosion agent in deserts which, despite its importance, has been neglected in computer graphics. Our framework overcomes this and allows generating a variety of sand dunes, including barchans, longitudinal and anchored dunes, and simulates abrasion which erodes bedrock and sculpts complex landforms. Given an input time varying high altitude wind field, we compute the wind field at the surface of the terrain according to the relief, and simulate the transport of sand blown by the wind. The user can interactively model complex desert landscapes, and control their evolution throughout time either by using a variety of interactive brushes or by prescribing events along a user-defined time-line.
|
| [11] |
|
| [12] |
刘成堃, 张航, 靖争, 等. 面向数字孪生场景的三维水质推演仿真方法[J]. 长江科学院院报, 2024, 41(8): 189-196.
针对现有可视化方法难以直观动态呈现三维水质的推演过程的普遍性问题,研究了三维水质模型计算结果与数字孪生场景的集成模式,提出了面向数字孪生场景的三维水质推演仿真方法,实现了三维水质推演过程的直观、准确、流畅、动态呈现。以南水北调中线工程丹江口水库2021年秋汛总磷浓度分布推演为例,采用三维水质模型开展复演分析,将分析结果在数字孪生场景中集成,模拟有机污染物的转移和扩散过程。应用结果表明该方法相较于传统二维平面展示方法具有效果更加直观、信息承载更加丰富的优势,可以在数字孪生场景中动态呈现分层水质指标的推演过程。
(
|
| [13] |
陈海梅, 徐金英, 赖锡军. 二维坡面雨洪水动力模型研究[J]. 水动力学研究与进展(A辑), 2017, 32(4): 484-490.
(
|
| [14] |
陈琼. 黄河内蒙古段凌情特征演变及坝下河道水动力模拟研究[D]. 呼和浩特: 内蒙古农业大学, 2022.
(
|
| [15] |
苟少杰. 耦合水动力与水库调度的永定河流域生态补水研究[D]. 西安: 西安理工大学, 2023.
(
|
| [16] |
熊勇峰, 孙先忍, 周刚, 等. 基于EFDC模型的官厅水库富营养化模拟[C]// 中国水利学会2020学术年会论文集第一分册. 北京: 重庆交通大学河海学院; 中国环境科学研究院,2020:309-317.
(
|
| [17] |
焦向伟. 基于湖泊实景三维水环境的水动力模型可视分析技术[J]. 吉林水利, 2023(10):1-6,66.
(
|
| [18] |
潘立武. 三维数字湖泊仿真系统研究[J]. 郑州牧业工程高等专科学校学报, 2015(1):41-44.
(
|
| [19] |
陈瑞华, 杨吉健, 马麟, 等. 小湾水电站泄洪洞窄缝挑坎数值模拟研究[J]. 长江科学院院报, 2017, 34(4):56-60.
窄缝挑坎在水利工程中应用广泛,但尚无成熟的设计方法,工程设计中窄缝主要参照类似工程初拟体型,并经模型试验优化后最终定型。但模型试验存在耗时长、费用高、常规仪器测量精度较低的不足。采用RNG k-ε紊流模型,利用Flow 3D独特的FAVOR网格技术,对小湾水电站泄洪洞窄缝挑坎进行三维数值模拟研究。模拟结果表明窄缝挑坎内水深、水舌形态、水舌前后入水点、水舌最高点及起跳角度等计算结果与模型试验、原型观测值基本一致。表明Flow 3D数值模拟研究方法可作为窄缝挑坎设计的一种方法,并可节省时间和工程费用,优势显著。
(
Although slip-type flip bucket is widely used in hydraulic projects, there is no mature method to design it. The bucket type is designed preliminarily according to similar projects, and is optimized through model test. However, model test features with long time, high cost,and low accuracy of conventional instruments. In this article, three-dimensional numerical simulation is carried out on the slip-type flip bucket at the flood discharging tunnel of Xiaowan hydropower station in association with RNG <i>k-ε</i> turbulence model and FAVOR technology of Flow 3D. The computation results of some main hydraulic parameters inclusive of water depth, water jet shape, point of jet entering water in the downstream and upstream, peak height of water jet, and angle of water jet are in accordance with model test and prototype observation. Flow 3D could save time and cost in designing slip-type flip bucket.
|
| [20] |
|
| [21] |
孔志远. 面向智慧海事的海上交通场景数字化[D]. 舟山: 浙江海洋大学, 2023.
(
|
| [22] |
|
| [23] |
|
| [24] |
|
| [25] |
张舒南, 吕德生. 面向大型古建筑虚拟场景的程序化生成方法[J]. 计算机工程与应用, 2025, 61(13): 349-357.
为满足虚拟现实、三维模拟和电子游戏等领域对大范围、易于修改的虚拟场景的需求,并解决传统场景制作方法的效率低下和难以修改的问题,提出了一种新的大型虚拟场景程序化生成方法。利用程序化建模优势的方式,生成真实感地形、确定城市边界,同时构建楼阁、庭院和拱桥等中式建筑的数字资产。在构建中式建筑时,使用B样条曲线对飞檐的形状进行塑造。使用改进的细分算法在每次迭代中加入随机插值因子,生成布局更加合理的路网,并根据分割产生的区块的特征分配不同类型和风格的建筑。该方法采用程序化依赖图管理数字资产,自动处理不同资产之间的依赖关系。通过虚幻引擎实现了场景的自动生成及漫游交互。实验表明,与其他算法相比,该方法中使用的改进细分算法生成的城市布局更加均匀,区块种类更加均衡;与传统虚拟场景制作方法相比,该方法可显著缩短三维资产生成的时间,优化了工作流程,使制作者能够更高效地创建细节丰富且沉浸感强的中国古风虚拟场景。
(
In response to the requirements for large-scale, easily modifiable virtual scenes in areas such as virtual reality, 3D simulation, and video games, and to address the inefficiencies and difficulties in modifying traditional scene creation methods, this paper proposes a novel procedural generation method for large virtual scenes. Initially, by leveraging the advantages of procedural modeling, realistic terrain is generated, city boundaries are determined, and digital assets of Chinese-style buildings, such as pavilions, courtyards, and arch bridges, are constructed. B-spline curves are employed to shape the flying eaves in the construction of Chinese buildings. Subsequently, an improved subdivision algorithm is utilized, incorporating random interpolation factors in each iteration to generate a more rational road network layout. Different types and styles of buildings are allocated based on the characteristics of the resulting blocks. This method employs a procedural dependency graph to manage digital assets, automatically handling the dependencies between various assets. Finally, the automatic generation and interactive roaming of the scene are realized through the Unreal Engine. Experimental results demonstrate that the improved subdivision algorithm employed in this method produces a more uniform urban layout and a more balanced variety of blocks compared to other algorithms. Moreover, compared to traditional virtual scene creation methods, this approach significantly reduces the time required for 3D asset generation, optimizes the workflow, and enables creators to efficiently produce richly detailed and immersive virtual scenes in a traditional Chinese style.
|
| [26] |
鲁瀚友, 赵文刚, 蒋婕妤, 等. 基于UE5的虎渡河水流数字仿真技术研究及应用[J]. 长江科学院院报, 2024, 41(8):157-163.
河流仿真技术是流域数字孪生的重要组成部分,当前实现物理河流向虚拟流域保真建模还有不足。以实测地形、遥感影像与水文数据为基础,基于水文模型计算的沿程水面线,通过UE5与Fluid Flux插件渲染,重构、编译蓝图、训练数据资产,克服坐标系统差异,完成从二维水动力计算到三维模型的转换,最终实现与虎渡河真实场景有较高相似度的仿真效果。校验结果表明模型误差较小,可以反映真实情况。构建的仿真模型能展现不同时期的水流状态、水位与堤防相对高差、人工爆破分洪、水下情景等,通过参数调整,能进行不同预演方案之间的比较,为防洪决策提供可视化支撑。
(
|
| [27] |
郭正扬, 徐希涛, 孙腾, 等. 融合数字孪生技术的湖泊环境保护研究[J]. 环境科学与管理, 2022, 47(10): 57-61.
(
|
| [28] |
于南洋, 董堰川, 孔淋淋. 水下地形测量中无人船测量系统的应用[J]. 中国水运, 2023(17): 93-95.
(
|
| [29] |
|
| [30] |
|
| [31] |
|
/
| 〈 |
|
〉 |