Personal tools

ImposedSolution

From MohidWiki

Revision as of 12:41, 1 March 2012 by Francisco (talk | contribs) (Sample configuration)
Jump to: navigation, search

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

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)
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