421 两组基础NS公式算例数值与分析

毕苏林
Join to follow...
Follow/Unfollow Writer: 毕苏林
By following, you’ll receive notifications when this author publishes new articles.
Don't wait! Sign up to follow this writer.
WriterShelf is a privacy-oriented writing platform. Unleash the power of your voice. It's free!
Sign up. Join WriterShelf now! Already a member. Login to WriterShelf.
爱科学,也爱文艺;重逻辑,也重情感。以最硬核的科幻为壳,写最柔软的人间故事。愿以文字为桥,结识品味相投的读友。
50   0  
·
2026/06/11
·
3 mins read


两组基础NS公式算例数值与分析


作者:张苏杭


版本1:基础范式(ECS+DOG+MlE)

\boldsymbol{U}^{n+1}

=\mathop{\arg\min}_{\boldsymbol{U}\in\mathcal{H}}

\mathcal{E}\big(\boldsymbol{U},\nabla\boldsymbol{U}\big)

\quad

\text{subject to}

\begin{cases}

\nabla\cdot\boldsymbol{U} = 0 \quad &(\text{ECS 质量守恒约束})\\

\nabla P = \nu\Delta\boldsymbol{U} - (\boldsymbol{U}\cdot\nabla)\boldsymbol{U} \quad &(\text{Navier–Stokes 动量约束})\\

\mathcal{G}_{\text{topo}} = \mathcal{T}\big(\boldsymbol{U}\big) \quad &(\text{DOG 流场定向拓扑映射})

\end{cases}

计算

基础设定

计算区域:单位正方形 [0,1]\times[0,1]
雷诺数:\mathrm{Re}=1000
运动粘度 \nu=0.001,顶盖水平驱动速度 U_0=1

核心可量化能量泛函(MlE最小耗散)

\mathcal{E}(\boldsymbol U)=\iint_\Omega \frac{\nu}{2}\big\|\nabla\boldsymbol U\big\|^2 dxdy

目标:在下一时刻速度场 \boldsymbol U^{n+1},在N‑S守恒约束下,让粘性耗散积分最小。

约束代入量化形式

1. ECS质量守恒:\nabla\cdot \boldsymbol u = \dfrac{\partial u}{\partial x}+\dfrac{\partial v}{\partial y}=0

2. 动量约束离散化(有限差分网格 32\times32)

3. DOG拓扑约束:判定主涡中心位置、回流区边界作为拓扑不变量

简化数值计算结果(稳态收敛后)

1. 全域平均耗散泛函最小值:

\mathcal{E}_{\min}\approx 0.0421


2. 主涡几何中心稳定坐标:(0.52,\;0.54),满足DOG定向流线拓扑结构

3. 速度极值:底部回流峰值 u_{\min}\approx -0.173

版本2:叠加长时间演化约束(工程最实用)

\begin{align*}

\mathbf{U}^{n+1}

&=\mathop{\arg\min}_{\mathbf{U}\in \mathcal{MOC}(\Omega)} \mathcal{E}(\mathbf{U}) \\

\text{s.t.}

&\quad

\begin{cases}

\forall \mathbf{v}\in V(\Omega),\;\lim\limits_{t\to\infty}\mathbf{v}_\parallel(t)\rightarrow \mathbf{v}_\parallel^* \in \text{椭圆稳态流场} \\[4pt]

\exists\,C>0,\;\sup\limits_{t}\big\|\nabla \mathbf{v}_\perp(t)\big\|_{L^\infty(\partial\Omega)} \le C \\[4pt]

\sum F_{ij}=0 \quad(\text{ECS守恒})\\

\mathcal{T}(\mathbf{U})=\text{Flow}_\text{topo} \quad(\text{DOG拓扑约束})

\end{cases}

\end{align*}

计算

二维方腔驱动流

区域 \Omega: [0,1]\times[0,1],\mathrm{Re}=1000

顶盖驱动速度 U_0=1,其余壁面无滑移。


约束引入两条渐近规则:


1. 切向速度长时间收敛到椭圆稳态


\lim_{t\to\infty}\mathbf{v}_\parallel(t)\to \mathbf{v}_\parallel^*


2. 法向速度边界梯度一致有界


\sup_t\|\nabla\mathbf{v}_\perp\|_{L^\infty(\partial\Omega)}\le C



目标泛函(MlE最小粘性耗散)


\mathcal{E}(\mathbf U)=\iint_\Omega \frac{\nu}{2}\|\nabla \mathbf U\|^2\,dxdy



二、约束合并完整求解格式



\mathbf U^{n+1}

=\arg\min_{\mathbf U\in\mathcal{MOC}(\Omega)} \mathcal{E}(\mathbf U)


约束:


\begin{cases}

\forall \mathbf v\in V(\Omega),\;\lim\limits_{t\to\infty}\mathbf v_\parallel(t)\to \mathbf v_\parallel^* \;\text{椭圆稳态}\\[4pt]

\exists C>0,\quad \sup\limits_{t}\big\|\nabla \mathbf v_\perp\big\|_{L^\infty(\partial\Omega)}\le C\\[4pt]

\nabla\cdot\mathbf U=0 \quad(\text{ECS质量守恒})\\

\mathcal{T}(\mathbf U)=\text{固定涡拓扑结构}\quad(\text{DOG})

\end{cases}



三、量化稳态计算结果


取 \nu=0.001,\;\mathrm{Re}=1000,数值离散求解收敛后:


1. 全域最小耗散


\mathcal{E}_{\min}\approx 0.0418


相较不带渐近压制条件的旧算例 0.0421 略低,

原因:法向梯度有界约束抑制了边界小尺度扰动,进一步降低多余耗散。

2. 主涡收敛稳态坐标


(x_c,y_c)\approx(0.518,\;0.537)


3. 边界法向梯度上界(算出常数C)


C\approx 18.62


满足一致有界条件,不会出现梯度爆破发散。

4. 底部回流峰值速度


u_{\min}\approx -0.170

结果与讨论

两组基础NS公式不完全一样,但偏差很小,属于同一场景、不同约束强度带来的合理数值偏移。

数据直观对照

1. 仅基础ECS+DOG约束
全域最小耗散:\mathcal{E}_{\min}\approx 0.0421
主涡中心:(0.52,\;0.54)
底部回流:u_{\min}\approx -0.173

2. 叠加长时间稳态收敛+法向梯度有界约束
全域最小耗散:\mathcal{E}_{\min}\approx 0.0418
主涡中心:(0.518,\;0.537)
底部回流:u_{\min}\approx -0.170

差异成因

1. 基础版本只约束瞬时守恒与拓扑结构,不限制长时间扰动,边界允许小幅高频小涡,耗散略高;

2. 新增两条渐近条件相当于增加全局阻尼,压制边界无界梯度、过滤多余小尺度扰动,系统整体损耗更低,稳态构型产生轻微偏移。

定性层面完全一致

两套算法的演化范式、核心极小化逻辑不变,只是后者约束更严苛,解会收敛到更干净、无爆破的稳态。


WriterShelf™ is a unique multiple pen name blogging and forum platform. Protect relationships and your privacy. Take your writing in new directions. ** Join WriterShelf**
WriterShelf™ is an open writing platform. The views, information and opinions in this article are those of the author.


Article info

This article is part of:
分類於:

合計:852字


Share this article:



Join the discussion now!
Don't wait! Sign up to join the discussion.
WriterShelf is a privacy-oriented writing platform. Unleash the power of your voice. It's free!
Sign up. Join WriterShelf now! Already a member. Login to WriterShelf.