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
Here, we use the Exner function to compute pressure gradients and are subtracting a hydrostatic reference state
128
128
```math
129
129
- \frac{1}{\rho} \nabla p = - c_{pd} \theta_v \Pi
130
130
```
131
-
where ``\theta_v`` is the virtual potential temperature. ``\theta_{v,r} = T_r / \Pi`` is a reference virtual potential temperature (with reference temperature ``T_r``), and
131
+
where ``\theta_v`` is the virtual potential temperature. ``\theta_{v,r} = T_r / \Pi`` is a reference virtual potential temperature (with reference temperature ``T_r``), and
@@ -137,14 +137,14 @@ We use the reference temperature profile ``T_r = T_\text{min} + (T_\text{sfc} -
137
137
138
138
#### Horizontal momentum
139
139
140
-
By breaking the curl and cross product terms into horizontal and vertical contributions, and removing zero terms (e.g. ``\nabla_v \times \boldsymbol{u}_v = 0``), we obtain
140
+
By breaking the curl and cross product terms into horizontal and vertical contributions, and removing zero terms (e.g. ``\nabla_v \times \boldsymbol{u}_v = 0``), we obtain
where ``\boldsymbol{u}^h`` and ``\boldsymbol{u}^v`` are the horizontal and vertical _contravariant_ vectors.
147
+
where ``\boldsymbol{u}^h`` and ``\boldsymbol{u}^v`` are the horizontal and vertical _contravariant_ vectors.
148
148
149
149
The effect of topography is accounted for through the computation of the contravariant velocity components (projections from the covariant velocity representation) prior to computing the cross-product contributions.
This will not ensure positivity because the sum of all source terms,
421
-
combined with the advection tendency,
422
-
could still drive the solution to negative numbers.
423
-
It should however help mitigate some of the problems.
424
-
The source terms functions treat negative specific humidities as zeros,
425
-
so the simulations should be stable even with small negative numbers.
426
-
427
-
We do not apply hyperdiffusion for precipitation tracers.
428
-
429
-
### Aerosol Activation for 2-Moment Microphysics
430
-
431
-
Aerosol activation uses functions from the [CloudMicrophysics.jl](https://github.com/CliMA/CloudMicrophysics.jl) library, based on the Abdul-Razzak and Ghan (ARG) parameterization. ARG predicts the number of activated cloud droplets assuming a parcel of clear air rising adiabatically. This formulation is traditionally applied only at cloud base, where the maximum supersaturation typically occurs.
432
-
433
-
To enable ARG to be used locally (i.e., without explicitly identifying cloud base), CloudMicrophysics.jl implements a modified equation for the maximum supersaturation that accounts for the presence of pre-existing liquid and ice particles. This allows activation to be applied inside clouds. To ensure that activation occurs only where physically appropriate, we apply additional clipping logic:
434
-
435
-
- If the predicted maximum supersaturation is less than the local supersaturation (i.e., supersaturation is decreasing), aerosol activation is not applied.
436
-
- If the predicted number of activated droplets is less than the existing local cloud droplet number concentration, activation is also suppressed.
437
-
438
-
This ensures that droplet activation occurs only in physically meaningful regions—typically near cloud base—even though the activation routine can be applied throughout the domain.
0 commit comments