Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a bug in VBS SOA gas-aerosol partition calculation #6502

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3530,7 +3530,7 @@ subroutine mam_soaexch_vbs_1subarea( &
! convert sat vapor conc from ug/m^3 to mol/m^3 then to mol/liter
tmpa = (c0_soa_298(ll)*1.0e-6_r8/mw_gas(igas)) * 1.0e-3_r8
! calc sat vapor pressure (atm) from molar-conc and temp [ 0.082056 = gas constant in (atm/deg-K/(mol/liter)) ]
p0_soa_298(ll) = 0.082056_r8*tmpa*temp
p0_soa_298(ll) = 0.082056_r8*tmpa*298.0_r8
end do

! calc soa gas saturation molar-mixing-ratio at local temp and air-pressure
Expand Down