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.

86 lines
3.0 KiB

  1. simulation =
  2. (initial_conditions = (u = 0.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 = 0.0,
  11. phi = 0.0,
  12. theta = 0.0,
  13. psi = 0.0
  14. ),
  15. rocket = (stage = (dry_mass = .1,
  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 = 2.0,
  30. engine = (type = "constant_thrust",
  31. propellant_mass = 0.1,
  32. dry_mass = 0.05,
  33. thrust = 10.0,
  34. mass_flow = 0.1,
  35. start_time = 0.0,
  36. burn_time = 1.5,
  37. drop_time = 0.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. ),
  46. stage = (dry_mass = .2,
  47. Ix = 0.0025,
  48. Iy = 0.84,
  49. Iz = 0.84,
  50. Cdrag = 0.2,
  51. Clift = 2.3,
  52. Cbeta = 2.3,
  53. Cspin = 20.0,
  54. Cmoment = 6.32,
  55. Cdamping = 31.6,
  56. Diameter = 0.1143,
  57. # this is the total duration during which the
  58. # stage is active, i.e. from the time the previous
  59. # stage were drop until this stage is drop.
  60. active_time = 3.0,
  61. engine = (type = "thrust_table_data",
  62. propellant_mass = 0.2,
  63. dry_mass = 0.3,
  64. thrust_data_file = "thrust.dat",
  65. c = 2500.0, #effective exhaust velocity
  66. start_time = 0.0,
  67. burn_time = 2.0,
  68. drop_time = 0.0,
  69. position = (x = -1.0,
  70. y = 0.0,
  71. z = 0.0),
  72. direction = (x = 1.0,
  73. y = 0.0,
  74. z = 0.0)
  75. )
  76. )
  77. )
  78. ,solution = (duration = 5.0,
  79. dt = 0.01,
  80. precision = 0.0001)
  81. )