Métodos miméticos de pasos fraccionarios - E-Archivo - Universidad ...
Métodos miméticos de pasos fraccionarios - E-Archivo - Universidad ...
Métodos miméticos de pasos fraccionarios - E-Archivo - Universidad ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
§2.3 spatial semidiscretization: a cell-no<strong>de</strong> mfd method 15<br />
⊗<br />
(i, j)<br />
(i, j + 1)<br />
⊗<br />
•<br />
( )<br />
1 1 i+ 2 , j+ 2<br />
⊗<br />
⊗<br />
(i + 1, j)<br />
(i + 1, j + 1)<br />
Figure 2.2: Stencil for the discrete divergence operator located at the (i+1/2, j+1/2)-<br />
cell center. Symbols: ⊗ : W X<br />
·,· , W Y<br />
·,·; • : (DW h )i+1/2,j+1/2.<br />
si<strong>de</strong>s of the cell:<br />
<br />
∂Ω i+1/2,j+1/2<br />
∫<br />
⟨w, n⟩ ds =<br />
ℓ β<br />
i+1/2,j<br />
∫<br />
+<br />
∫<br />
⟨w, n⟩ ds +<br />
ℓα ℓ β<br />
i+1/2,j+1<br />
∫<br />
⟨w, n⟩ ds +<br />
i+1,j+1/2<br />
ℓ α<br />
i,j+1/2<br />
⟨w, n⟩ ds<br />
⟨w, n⟩ ds.<br />
(2.13)<br />
Since each si<strong>de</strong> of the cell is a straight line, the outward unit vector normal to<br />
, we have:<br />
that si<strong>de</strong> is constant. For instance, for the si<strong>de</strong> ℓ β<br />
i+1/2,j<br />
n i+1/2,j =<br />
(<br />
yi+1,j − yi,j<br />
|ℓ β<br />
i+1/2,j |<br />
, −(xi+1,j − xi,j)<br />
|ℓ β<br />
i+1/2,j |<br />
) T<br />
.<br />
This normal vector is involved in the first integral on the right-hand si<strong>de</strong> of (2.13).<br />
Thus, we can approximate the value of such an integral by the trapezoidal rule<br />
as: ∫<br />
ℓ β<br />
⟨w, n⟩ ds ≈<br />
i+1/2,j<br />
W X i,j + W X i+1,j<br />
(yi+1,j − yi,j)<br />
2<br />
− W Y i,j + W Y i+1,j<br />
2<br />
(xi+1,j − xi,j),<br />
(2.14)<br />
where we have introduced the nodal values of the semidiscrete vector W h ∈ Hv.<br />
The integrals over the other si<strong>de</strong>s can be obtained analogously. As a result, the<br />
discrete divergence D at a mesh cell can be expressed as:<br />
(DW h ) i+1/2,j+1/2 =<br />
(W X i+1,j+1 − W X i,j )(yi,j+1 − yi+1,j) − (W X i,j+1 − W X i+1,j )(yi+1,j+1 − yi,j)<br />
2 |Ω i+1/2,j+1/2|<br />
− (W Y i+1,j+1 − W Y i,j )(xi,j+1 − xi+1,j) − (W Y i,j+1 − W Y i+1,j )(xi+1,j+1 − xi,j)<br />
,<br />
2 |Ωi+1/2,j+1/2| (2.15)