求解悬链线方程的Python库

pycatenar的Python项目详细描述


悬链线

特点

这个python软件包求解静态平衡状态下的悬链线方程。在

  • 考虑弹性
  • 考虑与地面/海床的接触
  • 处理部分或完全提升的管线
  • 可采用多段电缆

安装

python setup.py install --user

入门

要创建电缆:

^{pr2}$

导缆器和锚具的位置可按以下方式更改:

# change fairlead positionl1.setFairleadCoords([5.4,0.,2.65])# recompute solutionl1.computeSolution()

存在其他功能:

# get tension along line (between 0. and total line length)s=5.T=l1.getTension(s)# get xyz coordinates along linexyz=l1.s2xyz(s)

有关其他功能,请参阅文档:https://tridelat.github.io/pycatenary

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java从Dropwizard中的Minio检索文件时,GET请求中的超时是如何处理的?   带Hibernate的java Jackson用于序列化以避免枚举   Raspberry Pi上的java Jave分段错误   java在屏幕旋转时不保存当前片段和数据   java War文件未在Heroku上正确部署   如何使用Java处理Selenium webdriver中的促销广告或cookie   java处理“用法:PApplet[options]<classname>[sketch args]”   java文本文件错误扫描程序   运行第一个JavaFX模块化程序时出现java异常   java将fileoutputstream转换为字符串   如何调试gstreamerjava?   java Spring RestTemplate ResponseBody类是什么样的   如何将JSON数组转换为Java列表。我在用斯文森   javascript在显示div按钮后进入新页面