pycatenary.catenary module¶
-
pycatenary.catenary.get_array(x)¶
-
class
pycatenary.catenary.CatenaryBase(line)¶ Bases:
objectBase class for catenaries
- Parameters
line (pycatenary.cable.MooringLine) – line holding properties necessary for calculation of catenary
-
getTension(s)¶
-
s2xy(s)¶
-
ds2xy(s)¶
-
plot(npoints=100)¶ Plots catenary in 2D from (0, 0) to (d, h)
-
class
pycatenary.catenary.CatenaryRigid(line)¶ Bases:
pycatenary.catenary.CatenaryBaseA class for rigid catenary
- Parameters
line (pycatenary.cable.MooringLine) – line holding properties necessary for calculation of catenary
-
getState(d, h, floor=True)¶ Calculates the solution for rigid catenary
- Parameters
d (double) – horizontal distance between anchor and fairlead
h (double) – vertical distance between anchor and fairlead
floor (bool) – if True, the floor is assumed to be at the anchor level
-
class
pycatenary.catenary.CatenaryElastic(line)¶ Bases:
pycatenary.catenary.CatenaryBaseA class for elastic catenary
- Parameters
line (pycatenary.cable.MooringLine) – line holding properties necessary for calculation of catenary
-
getState(d, h, floor=True)¶ Calculates the solution for elastic catenary
- Parameters
d (double) – horizontal distance between anchor and fairlead
h (double) – vertical distance between anchor and fairlead
floor (bool) – if True, the floor is assumed to be at the anchor level