You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where subscripts $i$, $e$, and $v$ indicate cell, edge, and vertex locations ($i$ was chosen for cell because $c$ and $e$ look similar). Here square brackets $[\cdot]_e$ and $[\cdot]_v$ are quantities that are interpolated to edge and vertex locations. The interpolation is typically centered, but may vary by method, particularly for advection schemes. For vector quantities, $u_e$ denotes the normal component at the center of the edge, while $u_e^\perp$ denotes the tangential component. In the discrete system, the normal component $u_e$ points positively from the lower cell index to the higher cell index, while the tangential component $u_e^\perp$ points positively $90^o$ to the left of $u_e$ (for unit vectors, ${\mathbf n}_e^\perp = {\mathbf k}\times {\mathbf n}_e$).
347
+
where subscripts $i$, $e$, and $v$ indicate cell, edge, and vertex locations ($i$ was chosen for cell because $c$ and $e$ look similar) and subscript $k$ is the layer. Here square brackets $[\cdot]_e$ and $[\cdot]_v$ are quantities that are interpolated to edge and vertex locations. The interpolation is typically centered, but may vary by method, particularly for advection schemes. For vector quantities, $u_e$ denotes the normal component at the center of the edge, while $u_e^\perp$ denotes the tangential component. In the discrete system, the normal component $u_e$ points positively from the lower cell index to the higher cell index, while the tangential component $u_e^\perp$ points positively $90^o$ to the left of $u_e$ (for unit vectors, ${\mathbf n}_e^\perp = {\mathbf k}\times {\mathbf n}_e$).
346
348
347
349
The discretized momentum drag and forcing terms are
348
350
$$
349
-
\mathcal{D}_e = - Ra \,u_e - C_D \frac{u_e\left|u_e\right|}{[h_i]_e}
351
+
\mathcal{D}_{e,k} = - Ra \,u_{e,k} - C_D \frac{u_{e,k}\left|u_{e,k}\right|}{[h_{i,k}]_e}
0 commit comments