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
In this scenario $u$ can describe either scalar value at point $\mathbf{x}$ or be a multidimensional vector itself $\mathbf{u}$ defined at every point of higher dimensional domain. In this project we will solve the case of two dimensional burgers equation (where $\mathbf{u}$ is a vector field). We can represent $\mathbf{u}$ as two scalar componenst $u,v$ as:
We solve the update step using the Lax-Friedrichs (Rusanov) method. We describe the problem discretization with the following variables:
$x_i = i \Delta x, i \in {1, \cdots, N_x - 1}$.
$y_j = j \Delta x, j \in {1, \cdots, N_y - 1}$.
$t^n = n \Delta t$.
$u_{i,j}^n \approx u(x_i, y_j, t^n)$.
$v_{i,j}^n \approx v(x_i, y_j, t^n)$.
1. Flux Definitions
We define separate fluxes for the $u$ (horizontal) and $v$ (vertical) momentum equations to account for the conservative variable forms ($u^2/2$ vs $uv$).