<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.wiki.mohid.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sobrinho</id>
		<title>MohidWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://www.wiki.mohid.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sobrinho"/>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Special:Contributions/Sobrinho"/>
		<updated>2026-04-04T19:57:38Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Nesting_models&amp;diff=7803</id>
		<title>Nesting models</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Nesting_models&amp;diff=7803"/>
				<updated>2017-10-23T11:44:47Z</updated>
		
		<summary type="html">&lt;p&gt;Sobrinho: /* Keywords in Assimilation.dat */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here is a guide on configuring [[MOHID Water]] with nested models.&lt;br /&gt;
&lt;br /&gt;
==In MOHID GUI==&lt;br /&gt;
*Create a new project in [[MOHID GUI]],&lt;br /&gt;
*Create a Model by inserting a new Simulation,&lt;br /&gt;
**Setup your model&lt;br /&gt;
*Create a Submodel by inserting a new Simulation from the current Simulation. The new simulation should fold into the previous one.&lt;br /&gt;
**Setup the model&lt;br /&gt;
&lt;br /&gt;
==Setting up the files==&lt;br /&gt;
The whole issue is how to define the open-boundary conditions for the submodel and the relaxation condition.&lt;br /&gt;
Basically we suggest to use a [[Flather radiation condition]] at the open boundaries that will radiate the water level and the barotropic flux in conjunction with a flow relaxation scheme spanning a few cells from the open-boundaries to the interior for the velocities (''u'' and ''v'').&lt;br /&gt;
&lt;br /&gt;
===Keywords in Hydrodynamic.dat===&lt;br /&gt;
In the submodel hydrodynamic file&lt;br /&gt;
&lt;br /&gt;
 SUBMODEL          : 1&lt;br /&gt;
 &lt;br /&gt;
 !Flather radiation scheme using the father model as a reference solution.&lt;br /&gt;
 RADIATION         : 2&lt;br /&gt;
 LOCAL_SOLUTION    : 5 ! Submodel + assimilation(relaxes the solution to the father(courser grid) domain&lt;br /&gt;
 Other options for LOCAL_SOLUTION include:&lt;br /&gt;
 1 - NoLocalSolution_,      2 - Submodel_, 3 - AssimilationField_, 4 - Gauge_, &lt;br /&gt;
 5 - AssimilaPlusSubModel_, 6 - GaugePlusSubModel_, 7 -AssimilaGaugeSubModel_&lt;br /&gt;
 &lt;br /&gt;
 !Activate the Flow relaxation scheme:&lt;br /&gt;
 DATA_ASSIMILATION : 1&lt;br /&gt;
 BRFORCE           : 1 ! relaxation of the baroclinic force&lt;br /&gt;
 Only if these keywords are activated will the assimilation be read!.&lt;br /&gt;
&lt;br /&gt;
===Keywords in Assimilation.dat===&lt;br /&gt;
In the submodel assimilation file (assimilation.dat):&lt;br /&gt;
&lt;br /&gt;
If the Keywords SUBMODEL, BRFORCE and DATA_ASSIMILATION are active and LOCAL_SOLUTION is 2 then the block &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt; will not be read because the assimilation will be done using the father model results.&lt;br /&gt;
&lt;br /&gt;
Example with LOCAL_SOLUTION = 5&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : velocity U&lt;br /&gt;
 UNITS                   : m/s&lt;br /&gt;
 DIMENSION               : 3D&lt;br /&gt;
 OUTPUT_HDF              : 1&lt;br /&gt;
 &lt;br /&gt;
 COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
 COLD_ORDER              : 5&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 0&lt;br /&gt;
 INITIALIZATION_METHOD   : HDF&lt;br /&gt;
 FILE_IN_TIME            : HDF&lt;br /&gt;
 FILENAME                : ../../GeneralData/Reference_vel_U.hdf5&lt;br /&gt;
 TYPE_ZUV                : z&lt;br /&gt;
 &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 1e9&lt;br /&gt;
 TYPE_ZUV                : u&lt;br /&gt;
 FILE_IN_TIME            : NONE&lt;br /&gt;
 REMAIN_CONSTANT         : 1&lt;br /&gt;
 INITIALIZATION_METHOD   : ASCII_FILE&lt;br /&gt;
 FILENAME                : ../../GeneralData/RelaxationCoefs_U.dat&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : velocity V&lt;br /&gt;
 UNITS                   : m/s&lt;br /&gt;
 DIMENSION               : 3D&lt;br /&gt;
 OUTPUT_HDF              : 1&lt;br /&gt;
 &lt;br /&gt;
 COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
 COLD_ORDER              : 5&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 0&lt;br /&gt;
 INITIALIZATION_METHOD   : HDF&lt;br /&gt;
 FILE_IN_TIME            : HDF&lt;br /&gt;
 FILENAME                : ../../GeneralData/Reference_vel_V.hdf5&lt;br /&gt;
 TYPE_ZUV                : z&lt;br /&gt;
 &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 1e9&lt;br /&gt;
 TYPE_ZUV                : v&lt;br /&gt;
 FILE_IN_TIME            : NONE&lt;br /&gt;
 REMAIN_CONSTANT         : 1&lt;br /&gt;
 INITIALIZATION_METHOD   : ASCII_FILE&lt;br /&gt;
 FILENAME                : ../../GeneralData/RelaxationCoefs_V.dat&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Example 2: LOCAL_SOLUTION = 2 (only relaxes to father domain)&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : barotropic velocity U&lt;br /&gt;
 UNITS                   : m/s&lt;br /&gt;
 DIMENSION               : 2D&lt;br /&gt;
&lt;br /&gt;
 OUTPUT_HDF              : 1&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 0  ! will not be read!&lt;br /&gt;
 TYPE_ZUV                : z&lt;br /&gt;
 &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 1e9&lt;br /&gt;
 TYPE_ZUV                : u&lt;br /&gt;
 FILE_IN_TIME            : NONE&lt;br /&gt;
 REMAIN_CONSTANT         : 1&lt;br /&gt;
 INITIALIZATION_METHOD   : SPONGE&lt;br /&gt;
 &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : barotropic velocity V&lt;br /&gt;
 UNITS                   : m/s&lt;br /&gt;
 DIMENSION               : 2D&lt;br /&gt;
 &lt;br /&gt;
 OUTPUT_HDF              : 1&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 0! will not be read!&lt;br /&gt;
 TYPE_ZUV                : z&lt;br /&gt;
 &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 1e9&lt;br /&gt;
 TYPE_ZUV                : u&lt;br /&gt;
 FILE_IN_TIME            : NONE&lt;br /&gt;
 REMAIN_CONSTANT         : 1&lt;br /&gt;
 INITIALIZATION_METHOD   : SPONGE&lt;br /&gt;
 &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : water level&lt;br /&gt;
 UNITS                   : m&lt;br /&gt;
 DIMENSION               : 2D&lt;br /&gt;
 OUTPUT_HDF              : 1&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 0! will not be read!&lt;br /&gt;
 TYPE_ZUV                : z&lt;br /&gt;
 &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 1e9&lt;br /&gt;
 TYPE_ZUV                : u&lt;br /&gt;
 FILE_IN_TIME            : NONE&lt;br /&gt;
 REMAIN_CONSTANT         : 1&lt;br /&gt;
 INITIALIZATION_METHOD   : SPONGE&lt;br /&gt;
 &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : velocity U&lt;br /&gt;
 UNITS                   : m/s&lt;br /&gt;
 DIMENSION               : 3D&lt;br /&gt;
 OUTPUT_HDF              : 1&lt;br /&gt;
&lt;br /&gt;
 !COLD_RELAX_PERIOD       : 43200.&lt;br /&gt;
 !COLD_ORDER              : 5&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 0! will not be read!&lt;br /&gt;
 TYPE_ZUV                : z&lt;br /&gt;
 &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 1e9&lt;br /&gt;
 TYPE_ZUV                : u&lt;br /&gt;
 FILE_IN_TIME            : NONE&lt;br /&gt;
 REMAIN_CONSTANT         : 1&lt;br /&gt;
 INITIALIZATION_METHOD   : SPONGE&lt;br /&gt;
 &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : velocity V&lt;br /&gt;
 UNITS                   : m/s&lt;br /&gt;
 DIMENSION               : 3D&lt;br /&gt;
 OUTPUT_HDF              : 1&lt;br /&gt;
&lt;br /&gt;
 !COLD_RELAX_PERIOD       : 43200.&lt;br /&gt;
 !COLD_ORDER              : 5&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 0! will not be read!&lt;br /&gt;
 TYPE_ZUV                : z&lt;br /&gt;
 &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 1e9&lt;br /&gt;
 TYPE_ZUV                : v&lt;br /&gt;
 FILE_IN_TIME            : NONE&lt;br /&gt;
 REMAIN_CONSTANT         : 1&lt;br /&gt;
 INITIALIZATION_METHOD   : SPONGE&lt;br /&gt;
 &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : vertical z&lt;br /&gt;
 UNITS                   : m&lt;br /&gt;
 DIMENSION               : 3D&lt;br /&gt;
 OUTPUT_HDF              : 1&lt;br /&gt;
&lt;br /&gt;
 !COLD_RELAX_PERIOD       : 43200.&lt;br /&gt;
 !COLD_ORDER              : 5&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 0! will not be read!&lt;br /&gt;
 TYPE_ZUV                : z&lt;br /&gt;
 &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 1e9&lt;br /&gt;
 TYPE_ZUV                : z&lt;br /&gt;
 FILE_IN_TIME            : NONE&lt;br /&gt;
 REMAIN_CONSTANT         : 1&lt;br /&gt;
 INITIALIZATION_METHOD   : SPONGE&lt;br /&gt;
 &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sobrinho</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Nesting_models&amp;diff=7802</id>
		<title>Nesting models</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Nesting_models&amp;diff=7802"/>
				<updated>2017-10-23T11:42:53Z</updated>
		
		<summary type="html">&lt;p&gt;Sobrinho: /* Setting up the files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here is a guide on configuring [[MOHID Water]] with nested models.&lt;br /&gt;
&lt;br /&gt;
==In MOHID GUI==&lt;br /&gt;
*Create a new project in [[MOHID GUI]],&lt;br /&gt;
*Create a Model by inserting a new Simulation,&lt;br /&gt;
**Setup your model&lt;br /&gt;
*Create a Submodel by inserting a new Simulation from the current Simulation. The new simulation should fold into the previous one.&lt;br /&gt;
**Setup the model&lt;br /&gt;
&lt;br /&gt;
==Setting up the files==&lt;br /&gt;
The whole issue is how to define the open-boundary conditions for the submodel and the relaxation condition.&lt;br /&gt;
Basically we suggest to use a [[Flather radiation condition]] at the open boundaries that will radiate the water level and the barotropic flux in conjunction with a flow relaxation scheme spanning a few cells from the open-boundaries to the interior for the velocities (''u'' and ''v'').&lt;br /&gt;
&lt;br /&gt;
===Keywords in Hydrodynamic.dat===&lt;br /&gt;
In the submodel hydrodynamic file&lt;br /&gt;
&lt;br /&gt;
 SUBMODEL          : 1&lt;br /&gt;
 &lt;br /&gt;
 !Flather radiation scheme using the father model as a reference solution.&lt;br /&gt;
 RADIATION         : 2&lt;br /&gt;
 LOCAL_SOLUTION    : 5 ! Submodel + assimilation(relaxes the solution to the father(courser grid) domain&lt;br /&gt;
 Other options for LOCAL_SOLUTION include:&lt;br /&gt;
 1 - NoLocalSolution_,      2 - Submodel_, 3 - AssimilationField_, 4 - Gauge_, &lt;br /&gt;
 5 - AssimilaPlusSubModel_, 6 - GaugePlusSubModel_, 7 -AssimilaGaugeSubModel_&lt;br /&gt;
 &lt;br /&gt;
 !Activate the Flow relaxation scheme:&lt;br /&gt;
 DATA_ASSIMILATION : 1&lt;br /&gt;
 BRFORCE           : 1 ! relaxation of the baroclinic force&lt;br /&gt;
 Only if these keywords are activated will the assimilation be read!.&lt;br /&gt;
&lt;br /&gt;
===Keywords in Assimilation.dat===&lt;br /&gt;
In the submodel assimilation file (assimilation.dat):&lt;br /&gt;
&lt;br /&gt;
If the Keywords SUBMODEL, BRFORCE and DATA_ASSIMILATION are active and LOCAL_SOLUTION is 2 then the block &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt; will not be read because the assimilation will be done using the father model results.&lt;br /&gt;
&lt;br /&gt;
Example with LOCAL_SOLUTION = 5&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : velocity U&lt;br /&gt;
 UNITS                   : m/s&lt;br /&gt;
 DIMENSION               : 3D&lt;br /&gt;
 OUTPUT_HDF              : 1&lt;br /&gt;
 &lt;br /&gt;
 COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
 COLD_ORDER              : 5&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 0&lt;br /&gt;
 INITIALIZATION_METHOD   : HDF&lt;br /&gt;
 FILE_IN_TIME            : HDF&lt;br /&gt;
 FILENAME                : ../../GeneralData/Reference_vel_U.hdf5&lt;br /&gt;
 TYPE_ZUV                : z&lt;br /&gt;
 &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 1e9&lt;br /&gt;
 TYPE_ZUV                : u&lt;br /&gt;
 FILE_IN_TIME            : NONE&lt;br /&gt;
 REMAIN_CONSTANT         : 1&lt;br /&gt;
 INITIALIZATION_METHOD   : ASCII_FILE&lt;br /&gt;
 FILENAME                : ../../GeneralData/RelaxationCoefs_U.dat&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : velocity V&lt;br /&gt;
 UNITS                   : m/s&lt;br /&gt;
 DIMENSION               : 3D&lt;br /&gt;
 OUTPUT_HDF              : 1&lt;br /&gt;
 &lt;br /&gt;
 COLD_RELAX_PERIOD       : 432000&lt;br /&gt;
 COLD_ORDER              : 5&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 0&lt;br /&gt;
 INITIALIZATION_METHOD   : HDF&lt;br /&gt;
 FILE_IN_TIME            : HDF&lt;br /&gt;
 FILENAME                : ../../GeneralData/Reference_vel_V.hdf5&lt;br /&gt;
 TYPE_ZUV                : z&lt;br /&gt;
 &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 1e9&lt;br /&gt;
 TYPE_ZUV                : v&lt;br /&gt;
 FILE_IN_TIME            : NONE&lt;br /&gt;
 REMAIN_CONSTANT         : 1&lt;br /&gt;
 INITIALIZATION_METHOD   : ASCII_FILE&lt;br /&gt;
 FILENAME                : ../../GeneralData/RelaxationCoefs_V.dat&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Example 2: LOCAL_SOLUTION = 2 (only relaxes to father domain)&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : barotropic velocity U&lt;br /&gt;
 UNITS                   : m/s&lt;br /&gt;
 DIMENSION               : 2D&lt;br /&gt;
 &lt;br /&gt;
 OUTPUT_HDF              : 1&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 0  ! will not be read!&lt;br /&gt;
 TYPE_ZUV                : z&lt;br /&gt;
 &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 1e9&lt;br /&gt;
 TYPE_ZUV                : u&lt;br /&gt;
 FILE_IN_TIME            : NONE&lt;br /&gt;
 REMAIN_CONSTANT         : 1&lt;br /&gt;
 INITIALIZATION_METHOD   : SPONGE&lt;br /&gt;
 &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : barotropic velocity V&lt;br /&gt;
 UNITS                   : m/s&lt;br /&gt;
 DIMENSION               : 2D&lt;br /&gt;
 &lt;br /&gt;
 OUTPUT_HDF              : 1&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 0! will not be read!&lt;br /&gt;
 TYPE_ZUV                : z&lt;br /&gt;
 &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 1e9&lt;br /&gt;
 TYPE_ZUV                : u&lt;br /&gt;
 FILE_IN_TIME            : NONE&lt;br /&gt;
 REMAIN_CONSTANT         : 1&lt;br /&gt;
 INITIALIZATION_METHOD   : SPONGE&lt;br /&gt;
 &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : water level&lt;br /&gt;
 UNITS                   : m&lt;br /&gt;
 DIMENSION               : 2D&lt;br /&gt;
 OUTPUT_HDF              : 1&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 0! will not be read!&lt;br /&gt;
 TYPE_ZUV                : z&lt;br /&gt;
 &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 1e9&lt;br /&gt;
 TYPE_ZUV                : u&lt;br /&gt;
 FILE_IN_TIME            : NONE&lt;br /&gt;
 REMAIN_CONSTANT         : 1&lt;br /&gt;
 INITIALIZATION_METHOD   : SPONGE&lt;br /&gt;
 &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : velocity U&lt;br /&gt;
 UNITS                   : m/s&lt;br /&gt;
 DIMENSION               : 3D&lt;br /&gt;
 OUTPUT_HDF              : 1&lt;br /&gt;
 &lt;br /&gt;
 !COLD_RELAX_PERIOD       : 43200.&lt;br /&gt;
 !COLD_ORDER              : 5&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 0! will not be read!&lt;br /&gt;
 TYPE_ZUV                : z&lt;br /&gt;
 &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 1e9&lt;br /&gt;
 TYPE_ZUV                : u&lt;br /&gt;
 FILE_IN_TIME            : NONE&lt;br /&gt;
 REMAIN_CONSTANT         : 1&lt;br /&gt;
 INITIALIZATION_METHOD   : SPONGE&lt;br /&gt;
 &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : velocity V&lt;br /&gt;
 UNITS                   : m/s&lt;br /&gt;
 DIMENSION               : 3D&lt;br /&gt;
 OUTPUT_HDF              : 1&lt;br /&gt;
&lt;br /&gt;
 !COLD_RELAX_PERIOD       : 43200.&lt;br /&gt;
 !COLD_ORDER              : 5&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 0! will not be read!&lt;br /&gt;
 TYPE_ZUV                : z&lt;br /&gt;
 &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 1e9&lt;br /&gt;
 TYPE_ZUV                : v&lt;br /&gt;
 FILE_IN_TIME            : NONE&lt;br /&gt;
 REMAIN_CONSTANT         : 1&lt;br /&gt;
 INITIALIZATION_METHOD   : SPONGE&lt;br /&gt;
 &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;beginproperty&amp;gt;&lt;br /&gt;
 NAME                    : vertical z&lt;br /&gt;
 UNITS                   : m&lt;br /&gt;
 DIMENSION               : 3D&lt;br /&gt;
 OUTPUT_HDF              : 1&lt;br /&gt;
&lt;br /&gt;
 !COLD_RELAX_PERIOD       : 43200.&lt;br /&gt;
 !COLD_ORDER              : 5&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;&amp;lt;begin_field&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 0! will not be read!&lt;br /&gt;
 TYPE_ZUV                : z&lt;br /&gt;
 &amp;lt;&amp;lt;end_field&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;&amp;lt;begin_coef&amp;gt;&amp;gt;&lt;br /&gt;
 DEFAULTVALUE            : 1e9&lt;br /&gt;
 TYPE_ZUV                : z&lt;br /&gt;
 FILE_IN_TIME            : NONE&lt;br /&gt;
 REMAIN_CONSTANT         : 1&lt;br /&gt;
 INITIALIZATION_METHOD   : SPONGE&lt;br /&gt;
 &amp;lt;&amp;lt;end_coef&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;endproperty&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sobrinho</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Boxes&amp;diff=5566</id>
		<title>Boxes</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Boxes&amp;diff=5566"/>
				<updated>2012-01-09T15:39:56Z</updated>
		
		<summary type="html">&lt;p&gt;Sobrinho: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
A box file is used to define an area, which can be 2D or 3D. These areas can be used to initialize properties fields or integrate values in time and space inside and between boxes, allowing computing global and zonal budgets for almost every modeled variables. [[Module BoxDif]] is the module responsible for handling and interpreting the boxes files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Boxes file ==&lt;br /&gt;
Boxes files can be automatically generated by [[Mohid_GIS#Create_Boxes|MOHID GIS]] based on a [[bathymetry]] file and on a [[polygon]] file. &lt;br /&gt;
&lt;br /&gt;
A box file requires the definition polygons. These polygons are defined by vertices indicated by the grid cell [i,j] indexes. Thus, a box file is always specific of a certain [[grid]] file. Please note that in [[polygon]] files, used in MOHID GIS, the polygon vertices are defined by real coordinates [x,y]. &lt;br /&gt;
&lt;br /&gt;
In a box file, several boxes can be defined. An ID number is given to each box, based on the order in which the box file is read. Box 1 is the first block in the file, Box 2 the second and so on. By default a Box 0 (zero) is always created, corresponding to the box containing all the grid points that were not included inside the boxes. This way if box integration is requested and no boxes are defined, the output will be the integration of the entire domain.&lt;br /&gt;
&lt;br /&gt;
When used to integrate values, the correspondent outputs are written in [[Time Series]] format. Thus, in the box file needs information on the time step to write results, which is given by keyword: &lt;br /&gt;
&lt;br /&gt;
 DT_OUTPUT_TIME                :  3600&lt;br /&gt;
&lt;br /&gt;
As a safety feature, a [[Grid Data]] file can be written in the beginning of a simulation, where in to each grid cell, the index of the corresponding box is written. This can be done by defining keyword: &lt;br /&gt;
&lt;br /&gt;
 WRITE_BOXES                   : 1&lt;br /&gt;
&lt;br /&gt;
and then the name of the output file to be written: &lt;br /&gt;
&lt;br /&gt;
 OUTPUT_FILE                   : ..\GeneralData\Boxes\BoxesFileInGridDataFormat.dat&lt;br /&gt;
&lt;br /&gt;
by default this file is written on the exe folder.&lt;br /&gt;
&lt;br /&gt;
This sets the time-step to compute only every 300 seconds (default is 300s).&lt;br /&gt;
 DT_BOXES                       : 300&lt;br /&gt;
&lt;br /&gt;
== Sample ==&lt;br /&gt;
This example shows the definition of a box with 4 vertices. By default [[Module BoxDif]] automatically introduces an extra vertice at the end of the list which is equal to the first vertex, thus insuring the polygon is closed. &lt;br /&gt;
&lt;br /&gt;
=== 2D box file ===&lt;br /&gt;
&lt;br /&gt;
 DT_OUTPUT_TIME                : 3600&lt;br /&gt;
 WRITE_BOXES                   : 0&lt;br /&gt;
 DT_BOXES                      : 300&lt;br /&gt;
 &lt;br /&gt;
 '''&amp;lt;beginpolygon&amp;gt;''' &lt;br /&gt;
  &amp;lt;&amp;lt;beginvertix&amp;gt;&amp;gt;&lt;br /&gt;
  44 39&lt;br /&gt;
  33 77&lt;br /&gt;
  71 88&lt;br /&gt;
  82 49&lt;br /&gt;
  &amp;lt;&amp;lt;endvertix&amp;gt;&amp;gt;&lt;br /&gt;
 '''&amp;lt;endpolygon&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3D box file ===&lt;br /&gt;
This example shows the definition of two boxes, defined by the same polygon, but which integrate in the vertical direction, from layer 1 to 5, and from layer 6 to 10.&lt;br /&gt;
&lt;br /&gt;
 DT_OUTPUT_TIME                : 3600&lt;br /&gt;
 WRITE_BOXES                   : 0&lt;br /&gt;
 DT_BOXES                      : 300&lt;br /&gt;
 &lt;br /&gt;
 '''&amp;lt;beginpolygon&amp;gt;'''&lt;br /&gt;
  &amp;lt;&amp;lt;beginvertix&amp;gt;&amp;gt;&lt;br /&gt;
   44 39&lt;br /&gt;
   33 77&lt;br /&gt;
   71 88&lt;br /&gt;
   82 49&lt;br /&gt;
  &amp;lt;&amp;lt;endvertix&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;&amp;lt;beginverticallayer&amp;gt;&amp;gt;&lt;br /&gt;
   1  5&lt;br /&gt;
   6  10&lt;br /&gt;
  &amp;lt;&amp;lt;endverticallayer&amp;gt;&amp;gt;&lt;br /&gt;
 '''&amp;lt;endpolygon&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Monotoring Boxes ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Regarding water quality parameters such as nutrients, there are 2 output files created by the model: a BXF and a BXM file.&lt;br /&gt;
The first shows the instantaneous fluxes between the existing boxes, and the second shows the instantaneous mass of the property simulated (ex:ammonia, nitrate, etc) in the entire box.&lt;br /&gt;
&lt;br /&gt;
The values for the instantaneous fluxes are g/s (for ammonia : gN/s) and for the instantaneous mass, in grams.&lt;br /&gt;
&lt;br /&gt;
As for water fluxes the units are, for the BXF file, in m3/s, and for the BXM file in m3.    &lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[DrawFluxesInHDF5]]&lt;br /&gt;
*[[Box2HDF5]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Input Data Formats]]&lt;/div&gt;</summary>
		<author><name>Sobrinho</name></author>	</entry>

	</feed>