Suitable for free surface flow
Tait simplified equation of state, 适用于自由面流动
孙鹏楠, 2018, 博士毕业论文, equ(2-12)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in) | :: | rho |
density |
||
| real(kind=rk), | intent(out) | :: | p |
pressure |
||
| real(kind=rk), | intent(out) | :: | c |
sound speed |
pure subroutine p_water_tait(rho, p, c)
real(rk), intent(in) :: rho !! density <br>
!! 密度
real(rk), intent(out) :: p !! pressure <br>
!! 压力
real(rk), intent(out) :: c !! sound speed <br>
!! 声速
c = spc_obj%c0
p = c*c*(rho - rho0)
end subroutine p_water_tait