49 |
C hFacZClosedS :: fractional open water to south |
C hFacZClosedS :: fractional open water to south |
50 |
INTEGER I,J |
INTEGER I,J |
51 |
_RS hFacZClosedS,hFacZClosedN |
_RS hFacZClosedS,hFacZClosedN |
52 |
|
_RS gridScalingAh |
53 |
_RS gridScalingA4 |
_RS gridScalingA4 |
54 |
CEOP |
CEOP |
55 |
|
|
59 |
hFacZClosedS = _hFacW(i,j,k,bi,bj) - hFacZ(i,j) |
hFacZClosedS = _hFacW(i,j,k,bi,bj) - hFacZ(i,j) |
60 |
hFacZClosedN = _hFacW(i,j,k,bi,bj) - hFacZ(i,j+1) |
hFacZClosedN = _hFacW(i,j,k,bi,bj) - hFacZ(i,j+1) |
61 |
gridScalingA4 = (_dyU(i, j ,bi,bj)**4)/(5000.**4) ! Realy should split this loop for a more precise formulation |
gridScalingA4 = (_dyU(i, j ,bi,bj)**4)/(5000.**4) ! Realy should split this loop for a more precise formulation |
62 |
|
gridScalingAh = (_dyU(i, j ,bi,bj)**2)/(5000.**2) ! Realy should split this loop for a more precise formulation |
63 |
uDragTerms(i,j) = |
uDragTerms(i,j) = |
64 |
& -_recip_hFacW(i,j,k,bi,bj) |
& -_recip_hFacW(i,j,k,bi,bj) |
65 |
& *recip_drF(k)*recip_rAw(i,j,bi,bj) |
& *recip_drF(k)*recip_rAw(i,j,bi,bj) |
76 |
& -viscA4*del2u(i,j)*cosFacU(J,bi,bj) |
& -viscA4*del2u(i,j)*cosFacU(J,bi,bj) |
77 |
#endif |
#endif |
78 |
#else |
#else |
79 |
& viscAh*uFld(i,j) |
& viscAh*uFld(i,j)*gridScalingAh |
80 |
& -viscA4*del2u(i,j)*gridScalingA4 |
& -viscA4*del2u(i,j)*gridScalingA4 |
81 |
#endif |
#endif |
82 |
& ) |
& ) |