Boundary Types (bctides.in)
bctides.in tells SCHISM, for each open boundary, which variables are forced
and where each forcing comes from. The data themselves live elsewhere
(flux.th, elev2D.th.nc and so on); bctides.in only selects the type.
In the Bay-Delta workflow the file is generated from YAML by the schimpy
bctide tool (or by the preprocessor), not edited by hand.
The full keyword reference, including every SCHISM type code and the checks the tool performs, is in the schimpy chapter Boundary conditions (bctides).
Bay-Delta templates
The templates/bay_delta folder holds the YAML for the standard runs:
bctides.in.2d.yaml: barotropic run (see Ocean Boundary Stabilization: Barotropic Warmup (uv3D.th.nc)).bctides.in.3d.yaml: baroclinic run.bctides.in.sed.3d.yaml: baroclinic run with three sediment classes.
The examples/bctides
folder holds the same files plus bctides.in.3d.tide.yaml, a synthetic
example that exercises tidal, constant, Flather and tracer options, and
main_bctides.yaml, which shows how the files are combined.
The standard baroclinic assignment is:
Boundary |
flow_direction |
elevation |
velocity |
temperature / salinity |
|---|---|---|---|---|
|
bidirection |
|
|
|
|
inflow / bidirection |
|
|
|
other tributaries ( |
inflow |
|
|
|
exports and diversions ( |
outflow |
|
th_text selects the ASCII time history (flux.th, TEM_1.th,
SAL_1.th) and th_nc the netCDF one (elev2D.th.nc, uv3D.th.nc).
In the barotropic run the ocean keeps th_nc for elevation only, and the
other boundaries specify velocity only. uv3D.th.nc for the baroclinic
ocean boundary comes from the barotropic run (see Generate uv3D.th.nc).
Outflow boundaries may not carry temperature, salinity or tracers, so the sediment template assigns sediment only on inflow and bidirectional boundaries.
Generating the files
bctide main_bctides.yaml --logdir logs
The assignment chosen for every boundary is logged, which is a convenient check that the template matches the intended run.