Personal tools

Difference between revisions of "ImposedSolution"

From MohidWiki

Jump to: navigation, search
(Sample configuration)
(Sample configuration)
Line 14: Line 14:
 
  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 24:
 
  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 34:
 
  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>
  
Line 46: Line 46:
  
 
  <beginproperty>
 
  <beginproperty>
  NAME                          : ...         (Water property name)
+
  NAME                          : ...       (Water property name)
  UNITS                          : ...         (Water property units)
+
  UNITS                          : ...       (Water property units)
  DEFAULTVALUE                  : ...         (Water property default value. Mandatory thought not used)
+
  DEFAULTVALUE                  : ...       (Water property default value. Not used but mandatory)
 
  ADVECTION_DIFFUSION            : 0
 
  ADVECTION_DIFFUSION            : 0
  DIMENSION                      : 2D/3D       (Dimension of the property)
+
  DIMENSION                      : 2D/3D     (Dimension of the property)
 
  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)
 
  <endproperty>
 
  <endproperty>
 
   
 
   

Revision as of 12:45, 1 March 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. 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