Skip to content

Commit e20c01f

Browse files
committed
refine as suggested
1 parent b59e19b commit e20c01f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/src/examples.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,13 @@ Boundary conditions are applied as follows:
157157
The application of boundary conditions is implemented through the operators:
158158

159159
1. For the u-momentum equation:
160-
- Top boundary: `Operators.SetValue(FT(ug))` sets u to the geostrophic value
160+
- Top boundary: `Operators.SetValue(FT(ug))` sets $u$ to the geostrophic value
161161
- Bottom boundary: `Operators.SetValue(Geometry.WVector(Cd * u_wind * u_1))` applies the drag condition
162162

163163
2. For the v-momentum equation:
164-
- Top boundary: `Operators.SetValue(FT(vg))` sets v to the geostrophic value
164+
- Top boundary: `Operators.SetValue(FT(vg))` sets $v$ to the geostrophic value
165165
- Bottom boundary: `Operators.SetValue(Geometry.WVector(Cd * u_wind * v_1))` applies the drag condition
166166

167-
3. DSS (Direct Stiffness Summation) is applied implicitly through the operators to ensure continuity of the solution at element boundaries and reduction of unnecessary multiplicity
168-
169167
The example verifies the numerical solution by comparing it to the analytical solution:
170168
```math
171169
\begin{align}
@@ -268,8 +266,8 @@ Where $B$ applies boundary conditions to enforce $\boldsymbol{w} = 0$ at the dom
268266

269267
This test case is set up in a vertical column domain from $z=0$ m to $z=30$ km with 30 vertical elements. The column is initialized with a decaying temperature profile, where:
270268

271-
- The virtual temperature starts at $T_{virt\_surf} = 280$ K at the surface
272-
- It asymptotically approaches $T_{min\_ref} = 230$ K with height
269+
- The virtual temperature starts at $T_{\textrm{virt}\_\textrm{surf}} = 280$ K at the surface
270+
- It asymptotically approaches $T_{\textrm{min}\_\textrm{ref}} = 230$ K with height
273271
- The profile follows a hyperbolic tangent function with height
274272
- The pressure follows a hydrostatic balance equation
275273
- Density is calculated from the equation of state using virtual temperature and pressure

0 commit comments

Comments
 (0)