Skip to content

Commit 8937245

Browse files
hyeoksu-leeHyeoksu Leesbryngelson
authored
qbmm bug fix (#975)
Co-authored-by: Hyeoksu Lee <[email protected]> Co-authored-by: Spencer Bryngelson <[email protected]>
1 parent e56d6dc commit 8937245

File tree

21 files changed

+761
-1072
lines changed

21 files changed

+761
-1072
lines changed

src/simulation/m_qbmm.fpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -608,8 +608,8 @@ contains
608608
coeffs(19, i1, i2) = -i2*2._wp*Re_inv/(rho*c*c)
609609
coeffs(20, i1, i2) = i2*4._wp*pres*Re_inv/(rho*rho*c)
610610
coeffs(21, i1, i2) = i2*4._wp*pres*Re_inv/(rho*rho*c*c)
611-
coeffs(22, i1, i2) = -i2*4._wp/(rho*rho*c)
612-
coeffs(23, i1, i2) = -i2*4._wp/(rho*rho*c*c)
611+
coeffs(22, i1, i2) = -i2*4._wp*Re_inv/(rho*rho*c)
612+
coeffs(23, i1, i2) = -i2*4._wp*Re_inv/(rho*rho*c*c)
613613
coeffs(24, i1, i2) = i2*16._wp*Re_inv*Re_inv/(rho*rho*c)
614614
if (.not. f_is_default(Web)) then
615615
coeffs(25, i1, i2) = i2*8._wp*Re_inv/Web/(rho*rho*c)
@@ -679,8 +679,8 @@ contains
679679
coeffs(19, i1, i2) = -i2*2._wp*Re_inv/(rho*c*c)
680680
coeffs(20, i1, i2) = i2*4._wp*pres*Re_inv/(rho*rho*c)
681681
coeffs(21, i1, i2) = i2*4._wp*pres*Re_inv/(rho*rho*c*c)
682-
coeffs(22, i1, i2) = -i2*4._wp/(rho*rho*c)
683-
coeffs(23, i1, i2) = -i2*4._wp/(rho*rho*c*c)
682+
coeffs(22, i1, i2) = -i2*4._wp*Re_inv/(rho*rho*c)
683+
coeffs(23, i1, i2) = -i2*4._wp*Re_inv/(rho*rho*c*c)
684684
coeffs(24, i1, i2) = i2*16._wp*Re_inv*Re_inv/(rho*rho*c)
685685
if (.not. f_is_default(Web)) then
686686
coeffs(25, i1, i2) = i2*8._wp*Re_inv/Web/(rho*rho*c)

tests/14975B87/golden-metadata.txt

Lines changed: 70 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/14975B87/golden.txt

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/284E0EF5/golden-metadata.txt

Lines changed: 78 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)