Modeling rock joint behavior using a rough-joint model