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