Based on the original Rocket Workbench on SourceForge in CVS at: https://sourceforge.net/projects/rocketworkbench
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

116 lines
4.3 KiB

  1. simulation =
  2. (initial_conditions = (u = 400.0,
  3. v = 0.0,
  4. w = 0.0,
  5. P = 0.0,
  6. Q = 0.0,
  7. R = 0.0,
  8. latitude = 0.0,
  9. longitude = 0.0,
  10. altitude = 1000.0,
  11. phi = 0.0,
  12. theta = 90.0,
  13. psi = 0.0
  14. ),
  15. rocket = (stage = (dry_mass = 10.0,
  16. Ix = 0.0025,
  17. Iy = 0.84,
  18. Iz = 0.84,
  19. Cdrag = 0.2,
  20. Clift = 2.3,
  21. Cbeta = 2.3,
  22. Cspin = 20.0,
  23. Cmoment = 6.32,
  24. Cdamping = 31.6,
  25. Diameter = 0.1143,
  26. # this is the total duration during which the
  27. # stage is active, i.e. from the time the previous
  28. # stage were drop until this stage is drop.
  29. active_time = 100.0,
  30. engine = (type = "constant_thrust",
  31. propellant_mass = 2.0,
  32. dry_mass = 1.0,
  33. thrust = 1000.0,
  34. mass_flow = 2.0,
  35. start_time = 0.0,
  36. burn_time = 100.0,
  37. drop_time = 100.0,
  38. position = (x = -1.0,
  39. y = 0.0,
  40. z = 0.0),
  41. direction = (x = 1.0,
  42. y = 0.0,
  43. z = 0.0)
  44. ),
  45. engine = (type = "thrust_table_data",
  46. propellant_mass = 2.0,
  47. dry_mass = 1.0,
  48. thrust_data_file = "thrust.dat",
  49. c = 2500.0, #effective exhaust velocity
  50. start_time = 0.0,
  51. burn_time = 100.0,
  52. drop_time = 100.0,
  53. position = (x = -1.0,
  54. y = 0.0,
  55. z = 0.0),
  56. direction = (x = 1.0,
  57. y = 0.0,
  58. z = 0.0)
  59. )
  60. ),
  61. stage = (dry_mass = 10.0,
  62. Ix = 0.0025,
  63. Iy = 0.84,
  64. Iz = 0.84,
  65. Cdrag = 0.2,
  66. Clift = 2.3,
  67. Cbeta = 2.3,
  68. Cspin = 20.0,
  69. Cmoment = 6.32,
  70. Cdamping = 31.6,
  71. Diameter = 0.1143,
  72. # this is the total duration during which the
  73. # stage is active, i.e. from the time the previous
  74. # stage were drop until this stage is drop.
  75. active_time = 100.0,
  76. engine = (type = "constant_thrust",
  77. propellant_mass = 2.0,
  78. dry_mass = 1.0,
  79. thrust = 1000.0,
  80. mass_flow = 2.0,
  81. start_time = 0.0,
  82. burn_time = 100.0,
  83. drop_time = 100.0,
  84. position = (x = -1.0,
  85. y = 0.0,
  86. z = 0.0),
  87. direction = (x = 1.0,
  88. y = 0.0,
  89. z = 0.0)
  90. ),
  91. engine = (type = "thrust_table_data",
  92. propellant_mass = 2.0,
  93. dry_mass = 1.0,
  94. thrust_data_file = "thrust.dat",
  95. c = 2500.0, #effective exhaust velocity
  96. start_time = 0.0,
  97. burn_time = 100.0,
  98. drop_time = 100.0,
  99. position = (x = -1.0,
  100. y = 0.0,
  101. z = 0.0),
  102. direction = (x = 1.0,
  103. y = 0.0,
  104. z = 0.0)
  105. )
  106. )
  107. )
  108. ,solution = (duration = 50.0,
  109. dt = 0.01,
  110. precision = 0.01)
  111. )