Versions Compared

Key

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

...

The following constants are calculated (in the order they appear). 

...

Border

For each boundary location, the fine grid cell containing this boundary location is found. This cell should be on the boundary border of the fine grid. FEWS then checks whether an upper, lower, left and/or right cell are present, to determine the sign to the border the cell is on, which will be used in the Riemann boundary transformation. The outputted value will be 1 for the left and lower grid border, or -1 for the right and upper grid borderUP, DOWN, LEFT or RIGHT. Note that the orientation of the grid is interpreted as depicted in the image above, i.e., the cell at row 0 and column 0 is viewed as the bottom left corner of the grid. 

Note that for this the remaining calculation to be successful, each fine grid cell found should always have either an upper or a lower neighboring cell, and either a left or a right neighboring cell. If this is not the case, a warning is logged and the remaining calculation for the boundary location will be skipped.  

...

Code Block
titleConfiguration of Riemann Boundary Transformation LocationSets
	<locationSet id="coarse_grid_locations">
		<description>Locations in the coarse grid needed for the Riemann boundary transformation</description>
		<csvFile>
			<file>coarse_grid_id_LocationSet.csv</file>
			<id>%COARSE_GRID_LOCATION_ID%</id>
			<x>%CELL_CENTER_X%</x>
			<y>%CELL_CENTER_Y%</y>
		</csvFile>
	</locationSet>
	<locationSet id="boundary_locations">
		<description>Boundary locations for the Riemann boundary transformation</description>
		<csvFile>
			<file>locset_id_LocationSet.csv</file>
			<id>%BOUNDARY_LOCATION_ID%</id>
			<x>%CELL_CENTER_X%</x>
			<y>%CELL_CENTER_Y%</y>
			<attribute id="angle">
				<number>%ANGLE%</number>
			</attribute>
			<attribute id="signborder">
				<number>%SIGN%<<text>%BORDER%</number>text>
			</attribute>
			<attributeFile>
				<csvFile>locset_id_AttributeFile_Center.csv</csvFile>
				<id>%BOUNDARY_LOCATION_ID%</id>
				<attribute id="center_coarse_grid_id">
					<text>%COARSE_GRID_LOCATION_ID%</text>
				</attribute>
				<attribute id="center_weight">
					<text>%WEIGHT%</text>
				</attribute>
			</attributeFile>
			<attributeFile>
				<csvFile>locset_id_AttributeFile_U.csv</csvFile>
				<id>%BOUNDARY_LOCATION_ID%</id>
				<attribute id="u_coarse_grid_id">
					<text>%COARSE_GRID_LOCATION_ID%</text>
				</attribute>
				<attribute id="u_weight">
					<text>%WEIGHT%</text>
				</attribute>
			</attributeFile>
			<attributeFile>
				<csvFile>locset_id_AttributeFile_V.csv</csvFile>
				<id>%BOUNDARY_LOCATION_ID%</id>
				<attribute id="v_coarse_grid_id">
					<text>%COARSE_GRID_LOCATION_ID%</text>
				</attribute>
				<attribute id="v_weight">
					<text>%WEIGHT%</text>
				</attribute>
			</attributeFile>
		</csvFile>
	</locationSet>