海洋科学  2018, Vol. 42 Issue (12): 71-82   PDF    
http://dx.doi.org/10.11759/hykx20180408002

文章信息

易家成, 高艳秋, 张继才. 2018.
YI Jia-cheng, GAO Yan-qiu, ZHANG Ji-cai. 2018.
基于伴随同化方法的Ekman模型垂向涡动黏性系数时间变化研究
Estimation of the time-varying vertical eddy viscosity coeffi-cient in an Ekman layer model through the adjoint data as-similation approach
海洋科学, 42(12): 71-82
Marine Sciences, 42(12): 71-82.
http://dx.doi.org/10.11759/hykx20180408002

文章历史

收稿日期:2018-04-08
修回日期:2018-05-20
基于伴随同化方法的Ekman模型垂向涡动黏性系数时间变化研究
易家成1, 高艳秋2, 张继才1     
1. 浙江大学 海洋学院 物理海洋研究所, 浙江 舟山 316021;
2. 国家海洋局第二海洋研究所 卫星海洋环境动力学国家重点实验室, 浙江 杭州 310012
摘要:为了得到一种有效的计算海水涡动黏性的途径,本文基于伴随同化方法,研究了Ekman模型中垂向涡动黏性系数(vertical eddy viscosity coefficient,VEVC)的时间变化。本文推导了时间变化VEVC的优化关系式,并利用理想实验对三个影响因素进行了探究,包括优化算法、初始猜测、观测深度,其主要结论是:(1)梯度下降法的优化效果优于共轭梯度法和有限记忆BFGS(limited-memory Broyden-Fletcher-Goldfarb-Shanno)法;(2)初始猜测值与实际值接近时,收敛速度更快,反演误差更小;(3)反演结果对表层和次表层的流速更为敏感。本文从百慕大试验站锚泊系统(Bermuda Testbed Mooring,BTM)的数据中提取了Ekman流速,并反演了VEVC的时间变化,实际实验结果表明:(1)对于实测数据而言,仍是梯度下降法优化效果最好;(2)将VEVC设置为时间变化型的反演策略,反演效果优于常数型和深度变化型;(3)该地区VEVC在0.01 m2/s左右。该研究为Ekman流的数值模拟提供了一种确定VEVC时间变化的有效方法,对于其他动力机制的研究具有一定的参考价值。
关键词参数反演    Ekman模型    伴随同化    涡动黏性    
Estimation of the time-varying vertical eddy viscosity coeffi-cient in an Ekman layer model through the adjoint data as-similation approach
YI Jia-cheng1, GAO Yan-qiu2, ZHANG Ji-cai1     
1. Institute of Physical Oceanography, Ocean College, Zhejiang University, Zhoushan 316021, China;
2. State Key Laboratory of Satellite Ocean Environment Dynamics, Second Institute of Oceanography, Hangzhou 310012, China
Abstract: A method for estimating the temporal distribution of the vertical eddy viscosity coefficient (VEVC) in an Ekman model is developed based on the adjoint data assimilation approach to obtain an effective approach for computing oceanic eddy viscosity. Three factors that affect the estimation results, optimization algorithm, initial guess, and number of observations, are investigated through ideal experiments. The main conclusions are that the following:(1) the gradient descent (GD) algorithm is better than the quasi-Newton conjugate gradient and limited-memory Broyden-Fletcher-Goldfarb-Shanno algorithms in optimizing the VEVC, (2) the closer the initial guess and given value are to each other, the higher the convergence rate and accuracy, and (3) the inversion results are more sensitive to the observations in the upper layers than those in the lower layers. The Ekman currents are extracted from the measurements obtained from Bermuda Testbed Mooring. Then, the VEVC is inverted in practical experiments. The main conclusions are that (1) the GD algorithm is still the best among the three algorithms in practice experiments; (2) the strategy that assumes that the VEVC is time-varying exhibits a better performance than the two other strategies that assume that the VEVC is constant or depth-varying; and (3) the VEVC of the study area is approximately 0.01 m2/s. The study extends our understanding of the Ekman layer model and provides an effective approach to determine the temporal variations of the VEVC.
Key words: parameter estimation    Ekman layer model    adjoint assimilation    eddy viscosity    

海水涡动黏性与湍流结构密切相关, 在上层海洋运动中起重要作用[1]。在海水混合、海洋环流、中尺度涡等动力过程的数值模型研究中, 垂向涡动黏性系数(vertical eddy viscosity coefficient, VEVC)的参数化具有重要意义[2-4]。但VEVC难以被直接测量, 通常需要根据湍流模型计算, 比如依赖于Richardson数的模型、k-ε模型, M-Y模型, Prandtl混合长模型、KPP模型等[5-9]。由于海洋环境往往会随空间和时间发生变化, 再加上观测数据的不足, 各个湍流模型的应用容易因普适性问题而受到限制。不同模型计算出的垂向涡动黏性系数差别较大, 没有某一个模型能精准适用于全球所有海域。

本文基于数学物理反问题的思想, 采用数据同化方法, 由观测资料反演VEVC。数据同化方法是在严格的数学理论基础上发展起来的, 比如反问题理论和最优控制理论[10]。基于最优控制方法和摄动理论的四维变分同化是海洋数据同化未来的发展方向之一[11]。伴随同化方法作为四维变分同化方法的一种, 具有提取不同种观测数据有效信息, 同时与模型保持动力学和物理一致性的优势, 是参数反演的有力工具[12-13]

Ekman理论在物理海洋学的研究中有悠久的历史, 奠定了风生海流的理论基础。Ekman模型具有不少优点, 例如: (1)不需要显式地表达浮力强迫和层化效应, 而是通过黏性和边界层参数的取值反应其影响; (2)容易求解, 便于探究具体参数的影响[14]。Ekman层的VEVC垂向结构对Ekman螺旋结构和Ekman输运都有重要影响[15-17]。近年来, 伴随同化方法被广泛应用于VEVC的估计[18-22]。在过去的研究中, VEVC往往被设为常数或随深度变化的量, 而与时间无关。然而海洋是一个时变系统, 海洋动力学参数也应该是随时间变化的。例如, 在不同风况下, 海面拖曳系数会随时间和风速变化[23-24]。底摩擦系数等其他参数在时间域上也会发生变化[25-27]。海表与海底摩擦、升降流、大小潮等因素导致的热量传递过程和垂向混合过程, 都与海水垂向涡动黏性密切相关[28-30]。显然, 如果能在海洋模型中实现时变的VEVC, 模拟的准确性可以得到提高。因此, 本文旨在利用伴随法, 将观测资料同化到Ekman模型中, 对时变VEVC的伴随同化反演进行研究。

