查看: 1769|回复: 3
收起左侧

[其他] GHS run file

[复制链接]
发表于 2013-9-3 11:28 | 显示全部楼层 |阅读模式 来自: 中国上海
谁有GHS的stab.run file 的模板,麻烦给个参考
回复

使用道具 举报

龙船学院
 楼主| 发表于 2013-9-3 11:33 | 显示全部楼层 来自: 中国上海
QQ:2494345183
回复 支持 反对

使用道具 举报

发表于 2013-9-4 10:41 | 显示全部楼层 来自: 中国广东中山
  1. `Demonstrates the STABILITY /GMT command.

  2. proj substab

  3. `Create a simple submarine model:
  4. enter pm
  5. create hull
  6. cyl(40) 0 0 20 200 0 20 40
  7. comp baltanks
  8. cyl(40) 40 20 20 160 20 20 30
  9. fit hull
  10. comp tower
  11. ends 90 120
  12. top 70
  13. bot 20
  14. out 10
  15. fit hull
  16. /
  17. macro bt
  18. create baltank%1.s
  19. cylinder %2 20 20 %3 20 20 30
  20. fit baltanks
  21. //
  22. create baltank%1.p
  23. opp baltank%1.s
  24. //
  25. /
  26. .bt 1 40 80
  27. .bt 2 80 120
  28. .bt 3 120 160
  29. write
  30. quit pm

  31. report

  32. `Define a light ship:
  33. depth 30
  34. vcg 20
  35. solve weight, lcg

  36. `Compute GM as a function of ballast tank load:
  37. stability @ load (bal*) 10% 20% ... 70% 72% ... 76% /gmt

  38. report off
  39. print substab.pf /preview
复制代码
这样的?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-9-5 09:20 | 显示全部楼层 来自: 中国上海
加QQ聊一下吧,QQ:2494345183
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|标签|免责声明|龙船社区

GMT+8, 2024-9-20 06:04

Powered by Imarine

Copyright © 2006, 龙船社区

快速回复 返回顶部 返回列表