Java classes for modeling flow profiles in open channel systems