Skip to content

Commit

Permalink
Merge pull request #474 from danieljprice/tcourant
Browse files Browse the repository at this point in the history
Signal speed used in tcour should include radiation pressure
  • Loading branch information
danieljprice authored Oct 23, 2023
2 parents cef5581 + 0d3f89f commit 420f5a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/force.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2043,6 +2043,10 @@ subroutine get_stress(pri,spsoundi,rhoi,rho1i,xi,yi,zi, &
!
pro2i = (pri + radPi)*rho1i*rho1i + stressiso
vwavei = spsoundi

if (do_radiation) then
vwavei = sqrt(vwavei*vwavei + 4.*radPi/(3.*rhoi)) ! Commercon et al. (2011)
endif
endif

end subroutine get_stress
Expand Down

0 comments on commit 420f5a6

Please sign in to comment.