Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/debug mom6 #12

Merged
merged 3 commits into from
Jan 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/user/MOM_wave_interface.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1022,6 +1022,8 @@ subroutine get_StokesSL_LiFoxKemper(ustar, hbl, GV, US, UStokes_SL, LA)
real :: z0, z0i, r1, r2, r3, r4, tmp, lasl_sqr_i
real :: u10

UStokes_sl = 0.0
LA=1.e8
if (ustar > 0.0) then
! Computing u10 based on u_star and COARE 3.5 relationships
call ust_2_u10_coare3p5(US%Z_to_m*US%s_to_T*ustar*sqrt(GV%Rho0/1.225), u10, GV, US)
Expand Down Expand Up @@ -1069,10 +1071,7 @@ subroutine get_StokesSL_LiFoxKemper(ustar, hbl, GV, US, UStokes_SL, LA)
sqrt( 2.0 * PI *kstar * z0) * &
erfc( sqrt( 2.0 * kstar * z0 ) )
UStokes_sl = UStokes * (0.715 + r1 + r2 + r3 + r4)
LA = sqrt(US%Z_to_m*US%s_to_T*ustar / UStokes_sl)
else
UStokes_sl = 0.0
LA=1.e8
if(UStokes_sl .ne. 0.0)LA = sqrt(US%Z_to_m*US%s_to_T*ustar / UStokes_sl)
endif

end subroutine Get_StokesSL_LiFoxKemper
Expand Down