1 模型描述 1.1 控制方程(正向模型)

在本文中, Ekman模型的控制方程如公式(1)~公式(8)[18]:

$ \left\{ \begin{array}{l} \frac{{\partial u}}{{\partial t}} - fv = \frac{\partial }{{\partial z}}\left( {A\frac{{\partial u}}{{\partial z}}} \right)\\ \frac{{\partial v}}{{\partial t}} + fu = \frac{\partial }{{\partial z}}\left( {A\frac{{\partial v}}{{\partial z}}} \right) \end{array}, \right. $ (1)

相应的边界条件为

$ \begin{array}{l} {\left. {\frac{{\partial u}}{{\partial z}}} \right|_{z = 0}} = \frac{{{C_{\rm{D}}}}}{A}\frac{{{\rho _{\rm{a}}}}}{{{\rho _w}}}\sqrt {u_{\rm{a}}^{\rm{2}} + v_{\rm{a}}^{\rm{2}}} {u_{\rm{a}}}\;, \;\;{\left. {\frac{{\partial v}}{{\partial z}}} \right|_{z = 0}} = \\ \;\;\;\;\;\;\;\;\;\;\;\;\frac{{{C_{\rm{D}}}}}{A}\frac{{{\rho _{\rm{a}}}}}{{{\rho _{\rm{w}}}}}\sqrt {u_{\rm{a}}^2 + v_{\rm{a}}^{\rm{2}}} {v_{\rm{a}}}, \; \end{array} $ (2)
$ A{\left. {\frac{{\partial u}}{{\partial z}}} \right|_{z = - {H_0}}} = 0\;, \;\;A{\left. {\frac{{\partial v}}{{\partial z}}} \right|_{z = - {H_0}}} = 0, $ (3)

相应的初始条件为

${\left. u \right|_{t = 0}} = {u_0}\;, \;\;{\left. v \right|_{t = 0}} = {v_0},$ (4)

其中, z轴向上为正且海表面处z=0, u(z)(向东为正)和v(z)(向北为正)为各深度水平方向的流速分量; f为科氏参数(常值), CD为风应力拖曳系数, A为涡动黏性系数; ρaρw分别为空气和水的密度, uava是风速的分量, H0为Ekman层的深度, u0v0是初始流速。

在本文中, 模型参数设置如下:

f=10–4 s–1(中纬度海域);

u0(j)=0.01cos[π/4–(j–0.5)π/20]e–(j–0.5)π/20 m/s, v0(j)= 0.01sin[π/4–(j–0.5)–π/20]e–(j–0.5)π/20 m/s(生成厘米级初始流速, 其中j为层数);

ua=10sin(2πiΔt/T0) m/s(生成周期性变化风速, 其中i为时间步), va=0(假设只有东西向风速);

T0=10 h(风速变化周期), T=10 d(总积分时间), Δt=0.5 h(时间步长);

CD=1.2×10–3; A(i)=0.02×[1.2+0.5sin(2πiΔt/24T0)+ 0.5cos(2πiΔt/4T0)] m2/s, (其中i为时间步);

ρa=1.2 kg/m3, ρw=1.025×103 kg/m3;

H0=100 m, Δz=5 m。

由于控制方程中变量具有不同的单位和量级, 为了使方程具有更好的通用性, 我们参考前人工作[18], 进行了变量替换。由此得到方程:

$\left\{ \begin{array}{l} \frac{{\partial u}}{{\partial t}} - v = \frac{\partial }{{\partial z}}\left( {A\frac{{\partial u}}{{\partial z}}} \right)\\ \frac{{\partial v}}{{\partial t}} + u = \frac{\partial }{{\partial z}}\left( {A\frac{{\partial v}}{{\partial z}}} \right) \end{array}, \right.$ (5)

相应的边界条件为

${\left. {\frac{{\partial u}}{{\partial z}}} \right|_{z = 0}} = {C_D}\sqrt {u_{\rm{a}}^2 + v_{\rm{a}}^2} {u_{\rm{a}}}\;, \;\;{\left. {\frac{{\partial v}}{{\partial z}}} \right|_{z = 0}} = {C_D}\sqrt {u_{\rm{a}}^2 + v_{\rm{a}}^2} {v_{\rm{a}}},$ (6)
$ A{\left. {\frac{{\partial u}}{{\partial z}}} \right|_{z = - {H_0}}} = 0\;, \;\;A{\left. {\frac{{\partial v}}{{\partial z}}} \right|_{z = - {H_0}}} = 0, $ (7)

相应的初始条件为

${\left. u \right|_{t = 0}} = {u_0}\;, \;\;{\left. v \right|_{t = 0}} = {v_0}.$ (8)
1.2 伴随方程(反向模型)

构造代价函数

$J\left( {u, v, A} \right) = \frac{1}{2}{K_m}\int_t {\int_z {\left( {{{\left( {u - \hat u} \right)}^2} + {{\left( {v - \hat v} \right)}^2}} \right){\rm{d}}z} {\rm{d}}t}, $ (9)

其中, $\hat u$$\hat v$为流速观测值; Km为权重矩阵, 在本文中设为单位矩阵[31]

构造拉格朗日函数

$\begin{array}{l} L\left( {u, v, A, \lambda , \mu } \right) = J + \\ \int_t {\int_z {\left[ {\lambda \left( {\frac{{\partial u}}{{\partial t}} - v - \frac{\partial }{{\partial z}}\left( {A\frac{{\partial u}}{{\partial z}}} \right)} \right) + \mu \left( {\frac{{\partial v}}{{\partial t}} + u - \left( {A\frac{{\partial v}}{{\partial z}}} \right)} \right)} \right]{\rm{d}}z} {\rm{d}}t}, \end{array}$ (10)

其中, λμ分别是uv的拉格朗日乘子(又称为伴随变量), 代价函数在控制方程约束下的最小化问题, 变成寻找拉格朗日函数梯度消失时的u, v, A, λμ的驻点问题。由此得到以下方程:

$\frac{{\partial L\left( {u, v, A, \lambda , \mu } \right)}}{{\partial \lambda }} = 0\;, \;\;\frac{{\partial L\left( {u, v, A, \lambda , \mu } \right)}}{{\partial \mu }} = 0,$ (11)
$\frac{{\partial L\left( {u, v, A, \lambda , \mu } \right)}}{{\partial u}} = 0\;, \;\;\frac{{\partial L\left( {u, v, A, \lambda , \mu } \right)}}{{\partial v}} = 0,$ (12)
$\frac{{\partial L\left( {u, v, A, \lambda , \mu } \right)}}{{\partial A}} = 0.$ (13)

方程组(11)对应原始的控制方程, 方程组(12)得到伴随方程:

$\left\{ \begin{array}{l} \frac{{\partial \lambda }}{{\partial t}} - \mu + \frac{\partial }{{\partial z}}\left( {A\frac{{\partial \lambda }}{{\partial z}}} \right) = {K_m}\left( {u - \hat u} \right)\\ \frac{{\partial \mu }}{{\partial t}} + \lambda + \frac{\partial }{{\partial z}}\left( {A\frac{{\partial \mu }}{{\partial z}}} \right) = {K_m}\left( {v - \hat v} \right) \end{array}, \right.$ (14)

相应的边界条件为

${\left. {\frac{{\partial \lambda }}{{\partial z}}} \right|_{z = 0}} = 0\;, \;\;{\left. {\frac{{\partial \mu }}{{\partial z}}} \right|_{z = 0}} = 0,$ (15)
${\left. {\frac{{\partial \lambda }}{{\partial z}}} \right|_{z = - {H_0}}} = 0\;, \;\;{\left. {\frac{{\partial \mu }}{{\partial z}}} \right|_{z = - {H_0}}} = 0,$ (16)

相应的初始条件为

${\left. \lambda \right|_{t = T}} = 0\;, \;\;{\left. \mu \right|_{t = T}} = 0.$ (17)

对控制方程进行正向积分, 得到模拟流速值; 对伴随方程进行反向积分, 得到伴随变量值。一般来说, 反向积分时间等于正向积分时间[32]

涡动黏性系数A(t)的值, 可由方程(13)结合优化算法进行反演得到。

1.3 优化算法

利用方程(13), 可求解代价函数关于涡动黏性系数的梯度。

若将VEVC视为恒定值:

$ \frac{{\partial J}}{{\partial A}} = - \int_t {\int_z {\left( {\frac{{\partial \lambda }}{{\partial z}}\frac{{\partial u}}{{\partial z}} + \frac{{\partial \mu }}{{\partial z}}\frac{{\partial v}}{{\partial z}}} \right){\rm{d}}z} {\rm{d}}t} . $ (18)

若考虑VEVC的深度变化:

$ \frac{{\partial J}}{{\partial A\left( z \right)}}{\rm{ = }} - \int_t {\left( {\frac{{\partial \lambda }}{{\partial z}}\frac{{\partial u}}{{\partial z}} + \frac{{\partial \mu }}{{\partial z}}\frac{{\partial v}}{{\partial z}}} \right){\rm{d}}t} . $ (19)

在本文中, 考虑VEVC的时间变化:

$ \frac{{\partial J}}{{\partial A\left( t \right)}}{\rm{ = }} - \int_z {\left( {\frac{{\partial \lambda }}{{\partial z}}\frac{{\partial u}}{{\partial z}} + \frac{{\partial \mu }}{{\partial z}}\frac{{\partial v}}{{\partial z}}} \right){\rm{d}}z} . $ (20)

结合梯度与优化算法, 即可反演涡动黏性系数:

${A_{n + 1}} = {A_n} + {\alpha _n}{d_n},$ (21)

其中, AnAn+1为第n次迭代中涡动黏性系数的当前值和调整值, αndn分别代表迭代步长和搜索方向。经过反复调试[33], 在本文中αn设为4.0×10–4。确定dn有多种可行的优化算法[34], 本文应用了其中三种, 分别是梯度下降法(gradient descent, GD)、共轭梯度法(quasi-Newton conjugate gradient, CG)和有限记忆BFGS(limited-memory Broyden-Fletcher-Goldfarb-Shanno, L-BFGS)法。

在梯度下降法中, 搜索方向为:

${d_n} = - {g_n} = - \left( {\frac{{\partial J}}{{\partial A}}} \right)_n^0 = - \frac{{{{\left( {\partial J/\partial A} \right)}_n}}}{{\left\| {{{\left( {\partial J/\partial A} \right)}_n}} \right\|}},$ (22)

其中, (∂J/∂A)n是第n次迭代中代价函数关于涡动黏性系数的梯度, 而||(∂J/∂A)n||是其L2范数。

在共轭梯度法中, 搜索方向被定义为共轭方向:

$ {d_n} = - {g_n} + \frac{{{{\left\| {{g_n}} \right\|}^2}}}{{{{\left\| {{g_{n - 1}}} \right\|}^2}}}{d_{n - 1}}. $ (23)

L_BFGS法是有限记忆的BFGS法, 它要求搜索方向满足[35]:

$ {d_n} = - {H_n}{g_n}, $ (24)

其中,

$\begin{array}{l} {H_n} = \left( {V_{n - 1}^T \cdots V_{n - m}^T} \right){H_0}\left( {{V_{n - m}} \cdots {V_{n - 1}}} \right)\\ \;\;\;\;\;\;\; + {\rho _{n - m}}\left( {V_{n - 1}^T \cdots V_{n - m + 1}^T} \right){s_{n - m}}s_{n - m}^T\left( {{V_{n - m + 1}} \cdots {V_{n - 1}}} \right)\\ \;\;\;\;\;\;\; + {\rho _{n - m + 1}}\left( {V_{n - 1}^T \cdots V_{n - m + 2}^T} \right){s_{n - m + 1}}s_{n - m + 1}^T\left( {{V_{n - m + 2}} \cdots {V_{n - 1}}} \right)\\ \;\;\;\;\;\;\; + \cdots \\ \;\;\;\;\;\;\; + {\rho _{n - 1}}{s_{n - 1}}s_{n - 1}^T.\; \end{array}$ (25)

在方程(25)中, ρn=1/snynT, Vn=1–ρnynsnT, sn=An+1An=αndn, yn=gn+1gn; m是校正对的数量, 通常取在3~7, 本文中设为5[36]

2 理想试验

为了验证模型的合理性和可行性, 设计若干组理想孪生实验, 分别探讨优化算法、初始猜测、观测深度等因素对实验结果的影响。具体步骤如下:

(1) 以涡动黏性系数的给定值运行正向模型, 将模拟流速视为观测值;

(2) 以涡动黏性系数的猜测值(初始猜测值A1=0.002 m2/s)运行正向模型, 得到流速模拟值;

(3) 以流速观测值和模拟值的差驱动反向模型, 对猜测值进行优化;

(4) 重复步骤(2)和(3), 直至结果满足收敛性判别标准, 得到涡动黏性系数的最终反演值。

2.1 优化算法的影响

GD、CG和L-BFGS是三种常用的优化算法。一些研究表明, L-BFGS法相对于其他算法具有明显优越性[37-39]; 不过, 也有研究认为GD法反演的结果更好[40-41]。为此, 我们设计了一组实验探讨三种算法的优劣。

在参数优化的过程中, 迭代了足够多步, 选取其中最好的结果进行展示分析。本组垂向涡动黏性系数的给定值和反演值如图 1a所示, 代价函数下降情况如图 1b所示。同化后的代价函数和均方根误差见表 1

图 1 第1组的垂向涡动黏性系数给定值与反演值(a)和代价函数(b) Fig. 1 Prescribed and inverted VEVCs (a) and cost functions (b) in Group 1 注: VEVC表示垂向涡动黏性系数 Note: VEVC is the abbreviations for vertical eddy viscosity coefficient

表 1 第1组同化后的代价函数和均方根误差 Tab. 1 Cost functions and RMSEs after assimilation in Group 1
编号 算法 代价函数 均方根误差
J J/J0 RMSE RMSE/RMSEo
1 GD 6.7×10–5 2.6×10–4 3.4×10–3 1.4×10–1
2 CG 2.6×10–4 9.8×10–4 4.8×10–3 2.0×10–1
3 L-BFGS 6.9×10–5 2.6×10–4 3.3×10–3 1.3×10–1

在本组实验中, 三个算例的代价函数都下降了4个数量级, 均方根误差都下降了1个数量级, 均得到了不错的结果。其中2号和3号的收敛速度高于1号, 1号和3号的反演结果明显好于2号。综合考虑, 和另外两种算法相比, GD法处理本问题的效果更好。因此, 在以下的实验中, 我们选取GD法来进行反演。

2.2 初始猜测的影响

合理的初猜测值可以提高反演结果, 加快收敛速度[42]。因此, 我们设计了本组实验以探究不同初始猜测值对本模型反演结果的影响。本组垂向涡动黏性系数的给定值和反演值如图 2a所示, 代价函数下降情况如图 2b所示。同化后的代价函数和均方根误差见表 2

图 2 第2组的垂向涡动黏性系数给定值与反演值(a)和代价函数(b) Fig. 2 Prescribed and inverted VEVCs (a) and cost functions (b) in Group 2

表 2 第2组同化后的代价函数和均方根误差 Tab. 2 Cost functions and RMSEs after assimilation in Group 2
编号 初始猜测值 代价函数 均方根误差
J J/ J0 RMSE RMSE/RMSEo
1 0.002 6.7×10–5 2.6×10–4 3.4×10–3 1.4×10–1
4 0.02 3.6×10–5 2.8×10–4 2.2×10–3 2.1×10–1
5 0.04 1.0×10–4 4.8×10–3 2.7×10–3 1.4×10–1

本组实验中, 三个算例的反演结果都接近一开始的给定值。在同化后, 代价函数下降了3~4个数量级, 均方根误差下降了1个数量级。1号实验的初始猜测值最小, 优化效果最显著。4号实验的初始猜测值与给定分布的平均值最接近, 所需迭代步数最少, 反演误差也最小。实验表明, 与实际值接近的初始猜测值能提高反演结果。处理实测数据时, 可以参考其他文献中的涡动黏性估计结果[29, 43-44], 给定合适的初始猜测值。

在以下的实验中, 为了展示明显的同化前后结果对比, 仍采用较小的初始猜测值。

2.3 观测深度的影响

在以上几组实验中, 我们用到了所有层的流速数据。然而在实际操作中, 由于观测仪器盲区等原因, 在某些深度上很可能没有观测数据。吕咸青[45]曾仅凭对海洋表层和次表层的“观测”, 反演出海洋涡动黏性剖面。在本组实验中, 我们也进行了类似的尝试, 即通过部分层的数据来进行反演, 探究数据缺失对结果的影响。

本组垂向涡动黏性系数的给定值和反演值如图 3a所示, 代价函数下降情况如图 3b所示。同化后的代价函数和均方根误差见表 3

图 3 第3组的垂向涡动黏性系数给定值与反演值(a)和代价函数(b) Fig. 3 Prescribed and inverted VEVCs (a) and cost functions (b) in Group 3

表 3 第3组同化后的代价函数和均方根误差 Tab. 3 Cost functions and RMSEs after assimilation in Group 3
编号 深度/m 代价函数 均方根误差
J J/ J0 RMSE RMSE/RMSEo
1 0~100 6.7×10–5 2.6×10–4 3.4×10–3 1.4×10–1
6 0~10 1.8×10–4 6.7×10–4 4.9×10–3 2.0×10–1
7 25~100 5.1×10–3 1.9×10–2 6.3×10–3 2.6×10–1

从代价函数下降情况来看, 使用的数据越少, 收敛速度越快。就反演结果而言, 6号优于7号, 但与使用全部层的流速相比仍略逊一筹。这说明反演结果对表层和次表层的流速比较敏感, 而较深层流速对反演结果的贡献较小, 与Ekman理论相符合。不过整体而言, 本组实验都成功地反演了VEVC的时间变化, 说明本模型能在一定程度上适应观测比较缺乏的海洋环境。

3 实际实验 3.1 数据描述

本文研究的区域为百慕大群岛邻近海域(如图 4a所示)。这片区域极端事件频发, 1851~2005年期间受到188次热带风暴和飓风袭击[46], 是研究上层海洋响应风应力变化的理想区域。

图 4 研究区域和BTM站位位置(a)以及观测仪器示意图(b) Fig. 4 Study area and BTM position (a) and observation instruments diagram (b)

本文的研究数据来自百慕大试验站锚泊系统(Bermuda testbed mooring, BTM)第24次部署(如图 4b所示)。BTM是位于百慕大东南80 km处的深水平台, 自1994年开始部署。它能在传统采样无法进行的恶劣天气保持观测, 收集高时间分辨率的长时间序列数据, 可用于开发测试新仪器、收集跨学科数据, 以及为卫星遥感传感器提供标定和验证数据[47-48]

风速数据由海表面的浮标塔测量, 时间分辨率为5 min。风速及风应力时间序列如图 5a所示。流速数据由200 m深处的声学多普勒流速剖面仪(acoustic Doppler current profiler, ADCP)测量, 时间分辨率为15 min, 垂向分辨率为3 m, 采样深度为26.52~ 191.52 m。26.52 m处流速时间序列如图 5b所示。

图 5 风速(a)和26.52 m处的流速时间序列(b) Fig. 5 Wind velocity (a) and current velocity time series at 26.52 m (b)

我们选取2006年8月9日0点~2006年8月19日0点时段的数据, 拟从中提取Ekman流分量, 并将流速插值到25~100 m深度用于本文的同化模型。

3.2 数据处理 3.2.1 滤除潮流

利用带通滤波可以从观测流速中提取近惯性流分量[22, 49]。对流速时间序列进行频谱分析(如图 6a所示), 近惯性频段与全日潮P1、K1两个分潮频率比较接近。对观测流速进行希尔伯特变换(Hilbert transform)带通滤波处理, 提取频段范围取为[0.96 1.2]fl, 其中fl为当地惯性频率。选择该范围既能够避免全日潮信号污染, 又能够最大限度提取近惯性流。过滤前后的流速对比如图 6b所示。

图 6 流速频谱(a)和滤波处理前后的流速(b) Fig. 6 Frequency spectrum (a) and velocities before and after filtering (b)
3.2.2 分离地转流
$ {U_{{\rm{ni}}}} = {U_{{\rm{ek}}}} + {U_{{\rm{geo}}}}. $ (26)

如公式(28)所示, 近惯性流速Uni由Ekman流速(风生流速)Uek和地转流速Ugeo两大组分构成。在以往的研究中, 常选取一个地转参考零面, 将该深度以下的流速(视为恒定值)作为地转参考速度[50-51]。然而, 由于地转剪切的存在, 恒定地转流速的假设很可能导致对一部分地转流速与Ekman流速发生混叠, 造成对Ekman流速的错误估计[52-53]。为此, 我们参考Roach等的做法, 将地转剪切也考虑进来, 把地转流速拆分为两部分[54]:

$ {U_{{\rm{ni}}}} = {U_{{\rm{ek}}}} + {U_{{\rm{deep}}}} + \frac{{{\rm{d}}{U_{{\rm{geo}}}}}}{{{\rm{d}}z}}z, $ (27)

其中, Udeep是恒定的地转参考速度, dUgeo/dz是恒定的地转剪切。

提取出的近惯性流的典型流速剖面如图 7a所示, 140 m以下流速变化很小, 因此Udeep取为140 m以下的近惯性流速平均值; 考虑到模型深度设为100 m, 因此dUgeo/dz取为100~140 m近惯性流速切变平均值。提取出的Ekman流的典型流速剖面如图 7b所示。

图 7 分离地转流之前(a)和之后(b)典型流速剖面 Fig. 7 Typical velocity profiles before (a) and after (b) isolating the geostrophic current 注: univni表示近惯性流速Uni的分量, uekvek表示风生流速Uek的分量 Note: uni and vni are velocities of approximate inertial manifold Uni, uek and vek are velocities of Ekman flow Uek
3.3 优化算法

对抛物化Navier-Stokes方程模型的研究发现, 有无黏性可能对优化算法的反演结果产生影响[3]。而基于内潮模型反演开边界条件的研究发现, 当同化的观测包括未知边界附近区域时, L-BFGS法表现最好, 而当同化的观测仅包括远离未知边界的区域时, 只有GD法才能取得令人满意的结果[55]。这说明理想实验和实际实验的结果可能略有不同。

为了验证在实际实验中, 三种优化算法的表现是否跟理想实验一致, 我们设置了本组实验。本组VEVC的反演值如图 8a所示, 代价函数下降情况如图 8b所示。同化后的代价函数和VEVC平均值见表 4

图 8 第5组的垂向涡动黏性系数反演值(a)和代价函数(b) Fig. 8 Inverted VEVCs (a) and cost functions (b) in Group 5

表 4 第4组同化后的代价函数和VEVC平均值 Tab. 4 Cost functions and RMSEs after assimilation in Group 4
编号 算法 代价函数 VEVC平均值/(m2/s)
J J/J0
8 GD 7.4 67% 0.010
9 CG 8.8 80% 0.017
10 LBFGS 10.5 92% 0.027

同化一开始, 三个算例的代价函数下降速度差不多。但9号和10号的下降很快陷入停滞, 只有8号代价函数下降最为显著, 为同化前的67%。结果表明, GD法在实际实验中的表现最好, 这与理想实验结果一致。因此, GD法虽然比较简单, 但因其可控且易于实施的特性, 在实际应用中仍具有强大竞争力。在本文接下来的实际实验中, 我们同样采用了GD法。

3.4 反演策略

对风暴潮的数值模拟研究发现, 与将风应力拖曳系数设为常数的参数化方案相比, 将其设为随风速变化的方案模拟结果误差更小[56]。二维潮波模型的底摩擦系数反演研究说明, 反演策略假定的参数分布情况与实际分布一致时, 取得的反演结果最好[57]。以往反演Ekman模型VEVC的研究, 一般把VEVC设为随深度变化而忽视其时间变化[18, 42, 46]。但大量研究表明, VEVC同样有很强的时间变化特征[28-30]

为了对比不同方案的优劣, 我们在本组实验中采取了三种反演策略: (1)恒定; (2)深度变化; (3)时间变化。本组时间平均的流速剖面如图 9a所示, 25 m处u向流速时间序列如图 9b所示。同化后的代价函数和VEVC平均值见表 5

图 9 第5组的时间平均流速剖面(a)和25 m流速时间序列(b) Fig. 9 Time-averaged velocity profiles (a) and U-velocity time series at 25m (b) in Group 5

表 5 第5组同化后的代价函数和VEVC平均值 Tab. 5 Cost functions and RMSEs after assimilation in Group 5
编号 VEVC 代价函数 VEVC平均值/(m2/s)
J J/J0
11 恒定 10.5 95% 0.0099
12 深度变化 8.6 78% 0.024
8 时间变化 7.4 67% 0.010

表 5可知, 11号同化后的代价函数为同化前的95%, 下降很小, 说明恒定型VEVC的反演策略优化效果很弱。12号的这一数值为78%, 比11号小, 但不及8号的67%。这说明深度变化型的反演结果相比于恒定型有一定进步, 却还是比不上时间变化型。从图 9可以看出, 采用时间变化型VEVC反演策略的流速模拟结果, 最接近观测值。由此可以得出结论, 时间变化型反演策略相较于其他两种策略具备一定优越性。相对而言, 时间变化结合深度变化更为合理, 但独立变量的增加将会加剧反问题不适定性的影响, 如何克服这一限制, 将有待未来研究。

根据实验结果, 研究区域的VEVC在0.01 m2/s左右, 且具有较大的波动。不同研究中得到的VEVC大小如表 6所示, 量级一般为O(10–1~10–3 m2/s)。对比可知, 本文得到的VEVC量级与它们大体范围一致。不少研究发现, 按流速随深度的大小衰减和按流速随深度的相位变化计算得到的VEVC相差8~10倍, 这被认为是层化现象导致的[51-52, 58-59]。而在南大洋的研究证明, 两种方式计算结果的差异可以用地转剪切来解释[53, 55]。本文在提取Ekman流时, 已经考虑了地转剪切的影响, 然而得到的VEVC值与他们的结果相比仍偏小。可能的原因是本文使用的观测数据来自中低纬度的Bermuda试验站锚泊系统, 层化现象比南大洋要强。

表 6 不同研究中得到的VEVC大小 Tab. 6 Amplitude of the VEVC obtained by different studies
研究者 区域 VEVC/(m2/s)
Price等, 1987[58] 西马尾藻海(35°N) 0.006(按大小) 0.054(按相位)
Weller, 1991[59] 加利福尼亚沿岸(32°N) 0.005(按大小) 0.05(按相位)
Chereskin, 1995[50] 加利福尼亚流(37°N) 0.0274(按大小) 0.1011(按相位)
Lenn等, 2009[51] 德雷克海峡(54°~64°S) 0.0308(按大小) 0.221(按相位)
Elipot等, 2009[14] 南大洋(30°~60°S) 0.04~0.118
Polton等, 2013[53] 德雷克海峡(54°~64°S) 0.08~0.12
Roach等, 2015[54] 凯尔盖朗群岛以北(40°~50°S) 0.05~0.25
4 结论

本文提出了基于伴随同化技术反演Ekman模型VEVC时间变化的方法。通过一系列理想实验和实际实验中对优化算法、初始猜测值、观测深度、反演策略等因素进行了探究, 验证了方法的有效性。主要结论包括:

(1) L-BFGS法和CG法代价函数下降速度快于GD法, L-BFGS法和GD法的准确性高于CG法, 综合来看优化效果最好的是GD法; 而在实际应用中, 可控且易于实施的GD法相较于L-BFGS法和CG法仍然具有一定优势。(2)合理的初始猜测值能改善实验结果。初始猜测值与实际值接近时, 反演所需的步数减少, 最终误差变小。(3)使用不同观测深度的流速反演时, 结果有所不同。本模型对表层和次表层的流速更为敏感。(4)将VEVC设为时间变化型的反演策略, 比恒定型和深度变化型更具优越性。

此外, 本文利用从BTM数据中提取的Ekman流成功反演了该地区的VEVC, 并将其与南大洋等地区的数值进行了对比。总的来说, 本文提出的方法能适应各种不同的实验情况, 并且在百慕大地区得到了初步应用。这项工作增进了我们对Ekman模型的理解, 并提供了一种有效的方法来确定VEVC的时间变化。

参考文献
[1]
Paskyabi M B, Fer I. Turbulence structure in the upper ocean:a comparative study of observations and modeling[J]. Ocean Dynamics, 2014, 64(4): 611-631. DOI:10.1007/s10236-014-0697-6
[2]
Davies A M, Xing J. The influence of eddy viscosity parameterization and turbulence energy closure scheme upon the coupling of tidal and wind induced currents[J]. Estuarine Coastal and Shelf Science, 2001, 53(4): 415-436. DOI:10.1006/ecss.1999.0623
[3]
Chassignet E P, Garraffo Z D. Viscosity parameterization and the Gulf Stream separation[R]. Miami: Rosenstiel School of Marine and Atmospheric Science, University of Miami, 2001.
[4]
Zhao R, Vallis G K. Parameterizing mesoscale eddies with residual and Eulerian schemes, and a comparison with eddy-permitting models[J]. Ocean Modelling, 2008, 1-12.
[5]
Pacanowski R C, Philander S G. Parameterization of Vertical Mixing in Numerical Models of Tropical Oceans[J]. Journal of Physical Oceanography, 1981, 11(11): 1443-1451. DOI:10.1175/1520-0485(1981)011<1443:POVMIN>2.0.CO;2
[6]
Ferreira V G, Mangiavacchi N, Tome M F, et al. Numerical simulation of turbulent free surface flow with two-equation k-ε eddy-viscosity models[J]. International Journal for Numerical Methods in Fluids, 2004, 44(4): 347-375. DOI:10.1002/(ISSN)1097-0363
[7]
Mellor G L. User's guide for a three-dimensional, primitive equation, numerical ocean model[M]. Princeton: Princeton University, 2004: 56.
[8]
Odier P, Chen J, Rivera M K, et al. Fluid mixing in stratified gravity currents:the Prandtl mixing length[J]. Physical Review Letters, 2009, 102(13): 134504. DOI:10.1103/PhysRevLett.102.134504
[9]
Wang Y, Qiao F, Fang G, et al. Application of wave-induced vertical mixing to the K profile parameterization scheme[J]. Journal of Geophysical Research:Oceans, 2010, 115: C09014.
[10]
Thacker W C, Long R B. Fitting dynamics to data[J]. Journal of Geophysical Research:Oceans, 1988, 93(C2): 1227-1240. DOI:10.1029/JC093iC02p01227
[11]
Kazantsev E. Sensitivity of a Shallow-Water Model to Parameters[J]. Nonlinear Analysis-real World Applications, 2012, 13(3): 1416-1428. DOI:10.1016/j.nonrwa.2011.11.006
[12]
Navon I M. Practical and theoretical aspects of adjoint parameter estimation and identifiability in meteorology and oceanography[J]. Dynamics of Atmospheres and Oceans, 1998, 27(1-4): 55-79. DOI:10.1016/S0377-0265(97)00032-8
[13]
Zhang J, Lu X. Parameter estimation for a three-dimensional numerical barotropic tidal model with adjoint method[J]. International journal for numerical methods in fluids, 2008, 57(1): 47-92. DOI:10.1002/(ISSN)1097-0363
[14]
Elipot S, Gille S T. Ekman layers in the Southern Ocean:spectral models and observations, vertical viscosity and boundary layer depth[J]. Ocean Science, 2009, 5(2): 115-139. DOI:10.5194/os-5-115-2009
[15]
Lentz S J. Sensitivity of the Inner-Shelf Circulation to the Form of the Eddy Viscosity Profile[J]. Journal of Physical Oceanography, 1995, 25(1): 19-28.
[16]
Mcwilliams J C, Huckle E, Shchepetkin A F, et al. Buoyancy Effects in a Stratified Ekman Layer[J]. Journal of Physical Oceanography, 2009, 39(10): 2581-2599. DOI:10.1175/2009JPO4130.1
[17]
Wirth A. On the Ekman Spiral with an Anisotropic Eddy Viscosity[J]. Boundary-Layer Meteorology, 2010, 137(2): 327-331. DOI:10.1007/s10546-010-9527-7
[18]
Yu L, Obrien J J. Variational Estimation of the Wind Stress Drag Coefficient and the Oceanic Eddy Viscosity Profile[J]. Journal of Physical Oceanography, 1991, 21(5): 709-719. DOI:10.1175/1520-0485(1991)021<0709:VEOTWS>2.0.CO;2
[19]
Panchang V G, Richardson J E. Inverse Adjoint Estimation of Eddy Viscosity for Coastal Flow Models[J]. Journal of Hydraulic Engineering, 1993, 119(4): 506-524. DOI:10.1061/(ASCE)0733-9429(1993)119:4(506)
[20]
Lardner R W, Song Y. Optimal estimation of Eddy viscosity and friction coefficients for a Quasi-three-dimensional numerical tidal model[J]. Atmosphere-ocean, 1995, 33(3): 581-611. DOI:10.1080/07055900.1995.9649546
[21]
Zhang J, Lu X. Parameter estimation for a three-dimensional numerical barotropic tidal model with adjoint method[J]. International Journal for Numerical Methods in Fluids, 2008, 57(1): 47-92. DOI:10.1002/(ISSN)1097-0363
[22]
Zhang Y, Tian J, Xie L. Estimation of eddy viscosity on the South China Sea shelf with adjoint assimilation method[J]. Acta Oceanologica Sinica, 2009, 28(5): 9-16.
[23]
Jarosz E, Mitchell D A, Wang D W, et al. Bottom-up determination of air-sea momentum exchange under a major tropical cyclone[J]. Science, 2007, 315(5819): 1707-1709. DOI:10.1126/science.1136466
[24]
Maurer K D, Bohrer G, Kenny W T, et al. Large-eddy simulations of surface roughness parameter sensitivity to canopy-structure characteristics[J]. Biogeosciences, 2015, 12(8): 2533-2548. DOI:10.5194/bg-12-2533-2015
[25]
Lacy J R, Sherwood C R, Wilson D J, et al. Estimating hydrodynamic roughness in a wave-dominated environment with a high-resolution acoustic Doppler profiler[J]. Journal of Geophysical Research:Oceans, 2005, 110: C06014.
[26]
Lozovatsky I, Liu Z, Wei H, et al. Tides and mixing in the northwestern East China Sea, Part Ⅱ:Near-bottom turbulence[J]. Continental Shelf Research, 2008, 28(2): 338-350. DOI:10.1016/j.csr.2007.08.007
[27]
Gwyther D E, Galton-Fenzi B K, Dinniman M S, et al. The effect of basal friction on melting and freezing in ice shelf-ocean models[J]. Ocean Modelling, 2015, 95: 38-52. DOI:10.1016/j.ocemod.2015.09.004
[28]
Pohlmann T. Calculating the annual cycle of the vertical eddy viscosity in the North Sea with a three-dimensional baroclinic shelf sea circulation model[J]. Continental Shelf Research, 1996, 16(2): 147-161. DOI:10.1016/0278-4343(94)E0037-M
[29]
Kirincich A R, Barth J A. Time-varying across-shelf Ekman transport and vertical eddy viscosity on the inner shelf[J]. Journal of Physical Oceanography, 2009, 39(3): 602-620.
[30]
Yoshikawa Y, Endoh T, Matsuno T, et al. Turbulent bottom Ekman boundary layer measured over a continental shelf[J]. Geophysical Research Letters, 2010, 37: L15065.
[31]
Yu L, O'Brien J J. On the initial condition in parameter estimation[J]. Journal of Physical Oceanography, 1992, 22(11): 1361-1364. DOI:10.1175/1520-0485(1992)022<1361:OTICIP>2.0.CO;2
[32]
Zhang J, Lu X. Inversion of three-dimensional tidal currents in marginal seas by assimilating satellite altimetry[J]. Computer Methods in Applied Mechanics and Engineering, 2010, 199(49-52): 3125-3136. DOI:10.1016/j.cma.2010.06.014
[33]
Hulsmann M, Koddermann T, Vrabec J, et al. GROW:A gradient-based optimization workflow for the automated development of molecular models[J]. Computer Physics Communications, 2010, 181(3): 499-513. DOI:10.1016/j.cpc.2009.10.024
[34]
Zhu Y, Navon I M. Impact of parameter estimation on the performance of the FSU global spectral model using its full-physics adjoint[J]. Monthly Weather Review, 1999, 127(7): 1497-1517. DOI:10.1175/1520-0493(1999)127<1497:IOPEOT>2.0.CO;2
[35]
Liu D C, Nocedal J. On the limited memory BFGS method for large scale optimization[J]. Mathematical Programming, 1989, 45(3): 503-528.
[36]
Alekseev A K, Navon I M, Steward J L, et al. Comparison of advanced large-scale minimization algorithms for the solution of inverse ill-posed problems[J]. Optimization Methods & Software, 2009, 24(1): 63-87.
[37]
Jin G, Liu Q, Lv X, et al. Inversion study of vertical eddy viscosity coefficient based on an internal tidal model with the adjoint method[J]. Mathematical Problems in Engineering, 2015, 2015: 915793.
[38]
Zou X, Navon I M, Berger M, et al. Numerical experience with limited-memory quasi-Newton and truncated Newton methods[J]. Siam Journal on Optimization, 1993, 3(3): 582-608. DOI:10.1137/0803029
[39]
Zhang J, Wang Y. A method for inversion of periodic open boundary conditions in two-dimensional tidal models[J]. Computer Methods in Applied Mechanics and Engineering, 2014, 275: 20-38. DOI:10.1016/j.cma.2014.02.020
[40]
Vrahatis M N, Androulakis G S, Lambrinos J N, et al. A class of gradient unconstrained minimization algorithms with adaptive stepsize[J]. Journal of Computational and Applied Mathematics, 2000, 114(2): 367-386. DOI:10.1016/S0377-0427(99)00276-9
[41]
Zhang Q, Gao Y, Lv X, et al. Estimation of oceanic eddy viscosity profile and wind stress drag coefficient using adjoint method[J]. Mathematical Problems in Engineering, 2015, 2015: 309525.
[42]
Dattner I. A model-based initial guess for estimating parameters in systems of ordinary differential equations[J]. Biometrics, 2015, 71(4): 1176-1184. DOI:10.1111/biom.12348
[43]
Leredde Y, Devenon J, Dekeyser I, et al. Turbulent viscosity optimized by data assimilation[J]. Annales Geophysicae, 1999, 17(11): 1463-1477. DOI:10.1007/s00585-999-1463-9
[44]
Yoshikawa Y, Endoh T. Estimating the eddy viscosity profile from velocity spirals in the Ekman boundary layer[J]. Journal of Atmospheric and Oceanic Technology, 2015, 32(4): 793-804. DOI:10.1175/JTECH-D-14-00090.1
[45]
吕咸青. 数据同化反演风应力拖曳系数以及垂向涡动黏性系数的分布[J]. 海洋学报, 2001, 23(1): 13-20.
Lv Xianqing. Deducing the wind stress drag coefficient and the oceanic eddy viscosity profile by data assimilation[J]. Acta Oceanologica Sinica, 2001, 23(1): 13-20. DOI:10.3321/j.issn:0253-4193.2001.01.002
[46]
Black W, Dickey T D. Observations and analyses of upper ocean responses to tropical storms and hurricanes in the vicinity of Bermuda[J]. Journal of Geophysical Research:Oceans, 2008, 113: C08009.
[47]
Dickey T D, Frye D, Mcneil J, et al. Upper-ocean temperature response to hurricane Felix as measured by the Bermuda Testbed Mooring[J]. Monthly Weather Review, 1998, 126(5): 1195-1201. DOI:10.1175/1520-0493(1998)126<1195:UOTRTH>2.0.CO;2
[48]
Jiang S, Dickey T D, Steinberg D K, et al. Temporal variability of zooplankton biomass from ADCP backscatter time series data at the Bermuda Testbed Mooring site[J]. Deep-sea Research Part I-oceanographic Research Papers, 2007, 54(4): 608-636. DOI:10.1016/j.dsr.2006.12.011
[49]
孟庆军, 李培良. 黄海在有无潮作用下对"布拉万"不同响应的数值模拟研究[J]. 海洋与湖沼, 2015, 46(6): 1241-1254.
Meng Qingjun, Li Peiliang. A numerical study of the Yellow Sea responses to Bolaven with and without tides[J]. Oceanologia Et Limnologia Sinica, 2015, 46(6): 1241-1254.
[50]
Chereskin T K. Direct evidence for an Ekman balance in the California Current[J]. Journal of Geophysical Research:Oceans, 1995, 100(C9): 18261-18269. DOI:10.1029/95JC02182
[51]
Lenn Y, Chereskin T K. Observations of Ekman currents in the Southern Ocean[J]. Journal of Physical Oceanography, 2009, 39(3): 768-779. DOI:10.1175/2008JPO3943.1
[52]
Phillips H E, Bindoff N L. On the nonequivalent barotropic structure of the Antarctic Circumpolar Current:An observational perspective[J]. Journal of Geophysical Research:Oceans, 2014, 119(8): 5221-5243. DOI:10.1002/2013JC009516
[53]
Polton J, Lenn Y, Elipot S, et al. Can Drake Passage observations match Ekman's classic theory?[J]. Journal of Physical Oceanography, 2013, 43(8): 1733-1740. DOI:10.1175/JPO-D-13-034.1
[54]
Roach C J, Phillips H E, Bindoff N L, et al. Detecting and Characterizing Ekman Currents in the Southern Ocean[J]. Journal of Physical Oceanography, 2015, 45(5): 1-49.
[55]
Chen H, Cao A, Zhang J, et al. Estimation of spatially varying open boundary conditions for a numerical internal tidal model with adjoint method[J]. Mathematics and Computers in Simulation, 2014, 97: 14-38. DOI:10.1016/j.matcom.2013.08.005
[56]
罗蒋梅, 潘静, 杨支中. 海面风应力拖曳系数参数化方案对风暴潮数值模拟的影响[J]. 海洋预报, 2011, 28(3): 15-19.
Luo Jiangmei, Pan Jing, Yang Zhizhong. Impact of the parameterization scheme about sea surface wind stress drag coefficients on numerical simulation of storm surge[J]. Marine Forecasts, 2011, 28(3): 15-19. DOI:10.3969/j.issn.1003-0239.2011.03.003
[57]
Zhang J, Zhu J, Lv X. Numerical study on the bottom friction coefficient of the Bohai, Yellow and East China Seas[J]. Chinese Journal of Computational Physics, 2006, 23(6): 731-737.
[58]
Price J F, Weller R A, Schudlich R R. Wind-driven ocean currents and Ekman transport[J]. Science, 1987, 238(4833): 1534-1538. DOI:10.1126/science.238.4833.1534
[59]
Weller R A, Rudnick D L, Eriksen C C, et al. Forced ocean response during the Frontal Air-Sea Interaction Experiment[J]. Journal of Geophysical Research, 1991, 96(C5): 8611-8638. DOI:10.1029/90JC02646