<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.adcirc.org/index.php?action=history&amp;feed=atom&amp;title=Horizontal_eddy_viscosity</id>
	<title>Horizontal eddy viscosity - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.adcirc.org/index.php?action=history&amp;feed=atom&amp;title=Horizontal_eddy_viscosity"/>
	<link rel="alternate" type="text/html" href="https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;action=history"/>
	<updated>2026-09-10T10:04:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.1</generator>
	<entry>
		<id>https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=1035&amp;oldid=prev</id>
		<title>Taylorgasher: clarification on negative ESLM, added notes on internal flags</title>
		<link rel="alternate" type="text/html" href="https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=1035&amp;oldid=prev"/>
		<updated>2020-07-06T15:23:05Z</updated>

		<summary type="html">&lt;p&gt;clarification on negative ESLM, added notes on internal flags&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:23, 6 July 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/ref&amp;gt;.  There are currently two slightly different ways of enabling this in the model.  One is by specifying a negative value for &amp;lt;code&amp;gt;[[ESLM]]&amp;lt;/code&amp;gt; in the [[fort.15 file]].  If this is done, the Smagorinsky turbulence closure is enabled and the absolute value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is used as the coefficient.  Alternatively, the &amp;lt;code&amp;gt;Smag_Control&amp;lt;/code&amp;gt; namelist can be used, e.g. by adding the following to the end of the fort.15 file &amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/ref&amp;gt;.  There are currently two slightly different ways of enabling this in the model.  One is by specifying a negative value for &amp;lt;code&amp;gt;[[ESLM]]&amp;lt;/code&amp;gt; in the [[fort.15 file]].  If this is done, the Smagorinsky turbulence closure is enabled and the absolute value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is used as the coefficient.  Alternatively, the &amp;lt;code&amp;gt;Smag_Control&amp;lt;/code&amp;gt; namelist can be used, e.g. by adding the following to the end of the fort.15 file &amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&amp;amp;Smag_Control SMAG_LOWER_LIM=1.0e-8, SMAG_UPPER_LIM=100 /&amp;lt;/code&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&amp;amp;Smag_Control SMAG_LOWER_LIM=1.0e-8, SMAG_UPPER_LIM=100 /&amp;lt;/code&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Here again, the value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is taken as the coefficient.  &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This &lt;/del&gt;also allows the user to optionally specify lower and upper bounds on the actual eddy viscosity determined via the Smagorinsky formulation.  The values given in the above example of 1E-8 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s and 100 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s are the default values.  There is no way to supply upper and lower bounds with the other method.   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Here again, the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;absolute &lt;/ins&gt;value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is taken as the coefficient&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, though a negative &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; value isn't necessary if the namelist is used&lt;/ins&gt;.  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The namelist &lt;/ins&gt;also allows the user to optionally specify lower and upper bounds on the actual eddy viscosity determined via the Smagorinsky formulation.  The values given in the above example of 1E-8 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s and 100 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s are the default values.  There is no way to supply upper and lower bounds with the other method.   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the [[fort.13_file#Eddy_Viscosity|&amp;lt;code&amp;gt;average_horizontal_eddy_viscosity_in_sea_water_wrt_depth&amp;lt;/code&amp;gt;]] nodal attribute is used when the Smagorinsky eddy viscosity is employed, then the nodal attribute values are taken to be the Smagorinsky coefficient values.   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the [[fort.13_file#Eddy_Viscosity|&amp;lt;code&amp;gt;average_horizontal_eddy_viscosity_in_sea_water_wrt_depth&amp;lt;/code&amp;gt;]] nodal attribute is used when the Smagorinsky eddy viscosity is employed, then the nodal attribute values are taken to be the Smagorinsky coefficient values.   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Usage Notes ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Usage Notes ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The two methods currently result in different flags being set in the code, which have slightly inconsistent behavior.  Specifically, the &amp;quot;negative &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; method&amp;quot; results in a check being run at model initialization to verify that the default (Kolar-Gray) formulation of the lateral stresses in the GWCE is not in use, and the model errors out if it is.  That check is not done in the namelist method.  The lateral stress formulation is specified by the first digit in a [[IM#Six-digit_IM_Codes|six-digit IM code]] being set to 1.  It is also set for any regular IM value for 2D ADCIRC.  Mathematically, the Kolar-Gray formulation of the lateral stress does not take into account a derivative of the eddy viscosity terms, meaning it is technically inconsistent with a Smagorinsky turbulence closure model.  However, it is not clear whether the time derivative term is ever large enough to be consequential, and therefore merit departure from ADCIRC's default GWCE formulation.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The two methods currently result in different flags being set in the code, which have slightly inconsistent behavior.  Specifically, the &amp;quot;negative &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; method&amp;quot; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sets &amp;lt;code&amp;gt;CSmag_Eh=.TRUE.&amp;lt;/code&amp;gt; and &lt;/ins&gt;results in a check being run at model initialization to verify that the default (Kolar-Gray) formulation of the lateral stresses in the GWCE is not in use, and the model errors out if it is.  That check is not done in the namelist method&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, which sets &amp;lt;code&amp;gt;Smag_Comp_Flag=.TRUE.&amp;lt;/code&amp;gt;&lt;/ins&gt;.  The lateral stress formulation is specified by the first digit in a [[IM#Six-digit_IM_Codes|six-digit IM code]] being set to 1.  It is also set for any regular IM value for 2D ADCIRC.  Mathematically, the Kolar-Gray formulation of the lateral stress does not take into account a derivative of the eddy viscosity terms, meaning it is technically inconsistent with a Smagorinsky turbulence closure model.  However, it is not clear whether the time derivative term is ever large enough to be consequential, and therefore merit departure from ADCIRC's default GWCE formulation.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Taylorgasher</name></author>
	</entry>
	<entry>
		<id>https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=513&amp;oldid=prev</id>
		<title>Taylorgasher: /* Smagorinsky Eddy Viscosity */ clarification</title>
		<link rel="alternate" type="text/html" href="https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=513&amp;oldid=prev"/>
		<updated>2020-01-16T15:54:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Smagorinsky Eddy Viscosity: &lt;/span&gt; clarification&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:54, 16 January 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l9&quot;&gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Smagorinsky Eddy Viscosity ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Smagorinsky Eddy Viscosity ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ADCIRC also allows a [https://en.wikipedia.org/wiki/Turbulence_modeling#Smagorinsky_model_for_the_sub-grid_scale_eddy_viscosity Smagorinsky-type] turbulence closure model&amp;lt;ref name=smag1&amp;gt;Smagorinsky, J. “General Circulation Experiments with the Primitive Equations.” Monthly Weather Review 91, no. 3 (March 1, 1963): 99–164. https://doi.org/10.1175/1520-0493(1963)091&amp;lt;0099:GCEWTP&amp;gt;2.3.CO;2.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ADCIRC also allows a [https://en.wikipedia.org/wiki/Turbulence_modeling#Smagorinsky_model_for_the_sub-grid_scale_eddy_viscosity Smagorinsky-type] turbulence closure model&amp;lt;ref name=smag1&amp;gt;Smagorinsky, J. “General Circulation Experiments with the Primitive Equations.” Monthly Weather Review 91, no. 3 (March 1, 1963): 99–164. https://doi.org/10.1175/1520-0493(1963)091&amp;lt;0099:GCEWTP&amp;gt;2.3.CO;2.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/ref&amp;gt;.  There are currently two slightly different ways of enabling this in the model.  One is by specifying a negative value for &amp;lt;code&amp;gt;[[ESLM]]&amp;lt;/code&amp;gt; in the [[fort.15 file]].  If this is done, the Smagorinsky turbulence closure is enabled and the absolute value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is used as the coefficient.  Alternatively, the &amp;lt;code&amp;gt;Smag_Control&amp;lt;/code&amp;gt; namelist can be used, e.g.&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/ref&amp;gt;.  There are currently two slightly different ways of enabling this in the model.  One is by specifying a negative value for &amp;lt;code&amp;gt;[[ESLM]]&amp;lt;/code&amp;gt; in the [[fort.15 file]].  If this is done, the Smagorinsky turbulence closure is enabled and the absolute value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is used as the coefficient.  Alternatively, the &amp;lt;code&amp;gt;Smag_Control&amp;lt;/code&amp;gt; namelist can be used, e.g. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;by adding the following to the end of the fort.15 file &lt;/ins&gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&amp;amp;Smag_Control SMAG_LOWER_LIM=1.0e-8, SMAG_UPPER_LIM=100 /&amp;lt;/code&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&amp;amp;Smag_Control SMAG_LOWER_LIM=1.0e-8, SMAG_UPPER_LIM=100 /&amp;lt;/code&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;When this is done&lt;/del&gt;, the value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is taken as the coefficient.  This also allows the user to optionally specify lower and upper bounds on the actual eddy viscosity determined via the Smagorinsky formulation.  The values given in the above example of 1E-8 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s and 100 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s are the default values.  There is no way to supply upper and lower bounds with the other method.   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Here again&lt;/ins&gt;, the value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is taken as the coefficient.  This also allows the user to optionally specify lower and upper bounds on the actual eddy viscosity determined via the Smagorinsky formulation.  The values given in the above example of 1E-8 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s and 100 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s are the default values.  There is no way to supply upper and lower bounds with the other method.   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the [[fort.13_file#Eddy_Viscosity|&amp;lt;code&amp;gt;average_horizontal_eddy_viscosity_in_sea_water_wrt_depth&amp;lt;/code&amp;gt;]] nodal attribute is used when the Smagorinsky eddy viscosity is employed, then the nodal attribute values are taken to be the Smagorinsky coefficient values.   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the [[fort.13_file#Eddy_Viscosity|&amp;lt;code&amp;gt;average_horizontal_eddy_viscosity_in_sea_water_wrt_depth&amp;lt;/code&amp;gt;]] nodal attribute is used when the Smagorinsky eddy viscosity is employed, then the nodal attribute values are taken to be the Smagorinsky coefficient values.   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Taylorgasher</name></author>
	</entry>
	<entry>
		<id>https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=508&amp;oldid=prev</id>
		<title>Taylorgasher: /* Smagorinsky Eddy Viscosity */ typo</title>
		<link rel="alternate" type="text/html" href="https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=508&amp;oldid=prev"/>
		<updated>2019-10-01T13:25:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Smagorinsky Eddy Viscosity: &lt;/span&gt; typo&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:25, 1 October 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ADCIRC also allows a [https://en.wikipedia.org/wiki/Turbulence_modeling#Smagorinsky_model_for_the_sub-grid_scale_eddy_viscosity Smagorinsky-type] turbulence closure model&amp;lt;ref name=smag1&amp;gt;Smagorinsky, J. “General Circulation Experiments with the Primitive Equations.” Monthly Weather Review 91, no. 3 (March 1, 1963): 99–164. https://doi.org/10.1175/1520-0493(1963)091&amp;lt;0099:GCEWTP&amp;gt;2.3.CO;2.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ADCIRC also allows a [https://en.wikipedia.org/wiki/Turbulence_modeling#Smagorinsky_model_for_the_sub-grid_scale_eddy_viscosity Smagorinsky-type] turbulence closure model&amp;lt;ref name=smag1&amp;gt;Smagorinsky, J. “General Circulation Experiments with the Primitive Equations.” Monthly Weather Review 91, no. 3 (March 1, 1963): 99–164. https://doi.org/10.1175/1520-0493(1963)091&amp;lt;0099:GCEWTP&amp;gt;2.3.CO;2.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/ref&amp;gt;.  There are currently two slightly different ways of enabling this in the model.  One is by specifying a negative value for &amp;lt;code&amp;gt;[[ESLM]]&amp;lt;/code&amp;gt; in the [[fort.15 file]].  If this is done, the Smagorinsky turbulence closure is enabled and the absolute value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is used as the coefficient.  Alternatively, the &amp;lt;code&amp;gt;Smag_Control&amp;lt;/code&amp;gt; namelist can be used, e.g.&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/ref&amp;gt;.  There are currently two slightly different ways of enabling this in the model.  One is by specifying a negative value for &amp;lt;code&amp;gt;[[ESLM]]&amp;lt;/code&amp;gt; in the [[fort.15 file]].  If this is done, the Smagorinsky turbulence closure is enabled and the absolute value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is used as the coefficient.  Alternatively, the &amp;lt;code&amp;gt;Smag_Control&amp;lt;/code&amp;gt; namelist can be used, e.g.&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&amp;amp;Smag_Control SMAG_LOWER_LIM=1.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0d&lt;/del&gt;-8, SMAG_UPPER_LIM=100 /&amp;lt;/code&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&amp;amp;Smag_Control SMAG_LOWER_LIM=1.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0e&lt;/ins&gt;-8, SMAG_UPPER_LIM=100 /&amp;lt;/code&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When this is done, the value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is taken as the coefficient.  This also allows the user to optionally specify lower and upper bounds on the actual eddy viscosity determined via the Smagorinsky formulation.  The values given in the above example of 1E-8 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s and 100 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s are the default values.  There is no way to supply upper and lower bounds with the other method.   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When this is done, the value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is taken as the coefficient.  This also allows the user to optionally specify lower and upper bounds on the actual eddy viscosity determined via the Smagorinsky formulation.  The values given in the above example of 1E-8 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s and 100 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s are the default values.  There is no way to supply upper and lower bounds with the other method.   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Taylorgasher</name></author>
	</entry>
	<entry>
		<id>https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=506&amp;oldid=prev</id>
		<title>Taylorgasher: /* Smagorinsky Eddy Viscosity */ revised language on derivative...it appears both spatial and temporal derivatives of eddy viscosity are neglected</title>
		<link rel="alternate" type="text/html" href="https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=506&amp;oldid=prev"/>
		<updated>2019-09-28T17:29:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Smagorinsky Eddy Viscosity: &lt;/span&gt; revised language on derivative...it appears both spatial and temporal derivatives of eddy viscosity are neglected&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:29, 28 September 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l16&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Usage Notes ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Usage Notes ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The two methods currently result in different flags being set in the code, which have slightly inconsistent behavior.  Specifically, the &amp;quot;negative &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; method&amp;quot; results in a check being run at model initialization to verify that the default (Kolar-Gray) formulation of the lateral stresses in the GWCE is not in use, and the model errors out if it is.  That check is not done in the namelist method.  The lateral stress formulation is specified by the first digit in a [[IM#Six-digit_IM_Codes|six-digit IM code]] being set to 1.  It is also set for any regular IM value for 2D ADCIRC.  Mathematically, the Kolar-Gray formulation of the lateral stress does not take into account a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;time &lt;/del&gt;derivative of the eddy viscosity terms, meaning it is technically inconsistent with a Smagorinsky turbulence closure model.  However, it is not clear whether the time derivative term is ever large enough to be consequential, and therefore merit departure from ADCIRC's default GWCE formulation.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The two methods currently result in different flags being set in the code, which have slightly inconsistent behavior.  Specifically, the &amp;quot;negative &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; method&amp;quot; results in a check being run at model initialization to verify that the default (Kolar-Gray) formulation of the lateral stresses in the GWCE is not in use, and the model errors out if it is.  That check is not done in the namelist method.  The lateral stress formulation is specified by the first digit in a [[IM#Six-digit_IM_Codes|six-digit IM code]] being set to 1.  It is also set for any regular IM value for 2D ADCIRC.  Mathematically, the Kolar-Gray formulation of the lateral stress does not take into account a derivative of the eddy viscosity terms, meaning it is technically inconsistent with a Smagorinsky turbulence closure model.  However, it is not clear whether the time derivative term is ever large enough to be consequential, and therefore merit departure from ADCIRC's default GWCE formulation.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Taylorgasher</name></author>
	</entry>
	<entry>
		<id>https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=504&amp;oldid=prev</id>
		<title>Taylorgasher: /* Smagorinsky Eddy Viscosity */</title>
		<link rel="alternate" type="text/html" href="https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=504&amp;oldid=prev"/>
		<updated>2019-09-22T05:51:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Smagorinsky Eddy Viscosity&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:51, 22 September 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot;&gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When this is done, the value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is taken as the coefficient.  This also allows the user to optionally specify lower and upper bounds on the actual eddy viscosity determined via the Smagorinsky formulation.  The values given in the above example of 1E-8 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s and 100 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s are the default values.  There is no way to supply upper and lower bounds with the other method.   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When this is done, the value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is taken as the coefficient.  This also allows the user to optionally specify lower and upper bounds on the actual eddy viscosity determined via the Smagorinsky formulation.  The values given in the above example of 1E-8 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s and 100 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s are the default values.  There is no way to supply upper and lower bounds with the other method.   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the [[fort.13_file#Eddy_Viscosity|&amp;lt;code&amp;gt;average_horizontal_eddy_viscosity_in_sea_water_wrt_depth&amp;lt;/code&amp;gt;]] nodal attribute is used when the Smagorinsky&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-type &lt;/del&gt;eddy viscosity is employed, then the nodal attribute values are taken to be the Smagorinsky coefficient values.   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the [[fort.13_file#Eddy_Viscosity|&amp;lt;code&amp;gt;average_horizontal_eddy_viscosity_in_sea_water_wrt_depth&amp;lt;/code&amp;gt;]] nodal attribute is used when the Smagorinsky eddy viscosity is employed, then the nodal attribute values are taken to be the Smagorinsky coefficient values.   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Usage Notes ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Usage Notes ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Taylorgasher</name></author>
	</entry>
	<entry>
		<id>https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=503&amp;oldid=prev</id>
		<title>Taylorgasher: /* Smagorinsky Eddy Viscosity */</title>
		<link rel="alternate" type="text/html" href="https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=503&amp;oldid=prev"/>
		<updated>2019-09-22T05:51:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Smagorinsky Eddy Viscosity&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:51, 22 September 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot;&gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When this is done, the value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is taken as the coefficient.  This also allows the user to optionally specify lower and upper bounds on the actual eddy viscosity determined via the Smagorinsky formulation.  The values given in the above example of 1E-8 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s and 100 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s are the default values.  There is no way to supply upper and lower bounds with the other method.   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When this is done, the value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is taken as the coefficient.  This also allows the user to optionally specify lower and upper bounds on the actual eddy viscosity determined via the Smagorinsky formulation.  The values given in the above example of 1E-8 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s and 100 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s are the default values.  There is no way to supply upper and lower bounds with the other method.   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the [[fort.13_file#Eddy_Viscosity|&amp;lt;code&amp;gt;average_horizontal_eddy_viscosity_in_sea_water_wrt_depth&amp;lt;/code&amp;gt;]] nodal attribute is used when Smagorinsky-type eddy viscosity is employed, then the nodal attribute values are taken to be the Smagorinsky coefficient values.   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the [[fort.13_file#Eddy_Viscosity|&amp;lt;code&amp;gt;average_horizontal_eddy_viscosity_in_sea_water_wrt_depth&amp;lt;/code&amp;gt;]] nodal attribute is used when &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/ins&gt;Smagorinsky-type eddy viscosity is employed, then the nodal attribute values are taken to be the Smagorinsky coefficient values.   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Usage Notes ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Usage Notes ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The two methods currently result in different flags being set in the code, which have slightly inconsistent behavior.  Specifically, the &amp;quot;negative &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; method&amp;quot; results in a check being run at model initialization to verify that the default (Kolar-Gray) formulation of the lateral stresses in the GWCE is not in use, and the model errors out if it is.  That check is not done in the namelist method.  The lateral stress formulation is specified by the first digit in a [[IM#Six-digit_IM_Codes|six-digit IM code]] being set to 1.  It is also set for any regular IM value for 2D ADCIRC.  Mathematically, the Kolar-Gray formulation of the lateral stress does not take into account a time derivative of the eddy viscosity terms, meaning it is technically inconsistent with a Smagorinsky turbulence closure model.  However, it is not clear whether the time derivative term is ever large enough to be consequential, and therefore merit departure from ADCIRC's default GWCE formulation. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The two methods currently result in different flags being set in the code, which have slightly inconsistent behavior.  Specifically, the &amp;quot;negative &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; method&amp;quot; results in a check being run at model initialization to verify that the default (Kolar-Gray) formulation of the lateral stresses in the GWCE is not in use, and the model errors out if it is.  That check is not done in the namelist method.  The lateral stress formulation is specified by the first digit in a [[IM#Six-digit_IM_Codes|six-digit IM code]] being set to 1.  It is also set for any regular IM value for 2D ADCIRC.  Mathematically, the Kolar-Gray formulation of the lateral stress does not take into account a time derivative of the eddy viscosity terms, meaning it is technically inconsistent with a Smagorinsky turbulence closure model.  However, it is not clear whether the time derivative term is ever large enough to be consequential, and therefore merit departure from ADCIRC's default GWCE formulation.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Taylorgasher</name></author>
	</entry>
	<entry>
		<id>https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=502&amp;oldid=prev</id>
		<title>Taylorgasher: Added how nodal attrib works w/Smag, per email from William</title>
		<link rel="alternate" type="text/html" href="https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=502&amp;oldid=prev"/>
		<updated>2019-09-22T05:50:39Z</updated>

		<summary type="html">&lt;p&gt;Added how nodal attrib works w/Smag, per email from William&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:50, 22 September 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&amp;amp;Smag_Control SMAG_LOWER_LIM=1.0d-8, SMAG_UPPER_LIM=100 /&amp;lt;/code&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&amp;amp;Smag_Control SMAG_LOWER_LIM=1.0d-8, SMAG_UPPER_LIM=100 /&amp;lt;/code&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When this is done, the value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is taken as the coefficient.  This also allows the user to optionally specify lower and upper bounds on the actual eddy viscosity determined via the Smagorinsky formulation.  The values given in the above example of 1E-8 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s and 100 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s are the default values.  There is no way to supply upper and lower bounds with the other method.   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When this is done, the value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is taken as the coefficient.  This also allows the user to optionally specify lower and upper bounds on the actual eddy viscosity determined via the Smagorinsky formulation.  The values given in the above example of 1E-8 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s and 100 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s are the default values.  There is no way to supply upper and lower bounds with the other method.   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If the [[fort.13_file#Eddy_Viscosity|&amp;lt;code&gt;average_horizontal_eddy_viscosity_in_sea_water_wrt_depth&amp;lt;/code&gt;]] nodal attribute is used when Smagorinsky-type eddy viscosity is employed, then the nodal attribute values are taken to be the Smagorinsky coefficient values.  &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Usage Notes ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Usage Notes ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Taylorgasher</name></author>
	</entry>
	<entry>
		<id>https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=500&amp;oldid=prev</id>
		<title>Wpringle at 22:51, 19 September 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=500&amp;oldid=prev"/>
		<updated>2019-09-19T22:51:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:51, 19 September 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Horizontal eddy viscosity''' is a term in the momentum equations to cover the well-known turbulence closure problem. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;For background on the problem, see, e.g. the [http://glossary.ametsoc.org/wiki/Turbulence_closure AMS glossary definition], the [https://en.wikipedia.org/wiki/Turbulence_modeling Wikipedia entry on turbulence modeling], or a fluid mechanics textbook such as Kundu's&amp;lt;ref name=kundu&amp;gt;Pijush K. Kundu, Ira M. Cohen, David R. Dowling (2012). Fluid Mechanics.&amp;lt;/ref&amp;gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;Readers unfamiliar with these concepts should note that, contrary to the name, eddy viscosity is unrelated to true viscosity, even though the units (length squared over time) are the same.  Typically, one should expect eddy viscosity to be many orders of magnitude larger than the viscosity of actual water (around 1x10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; meters&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/second for seawater). &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;In ADCIRC, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;horizontal eddy viscosity &lt;/del&gt;can &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;be treated via &lt;/del&gt;either a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;manually specified &lt;/del&gt;eddy viscosity or &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a &lt;/del&gt;Smagorinsky&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-type &lt;/del&gt;eddy viscosity. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;In &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;all &lt;/del&gt;cases&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;parameter is useful both for dealing with the true turbulence closure problem and for aiding with numerical stability&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Horizontal eddy viscosity''' is a term in the momentum equations to cover the well-known turbulence closure problem. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The term is also useful numerically for increased stability. &lt;/ins&gt;For background on the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;turbulence closure &lt;/ins&gt;problem, see, e.g. the [http://glossary.ametsoc.org/wiki/Turbulence_closure AMS glossary definition], the [https://en.wikipedia.org/wiki/Turbulence_modeling Wikipedia entry on turbulence modeling], or a fluid mechanics textbook such as Kundu's&amp;lt;ref name=kundu&amp;gt;Pijush K. Kundu, Ira M. Cohen, David R. Dowling (2012). Fluid Mechanics.&amp;lt;/ref&amp;gt;. Readers unfamiliar with these concepts should note that, contrary to the name, eddy viscosity is unrelated to true viscosity, even though the units (length squared over time) are the same.  Typically, one should expect eddy viscosity to be many orders of magnitude larger than the viscosity of actual water (around 1x10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; meters&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/second for seawater). In ADCIRC, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the user &lt;/ins&gt;can either &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;specify &lt;/ins&gt;a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;constant in time horizontal &lt;/ins&gt;eddy viscosity or &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;employ the &lt;/ins&gt;Smagorinsky &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;model to update the horizontal &lt;/ins&gt;eddy viscosity &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;based on local flow conditions with each time step&lt;/ins&gt;. In &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;both &lt;/ins&gt;cases the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;horizontal eddy viscosity or Smagorinsky coefficient can be either spatially constant or spatially varying&lt;/ins&gt;.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Manually &lt;/del&gt;Specified Eddy Viscosity ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;User-&lt;/ins&gt;Specified &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Constant in Time &lt;/ins&gt;Eddy Viscosity ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A spatially constant eddy viscosity can be supplied via the &amp;lt;code&amp;gt;[[ESLM]]&amp;lt;/code&amp;gt; parameter in the [[fort.15 file]].  Alternatively, the [[fort.13_file#Eddy_Viscosity|&amp;lt;code&amp;gt;average_horizontal_eddy_viscosity_in_sea_water_wrt_depth&amp;lt;/code&amp;gt;]] nodal attribute permits a spatially variable eddy viscosity.   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A spatially constant eddy viscosity can be supplied via the &amp;lt;code&amp;gt;[[ESLM]]&amp;lt;/code&amp;gt; parameter in the [[fort.15 file]].  Alternatively, the [[fort.13_file#Eddy_Viscosity|&amp;lt;code&amp;gt;average_horizontal_eddy_viscosity_in_sea_water_wrt_depth&amp;lt;/code&amp;gt;]] nodal attribute permits a spatially variable eddy viscosity.   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wpringle</name></author>
	</entry>
	<entry>
		<id>https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=498&amp;oldid=prev</id>
		<title>Taylorgasher: added stuff, I think this is mostly done now...</title>
		<link rel="alternate" type="text/html" href="https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=498&amp;oldid=prev"/>
		<updated>2019-09-19T22:32:38Z</updated>

		<summary type="html">&lt;p&gt;added stuff, I think this is mostly done now...&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:32, 19 September 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot;&gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When this is done, the value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is taken as the coefficient.  This also allows the user to optionally specify lower and upper bounds on the actual eddy viscosity determined via the Smagorinsky formulation.  The values given in the above example of 1E-8 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s and 100 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s are the default values.  There is no way to supply upper and lower bounds with the other method.   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When this is done, the value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is taken as the coefficient.  This also allows the user to optionally specify lower and upper bounds on the actual eddy viscosity determined via the Smagorinsky formulation.  The values given in the above example of 1E-8 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s and 100 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s are the default values.  There is no way to supply upper and lower bounds with the other method.   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Usage Notes&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== &lt;/ins&gt;Usage Notes &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The two methods currently result in different flags being set in the code, which have inconsistent behavior.  &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Most notably&lt;/del&gt;, the &amp;quot;negative &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; method&amp;quot; results in a check being run at model initialization to verify that the Kolar-Gray formulation of the lateral stresses in the GWCE is not in use, and the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code &lt;/del&gt;errors out if it is.  &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This choice &lt;/del&gt;is specified by the first digit in a six-digit IM code being set to 1.   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The two methods currently result in different flags being set in the code, which have &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;slightly &lt;/ins&gt;inconsistent behavior.  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Specifically&lt;/ins&gt;, the &amp;quot;negative &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; method&amp;quot; results in a check being run at model initialization to verify that the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;default (&lt;/ins&gt;Kolar-Gray&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;) &lt;/ins&gt;formulation of the lateral stresses in the GWCE is not in use, and the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;model &lt;/ins&gt;errors out if it is.  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;That check is not done in the namelist method.  The lateral stress formulation &lt;/ins&gt;is specified by the first digit in a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[IM#Six-digit_IM_Codes|&lt;/ins&gt;six-digit IM code&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/ins&gt;being set to 1.  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;It is also set for any regular IM value for 2D ADCIRC.  Mathematically, the Kolar-Gray formulation of the lateral stress does not take into account a time derivative &lt;/ins&gt;of &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the eddy viscosity terms, meaning it is technically inconsistent with a Smagorinsky turbulence closure model.  However, it is not clear whether the time derivative term is ever large enough to be consequential, and therefore merit departure from ADCIRC&lt;/ins&gt;'&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;s default GWCE formulation.  &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;digit 1 &lt;/del&gt;of &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;IM==1 isn&lt;/del&gt;'&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;t allowed&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Taylorgasher</name></author>
	</entry>
	<entry>
		<id>https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=497&amp;oldid=prev</id>
		<title>Taylorgasher: Created page, work-in-progress</title>
		<link rel="alternate" type="text/html" href="https://wiki.adcirc.org/index.php?title=Horizontal_eddy_viscosity&amp;diff=497&amp;oldid=prev"/>
		<updated>2019-09-19T22:21:15Z</updated>

		<summary type="html">&lt;p&gt;Created page, work-in-progress&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Horizontal eddy viscosity''' is a term in the momentum equations to cover the well-known turbulence closure problem.  For background on the problem, see, e.g. the [http://glossary.ametsoc.org/wiki/Turbulence_closure AMS glossary definition], the [https://en.wikipedia.org/wiki/Turbulence_modeling Wikipedia entry on turbulence modeling], or a fluid mechanics textbook such as Kundu's&amp;lt;ref name=kundu&amp;gt;Pijush K. Kundu, Ira M. Cohen, David R. Dowling (2012). Fluid Mechanics.&amp;lt;/ref&amp;gt;.  Readers unfamiliar with these concepts should note that, contrary to the name, eddy viscosity is unrelated to true viscosity, even though the units (length squared over time) are the same.  Typically, one should expect eddy viscosity to be many orders of magnitude larger than the viscosity of actual water (around 1x10&amp;lt;sup&amp;gt;-6&amp;lt;/sup&amp;gt; meters&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/second for seawater).  In ADCIRC, horizontal eddy viscosity can be treated via either a manually specified eddy viscosity or a Smagorinsky-type eddy viscosity.  In all cases, the parameter is useful both for dealing with the true turbulence closure problem and for aiding with numerical stability.  &lt;br /&gt;
&lt;br /&gt;
== Manually Specified Eddy Viscosity ==&lt;br /&gt;
A spatially constant eddy viscosity can be supplied via the &amp;lt;code&amp;gt;[[ESLM]]&amp;lt;/code&amp;gt; parameter in the [[fort.15 file]].  Alternatively, the [[fort.13_file#Eddy_Viscosity|&amp;lt;code&amp;gt;average_horizontal_eddy_viscosity_in_sea_water_wrt_depth&amp;lt;/code&amp;gt;]] nodal attribute permits a spatially variable eddy viscosity.  &lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
Commonly used values range from 1 to 50 meters&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/second, with 10 being a good starting point for many coastal ocean modeling scenarios.  By the nature of turbulence closure, one might expect the value to be smaller as mesh resolution increases.  However, this may not always be the case since areas with high resolution may also be more turbulent.  In particular, some modelers use a larger value in overland areas, which can also improve stability.  However, specifying a value that is too large can induce instabilities, as well.  &lt;br /&gt;
&lt;br /&gt;
== Smagorinsky Eddy Viscosity ==&lt;br /&gt;
ADCIRC also allows a [https://en.wikipedia.org/wiki/Turbulence_modeling#Smagorinsky_model_for_the_sub-grid_scale_eddy_viscosity Smagorinsky-type] turbulence closure model&amp;lt;ref name=smag1&amp;gt;Smagorinsky, J. “General Circulation Experiments with the Primitive Equations.” Monthly Weather Review 91, no. 3 (March 1, 1963): 99–164. https://doi.org/10.1175/1520-0493(1963)091&amp;lt;0099:GCEWTP&amp;gt;2.3.CO;2.&lt;br /&gt;
&amp;lt;/ref&amp;gt;.  There are currently two slightly different ways of enabling this in the model.  One is by specifying a negative value for &amp;lt;code&amp;gt;[[ESLM]]&amp;lt;/code&amp;gt; in the [[fort.15 file]].  If this is done, the Smagorinsky turbulence closure is enabled and the absolute value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is used as the coefficient.  Alternatively, the &amp;lt;code&amp;gt;Smag_Control&amp;lt;/code&amp;gt; namelist can be used, e.g.&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;amp;Smag_Control SMAG_LOWER_LIM=1.0d-8, SMAG_UPPER_LIM=100 /&amp;lt;/code&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
When this is done, the value of &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; is taken as the coefficient.  This also allows the user to optionally specify lower and upper bounds on the actual eddy viscosity determined via the Smagorinsky formulation.  The values given in the above example of 1E-8 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s and 100 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s are the default values.  There is no way to supply upper and lower bounds with the other method.  &lt;br /&gt;
&lt;br /&gt;
Usage Notes&lt;br /&gt;
The two methods currently result in different flags being set in the code, which have inconsistent behavior.  Most notably, the &amp;quot;negative &amp;lt;code&amp;gt;ESLM&amp;lt;/code&amp;gt; method&amp;quot; results in a check being run at model initialization to verify that the Kolar-Gray formulation of the lateral stresses in the GWCE is not in use, and the code errors out if it is.  This choice is specified by the first digit in a six-digit IM code being set to 1.  &lt;br /&gt;
&lt;br /&gt;
digit 1 of IM==1 isn't allowed&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Taylorgasher</name></author>
	</entry>
</feed>