Lateral Boundary Conditions

From WikiROMS
Revision as of 18:48, 8 September 2011 by Robertson (talk | contribs) (Created page with '<div class="title">Lateral Boundary Conditions</div> The lateral boundary conditions are now specified with logical switches instead of CPP flags to allow nested grid configurat…')
(change visibility) (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Lateral Boundary Conditions

The lateral boundary conditions are now specified with logical switches instead of CPP flags to allow nested grid configurations. Their values are loaded into the structured array:

where 1:4 are the numbered boundary edges, nLBCvar are the number LBC state variables, and Ngrids is the number of nested grids.



Changes

CPP Logical Switch
WEST_FSRADIATION LBC(iwest,  isFsur, ng) % radiation
EAST_FSRADIATION LBC(ieast,  isFsur, ng) % radiation
SOUTH_FSRADIATION LBC(isouth, isFsur, ng) % radiation
NORTH_FSRADIATION LBC(inorth, isFsur, ng) % radiation
WEST_TRADIATION LBC(iwest,  isTvar(:), ng) % radiation
EAST_TRADIATION LBC(ieast,  isTvar(:), ng) % radiation
SOUTH_TRADIATION LBC(isouth, isTvar(:), ng) % radiation
NORTH_TRADIATION LBC(inorth, isTvar(:), ng) % radiation