Discrete element method models of elastic and elastoplastic fiber assemblies