1 |
cnh |
1.10 |
C $Header: /u/gcmpack/models/MITgcmUV/model/inc/FFIELDS.h,v 1.9 2000/11/29 22:29:23 adcroft Exp $ |
2 |
|
|
C $Name: $ |
3 |
cnh |
1.1 |
C |
4 |
|
|
C /==========================================================\ |
5 |
|
|
C | FFIELDS.h | |
6 |
|
|
C | o Model forcing fields | |
7 |
|
|
C |==========================================================| |
8 |
|
|
C | The arrays here will need changing and customising for a | |
9 |
|
|
C | particular experiment. | |
10 |
|
|
C \==========================================================/ |
11 |
|
|
C |
12 |
|
|
C-- For a classical "gyre" type experiment just one term is needed. |
13 |
heimbach |
1.7 |
C |
14 |
adcroft |
1.9 |
C fu - Zonal surface wind stress |
15 |
|
|
C Units are N/m^2 (>0 from East to West) |
16 |
|
|
C |
17 |
|
|
C fv - Meridional surface wind stress |
18 |
|
|
C Units are N/m^2 (>0 from North to South)) |
19 |
heimbach |
1.7 |
C |
20 |
|
|
C EmPmR - Evaporation - Precipitation - Runoff |
21 |
adcroft |
1.9 |
C Units are m/s (>0 for ocean salting) |
22 |
|
|
C |
23 |
|
|
C Qnet - Upward surface heat flux |
24 |
|
|
C Units are W/m^2=kg/s^3 (>0 for ocean cooling) |
25 |
|
|
C |
26 |
|
|
C Qsw - Upward short-wave surface heat flux |
27 |
|
|
C Units are W/m^2=kg/s^3 (>0 for ocean cooling) |
28 |
heimbach |
1.7 |
C |
29 |
adcroft |
1.6 |
C SST - Sea surface temperature (degrees) for relaxation |
30 |
|
|
C SSS - Sea surface salinity (psu) for relaxation |
31 |
heimbach |
1.7 |
|
32 |
adcroft |
1.4 |
COMMON /FFIELDS/ |
33 |
adcroft |
1.6 |
& fu, |
34 |
|
|
& fv, |
35 |
|
|
& Qnet, |
36 |
|
|
& EmPmR, |
37 |
|
|
& SST, |
38 |
|
|
& SSS, |
39 |
|
|
& Qsw |
40 |
cnh |
1.3 |
_RS fu (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
41 |
|
|
_RS fv (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
42 |
adcroft |
1.6 |
_RS Qnet (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
43 |
|
|
_RS EmPmR (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
44 |
adcroft |
1.4 |
_RS SST (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
45 |
|
|
_RS SSS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
46 |
adcroft |
1.6 |
_RS Qsw (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
47 |
heimbach |
1.7 |
|
48 |
adcroft |
1.9 |
C surfaceTendencyU (units are m/s^2) |
49 |
heimbach |
1.7 |
C -> usage in gU: gU = gU + surfaceTendencyU[m/s^2] |
50 |
|
|
C |
51 |
adcroft |
1.9 |
C surfaceTendencyV (units are m/s^2) |
52 |
heimbach |
1.7 |
C -> usage in gV: gV = gV + surfaceTendencyV[m/s^2] |
53 |
|
|
C |
54 |
adcroft |
1.9 |
C surfaceTendencyS (units are psu/s) |
55 |
heimbach |
1.7 |
C - EmPmR plus salinity relaxation term |
56 |
|
|
C -> calculate -lambda*(S(model)-S(clim)) |
57 |
|
|
C -> usage in gS: gS = gS + surfaceTendencyS[psu/s] |
58 |
|
|
C |
59 |
adcroft |
1.9 |
C surfaceTendencyT (units are degrees/s) |
60 |
heimbach |
1.7 |
C - Qnet plus temp. relaxation |
61 |
|
|
C -> calculate -lambda*(T(model)-T(clim)) |
62 |
|
|
C >>> Qnet assumed to be total flux minus s/w rad. <<< |
63 |
|
|
C -> usage in gT: gT = gT + surfaceTendencyT[K/s] |
64 |
heimbach |
1.8 |
C |
65 |
heimbach |
1.7 |
COMMON /TENDENCY_FORCING/ |
66 |
|
|
& surfaceTendencyU, |
67 |
|
|
& surfaceTendencyV, |
68 |
|
|
& surfaceTendencyT, |
69 |
heimbach |
1.8 |
& surfaceTendencyS, |
70 |
|
|
& tempQsw |
71 |
heimbach |
1.7 |
_RS surfaceTendencyU (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
72 |
|
|
_RS surfaceTendencyV (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
73 |
|
|
_RS surfaceTendencyT (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
74 |
|
|
_RS surfaceTendencyS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
75 |
heimbach |
1.8 |
_RS tempQsw (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |