volume_output_1.mdl 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. iterations = 100
  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. }
  15. DEFINE_RELEASE_PATTERN release_pattern_1 {
  16. DELAY = 0.0
  17. RELEASE_INTERVAL = 3 * timestep
  18. TRAIN_INTERVAL = 1 * timestep
  19. TRAIN_DURATION = 1 * timestep
  20. NUMBER_OF_TRAINS = 1
  21. }
  22. all_release_sites OBJECT {
  23. release_site_1 SPHERICAL_RELEASE_SITE {
  24. LOCATION = [0, 0, 0]
  25. MOLECULE = D
  26. NUMBER_TO_RELEASE = 1000
  27. SITE_DIAMETER = 0
  28. RELEASE_PATTERN = release_pattern_1
  29. }
  30. }
  31. main_box BOX
  32. {
  33. CORNERS = [-boxdims, -boxdims, -boxdims], [boxdims, boxdims, boxdims]
  34. }
  35. outer_box BOX
  36. {
  37. CORNERS = [-4,-4,-4], [4,4,4]
  38. }
  39. INSTANTIATE world OBJECT
  40. {
  41. main_box OBJECT main_box {}
  42. outer_box OBJECT outer_box{}
  43. release_sites OBJECT all_release_sites { }
  44. }
  45. VOLUME_DATA_OUTPUT
  46. {
  47. FILENAME_PREFIX = "volume_output/d_loc"
  48. MOLECULES = D
  49. LOCATION = [-boxdims, -boxdims, -boxdims]
  50. VOXEL_SIZE = [boxdims/5, boxdims/5, boxdims/5]
  51. VOXEL_COUNT = [10, 10, 10]
  52. STEP = 10*timestep
  53. }