05-rx_dissociate_inwards.mdl 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /****************************************************************************
  2. * Regression test 05: When a surface molecule undergoes a reaction to become a
  3. * volume molecule, orientation must be respected.
  4. *
  5. * Failure: as g decreases, mi increases faster than m
  6. *
  7. * Success: at all times m == mi
  8. * at all times m + g == 1000
  9. *
  10. * Author: Jed Wing <[email protected]>
  11. * Date: 2008-09-10
  12. ****************************************************************************/
  13. ITERATIONS=5000
  14. TIME_STEP=1e-6
  15. EFFECTOR_GRID_DENSITY=15000
  16. DEFINE_MOLECULES
  17. {
  18. g { DIFFUSION_CONSTANT_2D = 0 }
  19. m { DIFFUSION_CONSTANT_3D = 2e-6 }
  20. }
  21. DEFINE_REACTIONS
  22. {
  23. g' -> m' [1e3]
  24. }
  25. INSTANTIATE world OBJECT
  26. {
  27. box BOX
  28. {
  29. CORNERS = [-1, -1, -1], [1, 1, 1]
  30. DEFINE_SURFACE_REGIONS
  31. {
  32. all {
  33. INCLUDE_ELEMENTS = [ ALL_ELEMENTS ]
  34. MOLECULE_NUMBER
  35. {
  36. g, = 1000
  37. }
  38. }
  39. }
  40. }
  41. }
  42. REACTION_DATA_OUTPUT
  43. {
  44. OUTPUT_BUFFER_SIZE = 100
  45. STEP = 1e-4
  46. HEADER = "# "
  47. {
  48. COUNT[g, WORLD] : "g",
  49. COUNT[m, WORLD] : "m",
  50. COUNT[m, world.box] : "mi"
  51. } => "molecules.txt"
  52. }
  53. VIZ_OUTPUT
  54. {
  55. MODE = DREAMM_V3_GROUPED
  56. FILENAME = "viz_dat/world"
  57. MOLECULES
  58. {
  59. NAME_LIST { ALL_MOLECULES }
  60. TIME_POINTS
  61. {
  62. ALL_DATA @ [[0 TO 0.1 STEP 1e-4]]
  63. }
  64. }
  65. MESHES
  66. {
  67. NAME_LIST { ALL_MESHES }
  68. TIME_POINTS
  69. {
  70. ALL_DATA @ [0]
  71. }
  72. }
  73. }