KristinHoch

Re-write week 4 parameter file star formation

Aug 23rd, 2018
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.58 KB | None | 0 0
  1. Relevant Section of Enzo Paramter File (NOT COMPLETE!)
  2. ProblemType = 30 // cosmology simulation
  3. TopGridRank = 3
  4. TopGridDimensions = 128 128 128
  5. SelfGravity = 1 // gravity on
  6. TopGridGravityBoundary = 0 // Periodic BC for gravity
  7. LeftFaceBoundaryCondition = 3 3 3 // same for fluid
  8. RightFaceBoundaryCondition = 3 3 3
  9. RefineBy = 2
  10.  
  11. #
  12. CosmologySimulationOmegaBaryonNow = 0.0486
  13. CosmologySimulationOmegaCDMNow = 0.2603
  14. CosmologySimulationDensityName = GridDensity
  15. CosmologySimulationVelocity1Name = GridVelocities_x
  16. CosmologySimulationVelocity2Name = GridVelocities_y
  17. CosmologySimulationVelocity3Name = GridVelocities_z
  18. CosmologySimulationCalculatePositions = 1
  19. CosmologySimulationParticleVelocity1Name = ParticleVelocities_x
  20. CosmologySimulationParticleVelocity2Name = ParticleVelocities_y
  21. CosmologySimulationParticleVelocity3Name = ParticleVelocities_z
  22. CosmologySimulationParticleDisplacement1Name = ParticleDisplacements_x
  23. CosmologySimulationParticleDisplacement2Name = ParticleDisplacements_y
  24. CosmologySimulationParticleDisplacement3Name = ParticleDisplacements_z
  25.  
  26. #
  27. # define cosmology parameters
  28. #
  29. ComovingCoordinates = 1 // Expansion ON
  30. CosmologyOmegaMatterNow = 0.3089
  31. CosmologyOmegaLambdaNow = 0.6911
  32. CosmologyHubbleConstantNow = 0.6774 // in 100 km/s/Mpc
  33. CosmologyComovingBoxSize = 0.2 // in Mpc/h
  34. CosmologyMaxExpansionRate = 0.015 // maximum allowed delta(a)/a
  35. CosmologyInitialRedshift = 200 //
  36. CosmologyFinalRedshift = 15 //
  37. GravitationalConstant = 1 // this must be true for cosmology
  38. #
  39. #
  40. ParallelRootGridIO = 1
  41. ParallelParticleIO = 1
  42. PartitionNestedGrids = 1
  43. CosmologySimulationNumberOfInitialGrids = 3
  44. CosmologySimulationGridDimension[1] = 74 74 74
  45. CosmologySimulationGridLeftEdge[1] = 0.359375 0.359375 0.359375
  46. CosmologySimulationGridRightEdge[1] = 0.6484375 0.6484375 0.6484375
  47. CosmologySimulationGridLevel[1] = 1
  48. CosmologySimulationGridDimension[2] = 112 112 112
  49. CosmologySimulationGridLeftEdge[2] = 0.390625 0.390625 0.390625
  50. CosmologySimulationGridRightEdge[2] = 0.609375 0.609375 0.609375
  51. CosmologySimulationGridLevel[2] = 2
  52. #
  53. # region allowed for further refinement
  54. #
  55. RefineRegionLeftEdge = 0.4125 0.4125 0.4125
  56. RefineRegionRightEdge = 0.5875 0.5875 0.5875
  57.  
  58. dtDataDump = 0.4 // dump at beginning and end
  59. DataDumpName = output_
  60. CosmologyOutputRedshift[0] = 20.0
  61. CosmologyOutputRedshift[1] = 19.0
  62. CosmologyOutputRedshift[2] = 18.0
  63.  
  64. #
  65. # set hydro parameters
  66. #
  67. Gamma = 1.6667
  68. PPMDiffusionParameter = 0 // diffusion off
  69. DualEnergyFormalism = 1 // use total & internal energy
  70. InterpolationMethod = 1 // SecondOrderA
  71. CourantSafetyNumber = 0.4
  72. ParticleCourantSafetyNumber = 0.4
  73. RadiativeCooling = 1
  74. MultiSpecies = 2
  75. #use_grackle = 1
  76. #MetalCooling = 1
  77.  
  78. #
  79. # set grid refinement parameters
  80. #
  81. StaticHierarchy = 0 // AMR turned on!
  82.  
  83. # ** These two set the level of refinement **
  84. MaximumRefinementLevel = 8
  85. MaximumGravityRefinementLevel = 8
  86.  
  87. RefineBy = 2
  88. CellFlaggingMethod = 2 4 6
  89. MinimumEfficiency = 0.4
  90. NumberOfBufferZones = 1
  91. #MinimumOverDensityForRefinement = 5.0 5.0
  92. #MinimumPressureJumpForRefinement = 10000.
  93. RefineByJeansLengthSafetyFactor = 16
  94.  
  95. #
  96. # set some global parameters
  97. #
  98. GreensFunctionMaxNumber = 100 // # of greens function at any one time
  99. UseMinimumPressureSupport = 1
  100.  
  101. StarParticleCreation = 8
  102. StarParticleFeedback = 8
  103. PopIIIStarMass = 40
  104. #PopIIIBlackHoles = 1
  105. #PopIIIInitialMassFunction = 1
  106. #PopIIIInitialMassFunctionSeed = 288762
  107. RadiativeTransfer = 1
  108. RadiativeTransferRadiationPressure = 1
  109. RadiativeTransferOpticallyThinH2 = 1
  110. RadiativeTransferHIIRestrictedTimestep = 1
  111. RadiativeTransferAdaptiveTimestep = 1
  112. RadiativeTransferLoadBalance = 1
Add Comment
Please, Sign In to add comment