Modeling mixing in two-dimensional turbulence and stratified fluids