Skip to content

Commit

Permalink
(radiation) signal speed used in tcour should include radiation pressure
Browse files Browse the repository at this point in the history
  • Loading branch information
themikelau committed Oct 12, 2023
1 parent 7b19d4c commit 09532f9
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 09532f9

Please sign in to comment.