Skip to content

Commit ec8834a

Browse files
committed
correct roe average of qv
1 parent 50fdb51 commit ec8834a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/simulation/include/inline_riemann.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
vel_avg_rms = (sqrt(rho_L)*vel_L(1) + sqrt(rho_R)*vel_R(1))**2._wp/ &
3434
(sqrt(rho_L) + sqrt(rho_R))**2._wp
3535

36-
qv_avg = (sqrt(qv_L)*H_L + sqrt(qv_R)*H_r)/ &
36+
qv_avg = (sqrt(rho_L)*qv_L + sqrt(rho_R)*qv_R)/ &
3737
(sqrt(rho_L) + sqrt(rho_R))
3838

3939
if (chemistry) then

0 commit comments

Comments
 (0)