Difference between revisions of "Solution to UKCA & UMUI Tutorial 8 Task 8.1"

From UKCA
(Created page with " Back to the adding wet deposition tutorial ==Task== You were asked to <blockquote> Add in wet deposition…")
 
Line 16: Line 16:
   
 
==Solution==
 
==Solution==
  +
  +
===Changes to ukca_chem_strattrop.F90===
  +
  +
First, you will need to increase the value of '''''' from 29 to '''30'''.
  +
  +
Then, you will need to change the 0 in the 7th column of the '''BOB''' entry in the '''''' array to '''1''', e.g.
  +
  +
chch_t( 77,'BOB ', 1,'TR ',' ', 0, 1, 0) & ! 77
  +
  +
Finally, you will need to add the following to the end of the '''''' array
  +
  +
0.2100E+06, 0.8700E+04, 0.2000E+02, 0.0000E+00, 0.0000E+00, 0.0000E+00 & ! 30 BOB
  +
  +
(remembering to add a comma to the end of the preceding line).
  +
  +
===Hand-edit===
  +
  +
You will need to make a hand-edit containing
  +
  +
ed CNTLATM<<\EOF
  +
/JPDW/
  +
d
  +
i
  +
JPDW = 30,
  +
.
  +
w
  +
q
  +
EOF
  +
  +
and add this to the UMUI in the '''Model Selectiom &rarr; Input/Output Control and Resource &rarr; User hand edit files''' by placing it in the table and putting a '''Y''' in the '''Include Y/N''' column.
  +
  +
An example hand-edit can be found at
  +
  +
/home/ukca/hand_edits/VN8.2/Tutorial/Task8.1_incr_JPvals.ed
   
 
==Output==
 
==Output==

Revision as of 14:16, 25 June 2013

Back to the adding wet deposition tutorial

Task

You were asked to

Add in wet deposition for BOB, using the following values:

for the 1st dissociatation for the 1st dissociatation for the 2nd dissociatation for the 2nd dissociatation

Solution

Changes to ukca_chem_strattrop.F90

First, you will need to increase the value of ' from 29 to 30'.

Then, you will need to change the 0 in the 7th column of the BOB' entry in the ' array to 1, e.g.

chch_t( 77,'BOB       ',  1,'TR        ','          ',  0,  1,  0)   & !  77

Finally, you will need to add the following to the end of the ' array

0.2100E+06, 0.8700E+04, 0.2000E+02, 0.0000E+00, 0.0000E+00, 0.0000E+00 &   !   30  BOB

(remembering to add a comma to the end of the preceding line).

Hand-edit

You will need to make a hand-edit containing

ed CNTLATM<<\EOF
/JPDW/
d
i
 JPDW = 30,
.
w
q
EOF

and add this to the UMUI in the Model Selectiom → Input/Output Control and Resource → User hand edit files by placing it in the table and putting a Y in the Include Y/N column.

An example hand-edit can be found at

/home/ukca/hand_edits/VN8.2/Tutorial/Task8.1_incr_JPvals.ed

Output

Worked Solution


Written by Luke Abraham 2013