高级检索

宽顶堰逆向设计

Inverse Design Study of Broad-Crested Weirs

  • 摘要: 针对传统宽顶堰几何优化依赖经验公式、难以精准调控下游水位的问题,提出一种基于不可压缩流体仿真的可微分优化模型。所提模型将堰体几何参数化为可优化变量,构建基于不可压缩Navier-Stokes方程的流场正向求解器;以目标区域与模拟区域的横向流速之差构造损失函数,利用自动微分技术高效计算关于几何参数的梯度;通过梯度下降算法迭代更新堰体形态,使下游横向流速分布逐步逼近设计目标,从而实现对下游水位的间接调控。数值实验采用共轭梯度法(CG)和自动微分法(AD)两种梯度求解路径验证了模型的收敛性与一致性。定量评价结果表明,所提模型结合CG的均方误差(MSE)为0.150 92,结合AD的MSE为0.313 47,而传统经验公式的MSE为1.234 97,相较于传统方法最高可降低87.78%。研究表明,所提可微分框架实现了堰体几何与水力性能的高精度耦合优化,为复杂水工建筑物的智能化设计提供了新的技术途径,可扩展至溢洪道、鱼道等其他水利结构的几何优化问题。

     

    Abstract: Traditional wide-crested weir geometry optimization relies heavily on empirical formulas and struggles with precise control of downstream water levels. To address these limitations, we propose a differentiable optimization model based on incompressible fluid simulation. In this model, the weir geometry is parameterized as optimizable variables, and a forward solver based on the incompressible Navier-Stokes equations is constructed to simulate the flow field. A loss function is defined based on the difference between the transverse velocity in the target region and the simulated region. Automatic differentiation (AD) is then employed to efficiently compute gradients with respect to the geometric parameters. The weir shape is iteratively updated using a gradient descent algorithm, progressively matching the downstream transverse velocity distribution to the design target, thus indirectly controlling the downstream water level. Numerical experiments, utilizing both the conjugate gradient (CG) method and automatic differentiation (AD) for gradient calculation, demonstrate the model's convergence and consistency. Quantitative evaluation shows that the mean squared error (MSE) achieved by the proposed model combined with CG is 0.150 92, while that with AD is 0.313 47. In contrast, the MSE of traditional empirical formulas is 1.234 97, indicating a reduction of up to 87.78% compared to conventional methods. The results demonstrate that the proposed differentiable framework achieves high-precision coupled optimization of weir geometry and hydraulic performance, providing a novel technological approach for the intelligent design of complex hydraulic structures. This framework can be extended to geometric optimization problems in other hydraulic structures, such as spillways and fishways.

     

/

返回文章
返回