Skip to content

Commit

Permalink
Merge pull request #332 from SpeedyWeather/ncc/swe-vars
Browse files Browse the repository at this point in the history
Add clarification for SWE variables
  • Loading branch information
milankl authored Jun 1, 2023
2 parents de66a4f + f8b8c7a commit b8a5ef7
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions docs/src/dynamical_core.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,28 +74,32 @@ Now loop over

```math
\begin{aligned}
\frac{\partial \zeta}{\partial t} + \nabla \cdot (\mathbf{u}(\zeta + f)) &= (-1)^{n+1}\nu\nabla^{2n}\zeta \\
\frac{\partial \mathcal{D}}{\partial t} - \nabla \times (\mathbf{u}(\zeta + f)) &= -\nabla^2(\tfrac{1}{2}(u^2 + v^2) + g\eta) + (-1)^{n+1}\nu\nabla^{2n}\mathcal{D} \\
\frac{\partial \eta}{\partial t} + \nabla \cdot (\mathbf{u}h) &= 0.
\frac{\partial \zeta}{\partial t} + \nabla \cdot (\mathbf{u}(\zeta + f)) &= (-1)^{n+1}\nu\nabla^{2n}\zeta, \\
\frac{\partial \mathcal{D}}{\partial t} - \nabla \times (\mathbf{u}(\zeta + f)) &= -\nabla^2(\tfrac{1}{2}(u^2 + v^2) + g\eta) + (-1)^{n+1}\nu\nabla^{2n}\mathcal{D}, \\
\frac{\partial \eta}{\partial t} + \nabla \cdot (\mathbf{u}h) &= 0,
\end{aligned}
```

more to come
where ``\zeta = \hat{\mathbf{z}} \cdot (\nabla \times \mathbf{u})`` is the relative vorticity,
``\mathcal{D} = \nabla \cdot \mathbf{u}`` the divergence, and ``\eta`` the deviation from the
fluid's rest height.

**Note**: more to come...

## Primitive equations

The [primitive equations](https://en.wikipedia.org/wiki/Primitive_equations) solved by SpeedyWeather.jl are

```math
\begin{aligned}
\partial_t u = ... \\
\partial_t v = ... \\
\partial_t T = ... \\
\partial_t Q = ...
\partial_t u &= ... \\
\partial_t v &= ... \\
\partial_t T &= ... \\
\partial_t Q &= ...
\end{aligned}
```

more to come
**Note**: more to come...

## Horizontal diffusion

Expand Down

0 comments on commit b8a5ef7

Please sign in to comment.