Sulfate aerosols: Difference between revisions

From Geos-chem
Jump to navigation Jump to search
Line 20: Line 20:
     HNO3_ss = TITR_HNO3 * 0.063 * TCVV(IDTHNO3)/AD(I,J,L)
     HNO3_ss = TITR_HNO3 * 0.063 * TCVV(IDTHNO3)/AD(I,J,L)


:is appropriate as long as you also have PNIT (analogous to PNITs).  PNIT is in my original code where I did all my mass balance testing.  PNIT got dropped when going to the standard version.  I don't recall dropping this, but my guess is that I decided it was redundant to have it when isorropia would just repartition HNO3 and NIT anyway according to thermodynamic equilibrium.  But when dropping PNIT, you have to change TITR_HNO3 to HNO3_SS in the above equation in order to achieve mass balance.
:is appropriate as long as you also have <tt>PNIT</tt> (analogous to <tt>PNITs</tt>).  <tt>PNIT</tt> is in my original code where I did all my mass balance testing.  <tt>PNIT</tt> got dropped when going to the standard version.  I don't recall dropping this, but my guess is that I decided it was redundant to have it when isorropia would just repartition HNO3 and NIT anyway according to thermodynamic equilibrium.  But when dropping <tt>PNIT</tt>, you have to change <tt>TITR_HNO3</tt> to <tt>HNO3_SSC</tt> in the above equation in order to achieve mass balance.


--[[User:Bmy|Bob Y.]] 09:32, 30 July 2008 (EDT)
--[[User:Bmy|Bob Y.]] 09:32, 30 July 2008 (EDT)

Revision as of 13:35, 30 July 2008

Fix for mass balance of HNO3 and NIT

Becky Alexander (beckya@atmos.washington.edu) wrote:

We need to make a change in sulfate_mod in order to have mass balance for HNO3 and NIT. Duncan Fairlie noticed the bug. There is a simple change:
In routine SEASALT_CHEM in sulfate_mod.f: In order to have mass balance, you need to change:
   !HNO3 lost [eq/timestep] converted back to [v/v/timestep]
   HNO3_ss = TITR_HNO3 * 0.063 * TCVV(IDTHNO3)/AD(I,J,L)
to:
   !HNO3 lost [eq/timestep] converted back to [v/v/timestep]
   HNO3_ss = HNO3_SSC * 0.063 * TCVV(IDTHNO3)/AD(I,J,L)
In my original code where I added isorropia and the new tracers, NITs and SO4s, the line above:
   !HNO3 lost [eq/timestep] converted back to [v/v/timestep]
   HNO3_ss = TITR_HNO3 * 0.063 * TCVV(IDTHNO3)/AD(I,J,L)
is appropriate as long as you also have PNIT (analogous to PNITs). PNIT is in my original code where I did all my mass balance testing. PNIT got dropped when going to the standard version. I don't recall dropping this, but my guess is that I decided it was redundant to have it when isorropia would just repartition HNO3 and NIT anyway according to thermodynamic equilibrium. But when dropping PNIT, you have to change TITR_HNO3 to HNO3_SSC in the above equation in order to achieve mass balance.

--Bob Y. 09:32, 30 July 2008 (EDT)