source: trunk/LMDZ.GENERIC/deftank/callphys.earthslab @ 3555

Last change on this file since 3555 was 3100, checked in by bhatnags, 14 months ago

Generic-PCM

This commit updates the slab ocean module to a parallelisable dynamic slab ocean module. This is particularly relevant if you want to be able to use oceanic heat transport in parallel mode.

It has the following features:

(a) Computes sea ice creation and evolution.
(b) Snow has thermodynamic properties.
(c) Computes oceanic horizontal transport (diffusion & surface-wind driven Ekman transport).
(d) Can be used in parallel mode.

Required callphys.def flags:
The slab ocean and its dependencies can be activated with the following flags (already added to deftank):
## Ocean options
## ~
# Model slab-ocean (Main flag for slab ocean)
ok_slab_ocean = .true.
# The following flags can only be set to true if ok_slab_ocean is true
# Ekman transport
slab_ekman = .true.
# Ekman zonal advection
slab_ekman_zonadv = .true.
# Horizontal diffusion (default coef_hdiff=25000., can be changed)
slab_hdiff = .true.
# Slab-ocean timestep (in physics timesteps)
cpl_pas = 1
# Gent-McWilliams? Scheme (can only be true if slab_ekman is true)
slab_gm = .true.

Notes:
In the current state, the model crashes if moistadjustment = .true. Unsure whether this is due to the slab or is an inherent issue with moistadj (under investigation).

SB and EM

