NorESMhub / CAM

Community Atmosphere Model including CAM6-Nor branches
1 stars 20 forks source link

Aerosol dry deposition bug #111

Closed DirkOlivie closed 7 months ago

DirkOlivie commented 7 months ago

What happened?

Error in the calculation of the dry deposition.

What are the steps to reproduce the bug?

Run standard NorESM2

What CAM-Nor tag were you using?

cam_cesm2_1_rel_05-Nor_v1.0.5

What machine were you running CAM (or NorESM) on?

Betzy

What compiler were you using?

Intel

Path to a case directory, if applicable

No response

Will you be addressing this bug yourself?

No

Extra info

The subroutine oslo_aero_dry_intr in the file src/chemistry/oslo_aero/oslo_aerosols_intr.F90 should be modified.

The corrected code should look like (old code commented out) :

       rad_aer(1:ncol,top_lev:) = 0.5_r8*dgncur_awet(1:ncol,top_lev:,m)  
!                         *exp(1.5_r8*(logSigma))
                       *exp(1.5_r8*(logSigma**2))
        ...
        rad_aer(1:ncol,top_lev:) = 0.5_r8*dgncur_awet_processmode(1:ncol,top_lev:,processModeMap(mm))
!                        *exp(1.5_r8*(logSigma))
                            *exp(1.5_r8*(logSigma**2))
gold2718 commented 7 months ago

Closed by #119