<div dir="ltr"><div>Hi Jody,</div><div><br></div><div>I think you could look at code of the DIC package that comes with MITgcm. You can either strip down the code to 1 tracer and </div><div>also remove the routine of gas exchange for CO2 or you can then just copy from that code the routine for gas exchange of O2 with the solubility and gas exchange parameters along that you need to make it work and re-adapt to your code.</div><div><br></div><div>In the second case you might need gchem pkg too (is needed for dic pkg too I think) compiled to make it work. Then you add the gas exchange code</div><div>and pass the flux term to your O2- like tracer tendency only if k = 1 (surface ocean only).</div><div><br></div><div>Here below something similar to your case done a while ago where I added the "thermal oxygen"</div><div>but still in the context of a full bgc model. </div><div><br></div><div>In that case I just copied the code of the oxygen cycle and removed the </div><div>"sources minus sink" term so that it becomes "abiotic" only, like that tracer you want to obtain for</div><div>your study in the fjord if I understood correcly.</div><div><br></div><div><a href="https://www.tandfonline.com/doi/full/10.3402/tellusb.v64i0.18429">https://www.tandfonline.com/doi/full/10.3402/tellusb.v64i0.18429</a><br></div><div><br></div><div>I hope this helps.</div><div><br></div><div>Manfredi</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 21, 2022 at 2:51 AM Jody Klymak <<a href="mailto:jklymak@uvic.ca">jklymak@uvic.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
I am trying to add a crude oxygen signal to a wind and thermally forced fjord simulation. I don’t particularly need the oxygen to interact bio-chemically with anything, but I assume it would be more realistic for the gas exchange to depend on the wind speed and the surface oxygen saturation (as a function of T and S). <br>
<br>
I am finding it a little difficult to parse how I might do that. I don’t see a surface forcing for ptracer. It seems that maybe biochem has all this, but its still not clear if I should use all this machinery and how to initialize in an idealized sense. <br>
<br>
Any pointers gratefully received. <br>
<br>
Thanks a lot. Jody<br>
<br>
--<br>
Jody Klymak <br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__ocean-2Dphysics.seos.uvic.ca_-7Ejklymak_&d=DwIGaQ&c=-35OiAkTchMrZOngvJPOeA&r=igpxhFyItwkD6Vnn8g54Ybzj3kX5f-S1LY9JKm2YT1c&m=nkgsUY2t8ODuPG_Q1j0WukX0YFM4WaWyWHEtpl4Irx0TBNMmMbHsGZcbi8hudusN&s=bZOGEPvGiJv1KgPp3U-2Hzz7Ze3F1qZ-g-DMbG019-8&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__ocean-2Dphysics.seos.uvic.ca_-7Ejklymak_&d=DwIGaQ&c=-35OiAkTchMrZOngvJPOeA&r=igpxhFyItwkD6Vnn8g54Ybzj3kX5f-S1LY9JKm2YT1c&m=nkgsUY2t8ODuPG_Q1j0WukX0YFM4WaWyWHEtpl4Irx0TBNMmMbHsGZcbi8hudusN&s=bZOGEPvGiJv1KgPp3U-2Hzz7Ze3F1qZ-g-DMbG019-8&e=</a> <br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
MITgcm-support mailing list<br>
<a href="mailto:MITgcm-support@mitgcm.org" target="_blank">MITgcm-support@mitgcm.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__mailman.mitgcm.org_mailman_listinfo_mitgcm-2Dsupport&d=DwIGaQ&c=-35OiAkTchMrZOngvJPOeA&r=igpxhFyItwkD6Vnn8g54Ybzj3kX5f-S1LY9JKm2YT1c&m=nkgsUY2t8ODuPG_Q1j0WukX0YFM4WaWyWHEtpl4Irx0TBNMmMbHsGZcbi8hudusN&s=DAw11Kjl-6UwCxQL49mqNrIjnvCL6VWyKm3ln90DBSA&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__mailman.mitgcm.org_mailman_listinfo_mitgcm-2Dsupport&d=DwIGaQ&c=-35OiAkTchMrZOngvJPOeA&r=igpxhFyItwkD6Vnn8g54Ybzj3kX5f-S1LY9JKm2YT1c&m=nkgsUY2t8ODuPG_Q1j0WukX0YFM4WaWyWHEtpl4Irx0TBNMmMbHsGZcbi8hudusN&s=DAw11Kjl-6UwCxQL49mqNrIjnvCL6VWyKm3ln90DBSA&e=</a> <br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><pre cols="72">Dr. Manfredi Manizza
Geosciences Research Division
Scripps Institution of Oceanography
University of California San Diego
9500 Gilman Drive La Jolla, CA 92093-0244
email : <a href="mailto:mmanizza@ucsd.edu" target="_blank">mmanizza@ucsd.edu</a>
tel : +1-858-534-7094
web : <a href="http://bluemoon.ucsd.edu/mmanizza/" target="_blank">http://bluemoon.ucsd.edu/mmanizza/</a> </pre><pre cols="72">web : <a href="https://mmanizza.scrippsprofiles.ucsd.edu/" style="font-family:Arial,Helvetica,sans-serif" target="_blank">https://mmanizza.scrippsprofiles.ucsd.edu/</a></pre></div></div></div></div></div>