File size: 7.1 KB
Line 
1## Orbit / general options
2## ~~~~~~~~~~~~~~~~~~~~~~~
3# Run with or without tracer transport ?
4tracer    = .true.
5# Diurnal cycle ?  if diurnal=false, diurnally averaged solar heating
6diurnal   = .true.
7# Seasonal cycle ? if season=false, Ls stays constant, to value set in "start"
8season    = .true.
9# Tidally resonant orbit ? must have diurnal=false, correct rotation rate in newstart
10tlocked   = .false.
11# Tidal resonance ratio ? ratio T_orbit to T_rotation
12nres      = 1
13# Write some more output on the screen ?
14lwrite    = .false.
15# Save statistics in file "stats.nc" ?
16callstats = .false.
17# Test energy conservation of model physics ?
18enertest  = .false.
19# check if cpp and mugaz from start.nc are consistent with values computed by comp_cpp_mugaz with gases.def
20check_cpp_match = .false.
21# Check if physics inputs and outputs are ok
22check_physics_inputs = .true.
23check_physics_outputs = .true.
24
25## Directory where external input files are
26## ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27datadir     = datadir
28
29## Radiative transfer options
30## ~~~~~~~~~~~~~~~~~~~~~~~~~~
31# call radiative transfer?
32callrad    = .true.
33# the rad. transfer is computed every "iradia" physical timestep
34iradia     = 6
35# Use blackbody for stellar spectrum ?
36stelbbody    = .false.
37# Stellar blackbody temperature ?
38stelTbb      = 2000.000
39# call multilayer correlated-k radiative transfer ?
40corrk      = .true.
41# folder in which correlated-k data is stored ?
42corrkdir = Earth_JL13_extend
43# corrkdir    = Earth_110-710K
44# corrkdir   = N2CO2poor_H2Ovar
45# corrkdir   = megaCO2
46# corrkdir   = null
47# call visible gaseous absorption in radiative transfer ?
48callgasvis = .true.
49# call continuum in radiative transfer ?
50Continuum = .true.
51# Include Rayleigh scattering in the visible ?
52rayleigh   = .true.
53# Uniform absorption coefficient in radiative transfer?
54graybody     = .false.
55# Constant absorption coefficient in visible
56#      (in m^2/kg; only if graybody=true):
57#      tau_surf= kappa*P/g
58kappa_VI = 1.e-4
59# Constant absorption coefficient in IR
60#      (in m^2/kg; only if graybody=true):
61kappa_IR = 5.e-1
62# Use Newtonian cooling in place of radiative transfer ?
63newtonian    = .false.
64# Radiative timescale for Newtonian cooling ? [only if newtonian = T]
65tau_relax    = 30.00000
66# Test physics timescale in 1D ?
67testradtimes = .false.
68# Characteristic planetary equilibrium (black body) temperature
69# This is used only in the aerosol radiative transfer setup. (see aerave.F)
70tplanet    = 215.
71# Output spectral OLR in 1D/3D?
72specOLR    = .false.
73# Output global radiative balance in file 'rad_bal.out' - slow for 1D!!
74meanOLR    = .false.
75# Variable gas species: Radiatively active ?
76varactive  = .true.
77# Variable gas species: Fixed vertical distribution ?
78#   (not to be used in time integration mode)
79varfixed   = .false.
80# Variable gas species: Saturation percentage value at ground ?
81satval     = .8
82# Use fixed vertical profile, 1 step, no iteration ?
83kastprof     = .false.
84# Remove lower boundary (e.g. for gas giant sims)
85noradsurf    = .false.
86
87## Star type
88## ~~~~~~~~~
89startype = 1
90# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
91# The choices are:
92#
93#       startype = 1            Sol        (G2V-class main sequence)
94#       startype = 2            Ad Leo     (M-class, synthetic)
95#       startype = 3            GJ644
96#       startype = 4            HD128167
97# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
98# Stellar flux at 1 AU. Examples:
99# 1366.0 W m-2          Sol today
100# 1024.5 W m-2          Sol today x 0.75 = weak early Sun
101# 18.462 W m-2          The feeble Gl581
102# 19.960 W m-2          Gl581 with e=0.38 orbital average
103Fat1AU = 1366.0
104
105
106## Tracer and aerosol options
107## ~~~~~~~~~~~~~~~~~~~~~~~~~~
108# Gravitational sedimentation of tracers (just H2O ice for now) ?
109sedimentation = .true.
110
111## Other physics options
112## ~~~~~~~~~~~~~~~~~~~~~
113# call turbulent vertical diffusion ?
114calldifv = .true.
115# use turbdiff instead of vdifc ?
116UseTurbDiff = .true.
117# call convective adjustment ?
118calladj  = .true.
119# call thermal conduction in the soil ?
120callsoil = .true.
121
122#########################################################################
123## extra non-standard definitions for Earth
124#########################################################################
125 
126## Tracer and aerosol options
127## ~~~~~~~~~~~~~~~~~~~~~~~~~~
128# Number of radiatively active aerosols
129naerkind = 1
130# Varying H2O cloud fraction?
131CLFvarying    = .true.
132# H2O cloud fraction?
133CLFfixval     = 1.
134# number mixing ratio of CO2 ice particles
135Nmix_co2      = 1.e5
136# basic dust opacity
137dusttau       = 0.0
138# water cloud pressure level (norm. by psurf)
139cloudlvl      = 0.0
140# atm mass update due to tracer evaporation/condensation?
141mass_redistrib = .true.
142# Radiatively active CO2 aerosol?
143aeroco2       = .false.
144# Fixed CO2 aerosol distribution?
145aerofixco2    = .false.
146# Radiatively active water aerosol?
147aeroh2o       = .true.
148# Fixed water aerosol distribution?
149aerofixh2o  = .false.
150# Radiatively active sulfur aersol?
151aeroh2so4     = .false.
152# fixed radii for h2o cloud particles?
153radfixed=.true.
154# number mixing ratio of water particles (for rafixed=.false.)
155Nmix_h2o      = 4e6
156# number mixing ratio of water ice particles (for rafixed=.false.)
157Nmix_h2o_ice      = 2.e4
158# radius of H2O water particles (for rafixed=.true.): (CHANGED FROM 10 TO 12 AFTER BENJAMIN)
159rad_h2o=12.e-6
160# radius of H2O ice particles (for rafixed=.true.):
161rad_h2o_ice=35.e-6
162
163## Water options
164## ~~~~~~~~~~~~~
165# Model water cycle
166water         = .true.
167# Model water cloud formation
168watercond     = .true.
169# Model water precipitation (including coagulation etc.)
170waterrain     = .true.
171# Moist adjustment
172moistadjustment = .true.
173# Use simple precipitation scheme?
174precip_scheme=4
175# multiplicative constant in Boucher 95 precip scheme
176Cboucher=0.6
177# Include hydrology ?
178hydrology     = .true.
179# active runoff ?
180activerunoff  = .true.
181# H2O snow (and ice) albedo ?
182albedosnow    = 0.65
183# Maximum sea ice thickness ?
184maxicethick   = 10.
185# Freezing point of seawater (degrees C) ?
186Tsaldiff      = 0.0
187# Evolve surface water sources ?
188sourceevol    = .false.
189# compute lightning rate ?
190compute_lightning     = .true.
191
192## CO2 options
193## ~~~~~~~~~~~
194# call CO2 condensation ?
195co2cond       = .false.
196# Set initial temperature profile to 1 K above CO2 condensation everywhere?
197nearco2cond   = .false.
198
199## Subsurface options
200## ~~~~~~~~~~~~~~~~~~
201# Number of subsurface layers (For Earth 14 is OK; for Mars 18)
202nsoilmx=14
203# Thickness of topmost soil layer (m) (For Earth 0.03 is OK; for Mars 0.0002)
204lay1_soil=0.03
205#Coefficient for soil layer thickness distribution (default is 2)
206alpha_soil=2
207
208## Ocean options
209## ~~~~~~~~~~~~~
210# Model slab-ocean (Main flag for slab ocean)
211ok_slab_ocean = .true.
212# The following flags can only be set to true if ok_slab_ocean is true
213# Ekman transport
214slab_ekman = .true.
215# Ekman zonal advection
216slab_ekman_zonadv = .true.
217# Horizontal diffusion (default coef_hdiff=25000., can be changed)
218slab_hdiff = .true.
219# Slab-ocean timestep (in physics timesteps)
220cpl_pas = 1
221# sea-ice
222#ok_slab_sic   = .true.
223# Gent-McWilliams Scheme (can only be true if slab_ekman is true)
224slab_gm   = .true.
225# Slab convective adjustment? 0 - no, 1 - yes
226slab_cadj = 1
227# H2O snow (and ice) albedo for sea ?
228#albedosnowsea    = 0.65
229
Note: See TracBrowser for help on using the repository browser.