Version 11 (modified by kanani, 6 years ago) (diff) |
---|
Run with land surface model and coupled to the RRTMG radiation model
When using the land surface model (LSM) in combination with the RRTMG radiation scheme, at least two additional NetCDF files are required in the INPUT directory with suffixes _rlw (longwave radiation) and _rsw (shortwave radiation). They have to be placed in the INPUT directory on the host where the simulation will run. The layout of the data files must be equal to the standard files provided by RRTMG (see here). A sounding file for trace gas data can be added optionally, having the suffic _rsnd. For this example run, simply copy the two files from here to your INPUT directory and rename them as described above.
Before you proceed, make sure you have installed the RRTMG library as external library and you have re-compiled PALM afterwards. An installation manual can be found here.
In addition, the PALM configuration file .palm.config.<configuration identifier> has to be extended as follows
... #---------------------------------------------------------------------------- # List of input-files #---------------------------------------------------------------------------- ... rrtmg_lw.nc in:locopt d3#:d3f $base_data/$fname/INPUT _rlw nc rrtmg_sw.nc in:locopt d3#:d3f $base_data/$fname/INPUT _rsw nc RAD_SND_DATA in:locopt d3#:d3f $base_data/$fname/INPUT _rsnd nc ...
With the following parameter file example_lsm_rrtmg_p3d a simulation with LSM and RRTMG can be performed.
&inipar nx = 63, ny = 63, nz = 96, dx = 50.0, dy = 50.0, dz = 25.0, dz_stretch_level = 1800.0, fft_method = 'fftw', initializing_actions = 'set_constant_profiles', ug_surface = 2.5, vg_surface = 0.0, pt_surface = 292.5, pt_vertical_gradient = 0.0, 12.0, 0.5, pt_vertical_gradient_level = 0.0, 800.0, 825.0, humidity = .TRUE., cloud_physics = .TRUE., cloud_scheme = 'seifert_beheng', q_surface = 0.005, surface_pressure = 1000.0, latitude = 51.96, longitude = 0.0, day_of_year_init = 287, time_utc_init = 28800.0, constant_flux_layer = .TRUE., bc_pt_b = 'dirichlet', bc_q_b = 'dirichlet', bc_e_b = 'neumann', / &d3par end_time = 18000.0, create_disturbances = .T., dt_disturb = 150.0, disturbance_energy_limit = 0.01, data_output = 'ql', 'qv', 'vpt', 'pt', 'shf*_xy', 'qsws*_xy', 'lwp*_xy', 'prr', 'qc', 'qr', 't_soil', 't_soil_av', 'pt_av', 'm_soil', 'm_soil_av', 'c_liq*_xy', 'c_liq*_xy_av', 'c_soil*_xy', 'c_soil*_xy_av', 'c_veg*_xy', 'c_veg*_xy_av', 'lai*_xy', 'lai*_xy_av', 'ghf*_xy', 'ghf*_xy_av', 'shf*_xy', 'shf*_xy_av', 'qsws*_xy', 'qsws*_xy_av', 'qsws_liq*_xy', 'qsws_liq*_xy_av', 'qsws_soil*_xy', 'qsws_soil*_xy_av', 'qsws_veg*_xy', 'qsws_veg*_xy_av', 'rad_net*_xy', 'rad_net*_xy_av', 'rad_sw_in', 'rad_sw_out', 'rad_lw_in', 'rad_lw_out', data_output_pr = '#pt', '#qv', 'wpt', '#t_soil', '#m_soil', 'u', 'v', 'rad_sw_in', 'rad_sw_out', 'rad_lw_in', 'rad_lw_out', section_xy = 0, 1, 2, 3, 4, 5, dt_data_output = 600.0, dt_data_output_av = 600.0, averaging_interval = 10.0, dt_dopr = 600.0, / &lsm_par surface_type = 'vegetation', vegetation_type = 3, soil_type = 7, conserve_water_content = .T., c_surface = 0.0, vegetation_coverage = 0.9, z0 = 0.1, z0h = 0.02, lambda_surface_stable = 5.0, lambda_surface_unstable = 5.0, min_canopy_resistance = 110.0, min_soil_resistance = 50.0, leaf_area_index = 2.0, dz_soil = 0.01, 0.02, 0.04, 0.07, 0.15, 0.21, 0.72, 1.89, root_fraction = 0.1, 0.2, 0.3, 0.2, 0.1, 0.05, 0.05, 0.0, soil_temperature = 290.0, 289.0, 288.0, 286.0, 285.0, 285.0, 285.0, 285.0, soil_moisture = 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, / &radiation_par radiation_scheme = 'rrtmg', albedo_type = 5, constant_albedo = .F., dt_radiation = 60.0, /
This setup requires about 1.5h of time on a quad-core processor with 4x2.66Ghz.
Attachments (1)
- example_lsm_rrtmg_p3d (5.7 KB) - added by scharf 5 years ago.
Download all attachments as: .zip