Are you using workbench Mechanical or APDL GUI?
Use SpaceClaim or DesignModeler to define a beam with cross section. You may need to share topology on line and arc segments.
In Mechanical, in the Details of the beam under Geometry, set the "Model Type" to either "Link/Truss" or "Cable."
The Link/truss will make link180, which is a linear element (2 end nodes). The cable will make cable280, which is the quadratic version of the element (2 endnodes, and a mid node), if the Mesh setting is not set to linear.
1. Command object is necessary (inistate) in the environment setup (Static Structural) to put some initial stress (tension) on the link180 or cable280. This is necessary in static simulations since the cable is just a bunch of pinned link elements now. Imagine holding up a chain in space (no gravity) the links have no lateral stiffness w/o tension.
cmsel,s,cable ! place the geometry edges in a named selection first, name "cable" in this case
esel,r,enam,,180 ! Or use 280. may be necessary if there are contacts scoped to the line bodies, since overlain contact elements are created on the line bodies
inistate,define,,,,,100 ! to define an initial stress
!inistate,set,dtyp,epel ! or set an initial strain
2. Large deflections must be on
3. At least 2 load steps. In first load step, a constraint mush keep the cable from contracting due to inital stress (inistate). Deactivate this constraint in the second load step and apply other loads in second load step.
4. link180 has to be meshed very fine to prevent a faceting behavior as it still is just a bunch of links. Cable280 can use less elements.
5. Substep size should be limited to be small enough so that the contact between the link180/cable280 and the surface does not change status too quickly, otherwise you may see the cable penetrate the solid if displacements change too quickly, pinball (next bullet point) should be set sufficiently large to help prevent this as well.
6. Pinball region on contact should be made bigger than default. Make sure it is larger than the gap between the cable center represented by the beam and the 3D body faces. Specify the "Offset" for the "Interface treatment" or "Adjust to touch." If this is hard to converge and the cable is small diameter you can model the center of the cable (beam representation) to lay the 3D bodies in the CAD modeler, which will be easier to converge.