Could anybody tell me how can I divide the 2D vertical mesh into layers and assign parameters  at each layer

Thanks in advance