气体状态方程
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=rk), | private, | parameter | :: | rho0 | = | 1000.0_rk | |
| integer, | private, | parameter | :: | gamma | = | 7 | |
| real(kind=rk), | public | :: | B | ||||
| type(eos_water), | public | :: | eow_obj |
水的状态方程 |
EoS for water
水的状态方程
| 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 |
液体状态方程
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| procedure(p_water_fcn), | public, | pointer, nopass | :: | p_water |
| procedure , public , :: init Subroutine |
应用状态方程通过密度和能量计算理想气体压力和声速
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in) | :: | rho |
密度 |
||
| real(kind=rk), | intent(in) | :: | u |
内部能量 |
||
| real(kind=rk), | intent(out) | :: | p |
压力 |
||
| real(kind=rk), | intent(out) | :: | c |
声速 |
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 |
Not suitable for free surface flow
不适用于自由面流动
| 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 |
Suitable for free surface flow
自由面流动
| 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 |
Calculate sound speed
计算声速
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in) | :: | h |
specific enthalpy |
||
| real(kind=rk), | intent(out) | :: | c | |||
| real(kind=rk), | intent(out) | :: | d |