Create detachment_model.f