30 deg irregular waves and an obstacle¶
Continue to build on Irregular waves with 30 deg oblique incidence by adding an obstacle file to the simulation. Refer to Basics for model setup for domain setup.
Set descriptive title for your simulation:
!-----TITLE----- TITLE = inlet_irr_30deg_obsAdd an obstacle representative of a breakwater to the
DEPTH
section of “input.txt”:!-----DEPTH----- DEPTH_TYPE = DATA DEPTH_FILE = ../bathy/dep_shoal_inlet.txt OBSTACLE_FILE = ../bathy/obs_shoal_inlet.txt“obs_shoal_inlet.txt” has the same format as the depth file, with 1 for water and 0 for obstacle points.
Refer to Example: add obstacle for more information.