source: trunk/MESOSCALE/LMD_MM_MARS/SIMU/DEF/2019_leconte_test-les/callphys.def

Last change on this file was 2276, checked in by aslmd, 5 years ago

[edit compared to r2275:
datadir link in callphys.def
was not right]

MESOSCALE-GENERIC
A new simple method to compile


  1. Compile physics as library
  2. Tweak configure.wrf
  3. Compile WRF with physics lib

A standalone folder with
install.sh and working test case
is provided in the case of
LES+generic with ifort on ciclad


Other configurations can easily be added
(and shall be committed)

  • adapt install.sh
  • create xxx.configure (WRF configure options)
  • create xxx.patch (tweaking of configure.wrf)
  • create xxx.compile (makemeso inputs)

TBD: merge install.sh and makemeso
into a simpler makemeso 2.0

  • Property svn:executable set to *
File size: 6.7 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   = .false.
7# Seasonal cycle ? if season=false, Ls stays constant, to value set in "start"
8season    = .false.
9# Tidally resonant orbit ? must have diurnal=false, correct rotation rate in newstart
10tlocked   = .true.
11# Tidal resonance ratio ? ratio T_orbit to T_rotation
12nres      = 1.
13# Write some more output on the screen ?
14lwrite    = .true.
15# Save statistics in file "stats.nc" ?
16callstats = .false.
17# Test energy conservation of model physics ?
18enertest  = .true.
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
22## Directory where external input files are
23## ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24#datadir     = /planeto/mturbet/planeto2-mturbet/Maxence/SIMUS_Proxima_b
25#datadir     = /home/leconte/datagcm
26datadir     = ./datagcm
27
28## Radiative transfer options
29## ~~~~~~~~~~~~~~~~~~~~~~~~~~
30# call radiative transfer?
31callrad    = .true.
32# the rad. transfer is computed every "iradia" physical timestep
33iradia     = 1000
34# Use blackbody for stellar spectrum ?
35stelbbody    = .false.
36# Stellar blackbody temperature ?
37stelTbb      = 3050.000
38# call multilayer correlated-k radiative transfer ?
39corrk      = .true.
40# folder in which correlated-k data is stored ?
41 corrkdir    = Earth_110-710K
42# corrkdir   = megaCO2
43# corrkdir   = null_highT
44# call visible gaseous absorption in radiative transfer ?
45callgasvis = .true.
46# call continuum in radiative transfer ?
47continuum = .true.
48# Include Rayleigh scattering in the visible ?
49rayleigh   = .true.
50# Uniform absorption coefficient in radiative transfer?
51graybody     = .false.
52# Constant absorption coefficient in visible
53#      (in m^2/kg; only if graybody=true):
54#      tau_surf= kappa*P/g
55kappa_VI = 1.e-4
56# Constant absorption coefficient in IR
57#      (in m^2/kg; only if graybody=true):
58kappa_IR = 1.e-4
59# Use Newtonian cooling in place of radiative transfer ?
60newtonian    = .false.
61# Radiative timescale for Newtonian cooling ? [only if newtonian = T]
62tau_relax    = 30.00000
63# Test physics timescale in 1D ?
64testradtimes = .false.
65# Characteristic planetary equilibrium (black body) temperature
66# This is used only in the aerosol radiative transfer setup. (see aerave.F)
67tplanet    = 215.
68# Output spectral OLR in 1D/3D?
69specOLR    = .false.
70# Output global radiative balance in file 'rad_bal.out' - slow for 1D!!
71meanOLR    = .false.
72# Variable gas species: Radiatively active ?
73varactive  = .true.
74# Variable gas species: Fixed vertical distribution ?
75#   (not to be used in time integration mode)
76varfixed   = .false.
77# Variable gas species: Saturation percentage value at ground ?
78satval     = 1.
79# Use fixed vertical profile, 1 step, no iteration ?
80kastprof     = .false.
81# Remove lower boundary (e.g. for gas giant sims)
82nosurf    = .false.
83intheat   = 0.
84
85## Star type
86## ~~~~~~~~~
87startype = 1
88# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89# The choices are:
90#
91#       startype = 1            Sol        (G2V-class main sequence)
92#       startype = 2            Ad Leo     (M-class, synthetic)
93#       startype = 3            GJ644
94#       startype = 4            HD128167
95# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
96# Stellar flux at 1 AU. Examples:
97# 1366.0 W m-2          Sol today
98# 1024.5 W m-2          Sol today x 0.75 = weak early Sun
99# 18.462 W m-2          The feeble Gl581
100# 19.960 W m-2          Gl581 with e=0.38 orbital average
101# 1.58e6 W m-2          at Kepler 7 b distance
102Fat1AU = 1300.7
103#Fat1AU = 1400.0
104##Fat1AU = 2000.0
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  = .false.
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# Varying H2O cloud fraction?
129CLFvarying    = .false.
130# H2O cloud fraction?
131CLFfixval     = 1.
132# number mixing ratio of CO2 ice particles
133Nmix_co2      = 1.e5
134# basic dust opacity
135dusttau       = 0.0
136# water cloud pressure level (norm. by psurf)
137cloudlvl      = 0.0
138# atm mass update due to tracer evaporation/condensation?
139mass_redistrib =  .true.
140# Radiatively active CO2 aerosol?
141aeroco2       = .false.
142# Fixed CO2 aerosol distribution?
143aerofixco2    = .false.
144# Radiatively active water aerosol?
145aeroh2o       = .true.
146# Fixed water aerosol distribution?
147aerofixh2o  = .false.
148# Radiatively active sulfur aersol?
149aeroh2so4     = .false.
150# Radiatively active generic aerosol?
151aerogen       = .false.
152# Fixed water aerosol distribution?
153aerofixgen    = .false.
154# fixed radii for h2o cloud particles?
155radfixed=.false.
156# number mixing ratio of water particles (for rafixed=.false.)
157Nmix_h2o      = 1.e7
158# number mixing ratio of water ice particles (for rafixed=.false.)
159Nmix_h2o_ice      = 1.e4
160# radius of H2O water particles (for rafixed=.true.):
161rad_h2o=12.e-6
162# radius of H2O ice particles (for rafixed=.true.):
163rad_h2o_ice=35.e-6
164
165## Water options
166## ~~~~~~~~~~~~~
167# Model water cycle
168water         = .true.
169# Model water cloud formation
170watercond     = .true.
171# Model water precipitation (including coagulation etc.)
172waterrain     = .true.
173# Use simple precipitation scheme?
174precip_scheme=4
175# multiplicative constant in Boucher 95 precip scheme
176Cboucher=2.
177# rain threshold.
178rainthreshold = 1e-3
179# re-evaporate precipitations?
180evap_prec     = .true.
181# ratqs ?
182ratqs = 1.0
183# Include hydrology ?
184hydrology     = .true.
185# H2O snow (and ice) albedo ?
186albedosnow    = 0.70
187albedo_spectral_mode = .true.
188# Maximum sea ice thickness ?
189maxicethick   = 1.
190# Freezing point of seawater (degrees C) ?
191Tsaldiff      = 0.0
192# Evolve surface water sources ?
193sourceevol    = .false.
194
195## CO2 options
196## ~~~~~~~~~~~
197# call CO2 condensation ?
198co2cond       = .false.
199# Set initial temperature profile to 1 K above CO2 condensation everywhere?
200nearco2cond   = .false.
201
202## generic tracer options
203## ~~~~~~~~~~~
204# call generic condensation ?
205generic_cond=.false.
206# Generic condensate specific latent heat divided by R
207latR_gencond= 4.4473d4
208# Generic condensate reference pressure
209Pref_gencond= 1.d5
210# Generic condensate reference temperature
211Tref_gencond= 3134.d0
212# Generic condensate mean molecular weight
213mu_gencond= 55.8d0
214# Generic condensate density
215rho_gencond=1.d4
216# Generic condensate mean radius
217rad_gencond=5.d-6
Note: See TracBrowser for help on using the repository browser.