Personal tools

Difference between revisions of "ImposedSolution"

From MohidWiki

Jump to: navigation, search
(Sample configuration)
(Sample configuration)
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
==Sample configuration==
 
==Sample configuration==
  
A typical file for the hydrodyamic_x.dat would be similar to:
+
The geometry_X.dat should correspond to the one found in the HDF5 file, and in case that the window file does not include a bottom layer then a keyword should be included in the file indicating that is a window file
 +
 
 +
WINDOW                    : 0/1  (Default 0, if 1 does not check the consistency of the bottom layer)
 +
 
 +
In addition, the hydrodynamic, interface sediment water and water properties data file should be configured following the inditacions below. A typical file for the hydrodyamic_x.dat would be similar to:
  
 
  EVOLUTION                : Imposed Solution
 
  EVOLUTION                : Imposed Solution
Line 14: Line 18:
 
  INITIALIZATION_METHOD    : hdf
 
  INITIALIZATION_METHOD    : hdf
 
  FILE_IN_TIME              : hdf
 
  FILE_IN_TIME              : hdf
  FILENAME                  : ... (location of the hdf5 file to be imposed)
+
  FILENAME                  : ...       (location of the hdf5 file to be imposed)
 
  <end_waterlevel>
 
  <end_waterlevel>
 
   
 
   
Line 24: Line 28:
 
  INITIALIZATION_METHOD    : hdf
 
  INITIALIZATION_METHOD    : hdf
 
  FILE_IN_TIME              : hdf
 
  FILE_IN_TIME              : hdf
  FILENAME                  : ... (location of the hdf5 file to be imposed)
+
  FILENAME                  : ...       (location of the hdf5 file to be imposed)
 
  <end_velocity_u>
 
  <end_velocity_u>
 
   
 
   
Line 34: Line 38:
 
  INITIALIZATION_METHOD    : hdf
 
  INITIALIZATION_METHOD    : hdf
 
  FILE_IN_TIME              : hdf
 
  FILE_IN_TIME              : hdf
  FILENAME                  : ... (location of the hdf5 file to be imposed)
+
  FILENAME                  : ...       (location of the hdf5 file to be imposed)
 
  <end_velocity_v>
 
  <end_velocity_v>
 +
 +
The InterfaceSedimentWater_X.dat should be configured as:
 +
 +
<begin_rugosity>
 +
DEFAULTVALUE              : 0.0
 +
<end_rugosity>
 +
 +
The Waterproperties_X.dat file has to be configured using the following indications for each property:
 +
 +
<beginproperty>
 +
NAME                          : ...        (Water property name)
 +
UNITS                          : ...        (Water property units)
 +
DEFAULTVALUE                  : ...        (Water property default value. Not used but mandatory)
 +
ADVECTION_DIFFUSION            : 0
 +
DIMENSION                      : 2D/3D      (Dimension of the property)
 +
INITIALIZATION_METHOD          : hdf
 +
FILE_IN_TIME                  : hdf
 +
FILENAME                      : ...        (location of the hdf5 file to be imposed)
 +
<endproperty>
 +
 +
<beginproperty>
 +
...
 +
...
 +
<endproperty>
  
 
==See also==
 
==See also==

Latest revision as of 16:50, 8 May 2012

The idea behind the imposed solution, is the ability to load pre-calculated hydrodynamic and waterproperties values from hdf5 files. Typically is used to run lagrangian tracers in off-line mode, to run submodels from hydrodynamic and waterproperties hdf5 output windows, to calculate residual fields of velocity and water level, as well as the energy timeserie.

Sample configuration

The geometry_X.dat should correspond to the one found in the HDF5 file, and in case that the window file does not include a bottom layer then a keyword should be included in the file indicating that is a window file

WINDOW                    : 0/1   (Default 0, if 1 does not check the consistency of the bottom layer)

In addition, the hydrodynamic, interface sediment water and water properties data file should be configured following the inditacions below. A typical file for the hydrodyamic_x.dat would be similar to:

EVOLUTION                 : Imposed Solution

<begin_waterlevel>
NAME                      : water level
UNITS                     : m
DIMENSION                 : 2D
DEFAULTVALUE              : 0
INITIALIZATION_METHOD     : hdf
FILE_IN_TIME              : hdf
FILENAME                  : ...        (location of the hdf5 file to be imposed)
<end_waterlevel>

<begin_velocity_u>
NAME                      : velocity U
UNITS                     : m/s
DIMENSION                 : 3D
DEFAULTVALUE              : 0
INITIALIZATION_METHOD     : hdf
FILE_IN_TIME              : hdf
FILENAME                  : ...        (location of the hdf5 file to be imposed)
<end_velocity_u>

<begin_velocity_v>
NAME                      : velocity V
UNITS                     : m/s
DIMENSION                 : 3D
DEFAULTVALUE              : 0
INITIALIZATION_METHOD     : hdf
FILE_IN_TIME              : hdf
FILENAME                  : ...        (location of the hdf5 file to be imposed)
<end_velocity_v>

The InterfaceSedimentWater_X.dat should be configured as:

<begin_rugosity>
DEFAULTVALUE              : 0.0
<end_rugosity>

The Waterproperties_X.dat file has to be configured using the following indications for each property:

<beginproperty>
NAME                           : ...        (Water property name)
UNITS                          : ...        (Water property units)
DEFAULTVALUE                   : ...        (Water property default value. Not used but mandatory)
ADVECTION_DIFFUSION            : 0
DIMENSION                      : 2D/3D      (Dimension of the property)
INITIALIZATION_METHOD          : hdf
FILE_IN_TIME                   : hdf
FILENAME                       : ...        (location of the hdf5 file to be imposed)
<endproperty>

<beginproperty>
...
...
<endproperty>

See also