<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 3 Aug 2017, at 10:50, rahele shafiee wrote:</p>

<p dir="auto"></p></div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #5855D5; color:#5855D5; margin:0 0 5px; padding-left:5px"><p dir="auto">Hello to everyone<br>
<br>
I would like to give my model the tidal amplitude and phase inthe open boundaries. How do I introduce these numbers to my model?<br>
<br>
Can I give surface elevation (ETA) tothe model instead of the amplitude and phase monthly?</p>
</blockquote></div>
<div style="white-space:normal">

<p dir="auto">Hi Rahele,</p>

<p dir="auto">The way to add open boundary forcing in the MITgcm is with <code>pkg/obcs</code> or <code>pkg/rbcs</code> (maybe others?)</p>

<p dir="auto"><code>pkg/obcs</code> has forcing of tidal velocities normal to the open boundary, implemnted in <code>pkg/obcs/obcs_add_tides.F</code>.  You can get this to work by specifying in <code>data.obcs</code> appropriate names for <code>OBNAmFile</code> and <code>OBNphFile</code>.  Look at <code>pkg/obcs/obcs_readparms.F</code> for all the possible parameters you can read into the <code>pkg/obcs</code>, and read the source code to <code>pkg/obcs/obcs_add_tides.F</code> to see how it works.  </p>

<p dir="auto">As implemented, <code>pkg/obcs/obcs_add_tides.F</code> doesn’t modify the sea surface height at the boundary.  However, <code>pkg/obcs</code> does allow seasurface height to be specified at the boundary (i.e. see <code>OBNetaFile</code>, etc). So it seems a somewhat trivial task to write <code>obcs_add_tideheights.F</code> and have new parameters <code>OBNamEtaFile</code> etc that control the sea-surface height if you prefer that to specifying via the <code>OBNetaFile</code>.  </p>

<p dir="auto">I think this is all possible w/ <code>pkg/obcs</code>, though I admit I’m not sure if <code>rbcs</code> can force the sea surface.  I think not, though I could be misremembering.   </p>

<p dir="auto">I hope that gets you started.  </p>

<p dir="auto">Cheers,   Jody</p>

<p dir="auto"></p></div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #5855D5; color:#5855D5; margin:0 0 5px; padding-left:5px"><p dir="auto">Cheers Rahele<br>
_______________________________________________<br>
MITgcm-support mailing list<br>
MITgcm-support@mitgcm.org<br>
<a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a></p>
</blockquote></div>
<div style="white-space:normal">
</div>
</div>
</body>
</html>