Personal tools

Difference between revisions of "ImposedSolution"

From MohidWiki

Jump to: navigation, search
(Sample configuration)
(Sample configuration)
Line 48: Line 48:
 
  NAME                          : ...        (Water property name)
 
  NAME                          : ...        (Water property name)
 
  UNITS                          : ...        (Water property units)
 
  UNITS                          : ...        (Water property units)
  DEFAULTVALUE                  : ...        (Water property Default Value mandatory)
+
  DEFAULTVALUE                  : ...        (Water property default value. Mandatory thought not used)
 
  ADVECTION_DIFFUSION            : 0
 
  ADVECTION_DIFFUSION            : 0
 
  DIMENSION                      : 2D/3D      (Dimension of the property)
 
  DIMENSION                      : 2D/3D      (Dimension of the property)

Revision as of 11:43, 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. Mandatory thought not used)
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