Skip to content

Commit

Permalink
fix equation
Browse files Browse the repository at this point in the history
  • Loading branch information
svchb committed Sep 27, 2024
1 parent b367f84 commit 19effe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/systems/boundary.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ where the sum is over all fluid particles, ``\rho_f`` and ``p_f`` denote the den
#### 2. [`BernoulliPressureExtrapolation`](@ref)
Identical to [`AdamiPressureExtrapolation`](@ref), but it adds the dynamic pressure component of the Bernoulli equation:
```math
\frac{1}{2} \rho_f \Vert v_f-v_\text{body} \Vert^2
\frac{1}{2} \, \rho_{\text{neighbor}} \left( \frac{ (\mathbf{v}_f - \mathbf{v}_{\text{neighbor}}) \cdot (\mathbf{x}_f - \mathbf{x}_{\text{neighbor}}) }{ \left\| \mathbf{x}_f - \mathbf{x}_{\text{neighbor}} \right\| } \right)^2 \times \text{factor}
```
where ``v_f`` is the velocity of the fluid and ``v_\text{body}`` is the velocity of the body.
This adjustment provides a higher boundary pressure for solid bodies moving with a relative velocity to the fluid to prevent penetration.
Expand Down

0 comments on commit 19effe7

Please sign in to comment.