Difference between revisions of "GlomapSedimentation"
(Created page with "= Notes on Aerosol sedimentation in UKCA GLOMAP = This work is primarily motivated by the desire to be able to run aerosol sedimentation with a shorter timestep than the rest of…") |
|||
Line 1: | Line 1: | ||
= Notes on Aerosol sedimentation in UKCA GLOMAP = |
= Notes on Aerosol sedimentation in UKCA GLOMAP = |
||
− | This work is primarily motivated by the desire to be able to run aerosol sedimentation with a shorter timestep than the rest of UKCA, and potentially to try alternative schemes for sedimentation. The code presently uses a flux-form advection scheme |
+ | This work is primarily motivated by the desire to be able to run aerosol sedimentation with a shorter timestep than the rest of UKCA, and potentially to try alternative schemes for sedimentation. The code presently uses a flux-form advection scheme to sediment aerosols, with sedimentation velocity calculated by the routine <tt>UKCA_VGRAV_AV_K</tt>. In this scheme the sedimentation speed is limited by the model timestep, for stability reasons. |
A quick hack has demonstrated that allowing aerosols to sediment more quickly (by substepping the existing scheme with a shorter timestep) makes a significant difference to the simulation of the coarse mode, with knock-on effects on the accumulation mode. However this hack is not suitable for inclusion in the UKCA trunk, and is inefficient as it substeps with the same timestep over all modes and all columns. |
A quick hack has demonstrated that allowing aerosols to sediment more quickly (by substepping the existing scheme with a shorter timestep) makes a significant difference to the simulation of the coarse mode, with knock-on effects on the accumulation mode. However this hack is not suitable for inclusion in the UKCA trunk, and is inefficient as it substeps with the same timestep over all modes and all columns. |
||
+ | |||
+ | From discussions with various people, it appears that this would be an opportunity to make some other changes to the sedimentation code. For example, it was suggested to seperate the sedimentation and dry deposition schemes so that the sedimentation can be substepped without the deposition (but see below), and so that it is easier to unify the aerosol and dry gas deposition in future. Also suggested was moving both the sedimentation and deposition to <tt>ukca_emission_ctl</tt> so that the deposition can be performed on the same timestep as the emissions (potentially important for dust), and possibly to include the deposition in the boundary layer mixing (<tt>tr_mix</tt>) along with the emissions. Finally, if making changes to the emissions code, it would make sense to do this in the new netCDF emissions code, since for UKESM we aim to use netCDF as much as possible. However, this would require adapting the netCDF emissions code to include the aerosol emissions. |
||
+ | |||
+ | There is a danger of this morphing into an unmanagable task, particularly as I'm not sure how much time I'll be able to devote to it. So I've tried to come up with a plan that divides the work into sensible steps, each of which would deliver a useful improvement in its own right. |
||
+ | |||
+ | |||
+ | == Rough plan == |
||
+ | |||
+ | # Understand the code better than I do at present. The following plan is based on my initial inspection of the code structure, and more detail will need to be added when I've understood where the diffulties will lie. |
||
+ | # Split the <tt>ukca_ddepaer_incl_sedi</tt> routine into seperate routines for sedimentation (loss from levels 2-85) and deposition (loss from level 1). Might there be problems running the sedimentation on a shorter timestep than the deposition? |
||
+ | # Change the sedimentation code to work with 3D arrays, and allow each column and mode to substep with a different timestep, diagnosed from Courant number. |
||
+ | # Adapt the netCDF emissions code to include the aerosol emissions, including new calls to <tt>tr_mix</tt> and <tt>trsrce</tt> in <tt>ukca_add_emiss<tt>. Consider making these calls use the same code/loop as the chemistry, rather than seperately as in <tt>ukca_emission_ctl</tt> (of course there may be good reason for that, and note that the order of the two calls is different in the two routines). |
||
+ | # Move the sedimentation and deposition into <tt>ukca_new_emiss_ctl</tt>. Need more investigation to propose where each should sit. My feeling is that sedimentation should be performed before deposition if they have been seperated in step 2, since the sedimentation will result in a large accumulation in level 1, which the deposition should deal with before it is seen by other processes. |
||
+ | # Investigate alternative sedimentation schemes if the flexible substepping is too expensive. |
||
+ | # Investigate using <tt>tr_mix</tt> for aerosol deposition and emissions. Diagnostics mights be a particular challenge for this. |
Revision as of 15:29, 29 January 2014
Notes on Aerosol sedimentation in UKCA GLOMAP
This work is primarily motivated by the desire to be able to run aerosol sedimentation with a shorter timestep than the rest of UKCA, and potentially to try alternative schemes for sedimentation. The code presently uses a flux-form advection scheme to sediment aerosols, with sedimentation velocity calculated by the routine UKCA_VGRAV_AV_K. In this scheme the sedimentation speed is limited by the model timestep, for stability reasons.
A quick hack has demonstrated that allowing aerosols to sediment more quickly (by substepping the existing scheme with a shorter timestep) makes a significant difference to the simulation of the coarse mode, with knock-on effects on the accumulation mode. However this hack is not suitable for inclusion in the UKCA trunk, and is inefficient as it substeps with the same timestep over all modes and all columns.
From discussions with various people, it appears that this would be an opportunity to make some other changes to the sedimentation code. For example, it was suggested to seperate the sedimentation and dry deposition schemes so that the sedimentation can be substepped without the deposition (but see below), and so that it is easier to unify the aerosol and dry gas deposition in future. Also suggested was moving both the sedimentation and deposition to ukca_emission_ctl so that the deposition can be performed on the same timestep as the emissions (potentially important for dust), and possibly to include the deposition in the boundary layer mixing (tr_mix) along with the emissions. Finally, if making changes to the emissions code, it would make sense to do this in the new netCDF emissions code, since for UKESM we aim to use netCDF as much as possible. However, this would require adapting the netCDF emissions code to include the aerosol emissions.
There is a danger of this morphing into an unmanagable task, particularly as I'm not sure how much time I'll be able to devote to it. So I've tried to come up with a plan that divides the work into sensible steps, each of which would deliver a useful improvement in its own right.
Rough plan
- Understand the code better than I do at present. The following plan is based on my initial inspection of the code structure, and more detail will need to be added when I've understood where the diffulties will lie.
- Split the ukca_ddepaer_incl_sedi routine into seperate routines for sedimentation (loss from levels 2-85) and deposition (loss from level 1). Might there be problems running the sedimentation on a shorter timestep than the deposition?
- Change the sedimentation code to work with 3D arrays, and allow each column and mode to substep with a different timestep, diagnosed from Courant number.
- Adapt the netCDF emissions code to include the aerosol emissions, including new calls to tr_mix and trsrce in ukca_add_emiss. Consider making these calls use the same code/loop as the chemistry, rather than seperately as in ukca_emission_ctl (of course there may be good reason for that, and note that the order of the two calls is different in the two routines).
- Move the sedimentation and deposition into ukca_new_emiss_ctl. Need more investigation to propose where each should sit. My feeling is that sedimentation should be performed before deposition if they have been seperated in step 2, since the sedimentation will result in a large accumulation in level 1, which the deposition should deal with before it is seen by other processes.
- Investigate alternative sedimentation schemes if the flexible substepping is too expensive.
- Investigate using tr_mix for aerosol deposition and emissions. Diagnostics mights be a particular challenge for this.