Double CO2 experiment?

Topics/questions specifically related to WRF model physics
Post Reply
yhwong
Posts: 17
Joined: Wed Jan 30, 2019 11:56 pm

Double CO2 experiment?

Post by yhwong » Thu Jun 03, 2021 3:51 am

Hello,

I would like to run a double-CO2 simulation in WRF version 4.0.2. From what I gathered, the CO2 amount is set as a constant in the LW radiation module ( i am using ra_lw_physics = 4 and ra_sw_physics = 4). Am I correct that in order to double the CO2 amount, all I need to do is to change the CO2 constant (default is 379 ppmv) in module_ra_rrtmg_lw.F to the value I want? Are there other modules that I should tinker with?

Thanks very much for advising!

Ming Chen
Posts: 1577
Joined: Mon Apr 23, 2018 9:42 pm

Re: Double CO2 experiment?

Post by Ming Chen » Wed Jun 16, 2021 4:19 pm

Hi,
To run the double CO2 experiment, you need to modify both the module_ra_rrtmg_sw.F and module_ra_rrtmg_lw.F. In these two codes, you will find the line below :

data co2 / 379.e-6 /

(line 10215 in module_ra_rrtmg_sw.F and line 11716 in module_ra_rrtmg_lw.F).
WRF Help Desk

rddixon
Posts: 3
Joined: Thu Jul 01, 2021 6:41 am

Re: Double CO2 experiment?

Post by rddixon » Wed Jul 07, 2021 3:02 pm

Hello,

I am also experimenting with CO2 changes. Chapter 5, Section 2.1 of the User's Guide states:
RRTMG scheme (4): A newer version of RRTM. It includes the MCICA method of random cloud overlap. For major trace gases, CO2=379e-6 (valid for 2005), N2O=319e-9, CH4=1774e-9. See section 2.3 for the time-varying option. Since V4.2, the CO2 value is replaced by a function of the year: CO2(ppm) = 280 + 90 exp(0.02*(year-2000)), which has about 4% of error for 1920s and 1960s, and about 1 % after year 2000 when compared to observed values.
Am I right in thinking that this is the line that needs to be changed in module_ra_rrtmg_sw.F (line 10329) and module_ra_rrtmg_lw.F (line 11893) in the most recent version of the code?

! Annual function for co2 in WRF v4.2
co2 = (280. + 90.*exp(0.02*(yr-2000)))*1.e-6

Thanks!

Ming Chen
Posts: 1577
Joined: Mon Apr 23, 2018 9:42 pm

Re: Double CO2 experiment?

Post by Ming Chen » Fri Jul 09, 2021 12:21 am

Hi rddixon,

You are right about the CO2 changes. Such changes should be made if you run WRFV4.2 and newer version.

The changes I suggested in the previous posts are for older version of WRF (WRFV4.1 and older versions).

Ming
WRF Help Desk

Post Reply

Return to “WRF Physics”