Brownian dynamics simulation of soft matter with hydrodynamics: methods for constrained systems and shear processing of 2D materials