2.2.1.2. Test cases¶
2.2.1.2.1. Various cases¶
Case |
Dimensions & tmax=0.5 s |
Domain (in m) |
Constant value |
IC (t=0) |
BC |
---|---|---|---|---|---|
1D |
\(0 \leq x \leq 2\) |
Advection c = (0.5 0 0) \(m/s\) |
\(u =\begin{cases}2 & 0.5 \leq x \leq 1\\1 & else \end{cases}\) |
Periodic |
|
1D |
\(0 \leq x \leq 2\) |
Diffusion nu = 0.1 in \(m^2/s\) |
\(u =\begin{cases}2 & 0.5 \leq x \leq 1\\1 & else \end{cases}\) |
Periodic |
|
2D |
\(0 \leq x \leq 2\) \(0 \leq y \leq 2\) |
Advection c = (0.5 0 0) \(m/s\) |
\(u,v =\begin{cases}2 & 0.5 \leq x,y \leq 1\\1 & else \end{cases}\) |
Periodic |
|
2D |
\(0 \leq x \leq 2\) \(0 \leq y \leq 2\) |
Diffusion nu = 0.1 in \(m^2/s\) |
\(u,v =\begin{cases}2 & 0.5 \leq x,y \leq 1\\1 & else \end{cases}\) |
Periodic |