From 19effe7e484c3262fa739f637c25e939a7bad6ea Mon Sep 17 00:00:00 2001 From: Sven Berger Date: Fri, 27 Sep 2024 13:04:48 +0200 Subject: [PATCH] fix equation --- docs/src/systems/boundary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/systems/boundary.md b/docs/src/systems/boundary.md index b16287c63..638978b9d 100644 --- a/docs/src/systems/boundary.md +++ b/docs/src/systems/boundary.md @@ -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.