Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This transformation takes four different input variables to produce a single output variable. The input variables are:

  1. waterHeight: scalar timeseries on the locationSet containing the needed coarse grid locations.
  2. uSpeed: scalar timeseries on the locationSet containing the needed coarse grid locations
  3. vSpeed: scalar timeseries on the locationSet containing the needed coarse grid locations
  4. bathymetry: scalar timeseries on the locationSet containing the boundary locations

...

The different components in this formula are calculated as follows:

  • speedComponent: a weighted average is used to obtain the u and v component of the speed vector. To obtain the weights used in these weighted average calculations, the transformation either uses the uWeightAttribute and vWeightAttribute of the output location (in the case of a staggered coarse grid), or simply uses the weighAttribute for both averages (in the case of a non-staggered coarse grid). Then, the transformation uses the angle and border attribute to determine the component of this speedvector perpendicular to the boundary of the fine grid.
  • sign: -1 if the border attribute is UP or RIGHT, 1 otherwise.
  • zeta: a weighted average of the waterheights on the surrounding coarse grid locations. Calculated using the weightAttribute.
  • g: the physical gravitational constant
  • depth: the water depth on the output location for this time step.

...