Skip to content

Commit

Permalink
bug fix to KM equation
Browse files Browse the repository at this point in the history
  • Loading branch information
sbryngelson committed Jan 22, 2020
1 parent 5844ab0 commit 97e6ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulation_code/m_bubbles.f90
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ FUNCTION f_rddot_KM( fpbdot, fgamma_gas, fCp, fCpbw, fRho, fR, fV, fR0, fC )
cdot_star = tmp1 + ( 2.d0/Web + 4.d0*Re_inv*fV )*fV/(fR**2.d0)
tmp1 = fV/fC
tmp2 = 1.5D0*fV**2d0*( tmp1/3.D0-1.D0 ) + &
(fCpbw - fCp)/fRho * (1.d0 - tmp1) + &
(fCpbw - fCp)/fRho * (1.d0 + tmp1) + &
cdot_star * fR/fRho/fC

f_rddot_KM = tmp2/( fR*(1.d0-tmp1) + 4.d0*Re_inv/(fRho*fC) )
Expand Down

0 comments on commit 97e6ab5

Please sign in to comment.