volume_output_2.mdl 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. iterations = 10000
  2. timestep = 1e-6
  3. boxdims = 1.0
  4. voldiffconst = 1e-6
  5. numtorelease = 1000
  6. ITERATIONS = iterations
  7. TIME_STEP = timestep
  8. PARTITION_X = [[-5.2 TO 5.2 STEP .1]]
  9. PARTITION_Y = [[-5.2 TO 5.2 STEP .1]]
  10. PARTITION_Z = [[-5.2 TO 5.2 STEP .1]]
  11. DEFINE_MOLECULES
  12. {
  13. D {DIFFUSION_CONSTANT_3D = voldiffconst}
  14. E {DIFFUSION_CONSTANT_3D = voldiffconst}
  15. F {DIFFUSION_CONSTANT_3D = voldiffconst}
  16. }
  17. DEFINE_REACTIONS
  18. {
  19. D + E -> F [2e8]
  20. }
  21. DEFINE_RELEASE_PATTERN release_pattern_1 {
  22. DELAY = 0.0
  23. RELEASE_INTERVAL = 3 * timestep
  24. TRAIN_INTERVAL = 1 * timestep
  25. TRAIN_DURATION = 1 * timestep
  26. NUMBER_OF_TRAINS = 1
  27. }
  28. all_release_sites OBJECT {
  29. release_site_1 SPHERICAL_RELEASE_SITE {
  30. LOCATION = [-0.8*boxdims, -0.8*boxdims, -0.8*boxdims]
  31. MOLECULE = D
  32. NUMBER_TO_RELEASE = 1000
  33. SITE_DIAMETER = 0
  34. RELEASE_PATTERN = release_pattern_1
  35. }
  36. release_site_2 SPHERICAL_RELEASE_SITE {
  37. LOCATION = [0.8*boxdims, 0.8*boxdims, 0.8*boxdims]
  38. MOLECULE = E
  39. NUMBER_TO_RELEASE = 1000
  40. SITE_DIAMETER = 0
  41. RELEASE_PATTERN = release_pattern_1
  42. }
  43. }
  44. main_box BOX
  45. {
  46. CORNERS = [-boxdims, -boxdims, -boxdims], [boxdims, boxdims, boxdims]
  47. }
  48. outer_box BOX
  49. {
  50. CORNERS = [-4,-4,-4], [4,4,4]
  51. }
  52. INSTANTIATE world OBJECT
  53. {
  54. main_box OBJECT main_box {}
  55. outer_box OBJECT outer_box{}
  56. release_sites OBJECT all_release_sites { }
  57. }
  58. VOLUME_DATA_OUTPUT
  59. {
  60. FILENAME_PREFIX = "volume_output/d_loc"
  61. MOLECULES = D
  62. LOCATION = [-boxdims, -boxdims, -boxdims]
  63. VOXEL_SIZE = [boxdims/5, boxdims/5, boxdims/5]
  64. VOXEL_COUNT = [10, 10, 10]
  65. STEP = 500*timestep
  66. }
  67. VOLUME_DATA_OUTPUT
  68. {
  69. FILENAME_PREFIX = "volume_output/e_loc"
  70. MOLECULES = E
  71. LOCATION = [-boxdims, -boxdims, -boxdims]
  72. VOXEL_SIZE = [boxdims/5, boxdims/5, boxdims/5]
  73. VOXEL_COUNT = [10, 10, 10]
  74. STEP = 500*timestep
  75. }
  76. VOLUME_DATA_OUTPUT
  77. {
  78. FILENAME_PREFIX = "volume_output/f_loc"
  79. MOLECULES = F
  80. LOCATION = [-boxdims, -boxdims, -boxdims]
  81. VOXEL_SIZE = [boxdims/5, boxdims/5, boxdims/5]
  82. VOXEL_COUNT = [10, 10, 10]
  83. STEP = 500*timestep
  84. }