wkblack

q=12 chi=0.4 AA

Jul 11th, 2026 (edited)
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 11.60 KB | Science | 0 0
  1. ### =================================================
  2. ### ============== BSSN PARAMETER FILE ==============
  3. ### =================================================
  4.  
  5. # Evolution variable indices:
  6. #  U_ALPHA=0, U_CHI=1, U_K=2, U_GT0=3, U_GT1=4, U_GT2=5,
  7. #  U_BETA0=6, U_BETA1=7, U_BETA2=8, U_B0=9, U_B1=10, U_B2=11,
  8. #  U_SYMGT0=12, U_SYMGT1=13, U_SYMGT2=14, U_SYMGT3=15, U_SYMGT4=16, U_SYMGT5=17,
  9. #  U_SYMAT0=18, U_SYMAT1=19, U_SYMAT2=20, U_SYMAT3=21, U_SYMAT4=22, U_SYMAT5=23
  10.  
  11. # Constraint variable indices:
  12. #  C_HAM=0, C_MOM0=1, C_MOM1=2, C_MOM2=3,
  13. #  C_PSI4_REAL=4, C_PSI4_IMG=5
  14.  
  15.  
  16. ########################################################################
  17. # IO
  18.  
  19. # 1: restore the BSSN solver from most recent checkpoint
  20. BSSN_RESTORE_SOLVER = 1
  21.  
  22. # Frequency for the VTU Output (scales with q)
  23. BSSN_IO_OUTPUT_FREQ = 1600
  24. BSSN_SCALE_VTU_AND_GW_EXTRACTION = true
  25.  
  26. # Frequency to use for triggering the remeshing
  27. BSSN_REMESH_TEST_FREQ = 50
  28.  
  29. # Extraction frequency for gravitational waves (scales with q)
  30. BSSN_GW_EXTRACT_FREQ = 100
  31.  
  32. # Frequency for outputting a full checkpoint
  33. BSSN_CHECKPT_FREQ = 100
  34.  
  35. # VTU File Prefix, can be absolute or relative paths
  36. BSSN_VTU_FILE_PREFIX = "vtu/bssn_gr"
  37.  
  38. # Checkpoint File Prefix, can be absolute or relative paths
  39. BSSN_CHKPT_FILE_PREFIX = "cp/bssn_cp"
  40.  
  41. # Profiling File Prefix, can be absolute or relative paths
  42. BSSN_PROFILE_FILE_PREFIX = "dat/dgr"
  43.  
  44. # Two-Puncture Initial Data (TPID) File Prefix
  45. TPID_FILEPREFIX = "tp_q008"
  46.  
  47. # VTU output evolution variables; see `include/grDef.h` for variable definitions
  48. BSSN_VTU_OUTPUT_EVOL_INDICES = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]
  49. # Number of evolution variables considered for VTU output; equals length of BSSN_VTU_OUTPUT_EVOL_INDICES
  50. BSSN_NUM_EVOL_VARS_VTU_OUTPUT = 24
  51.  
  52. # VTU output constraint variables; see `include/grDef.h` for variable definitions
  53. BSSN_VTU_OUTPUT_CONST_INDICES = [ 0, 1, 2, 3, 4, 5 ]
  54. # Number of constraint variables considered for VTU output; equals lenth BSSN_VTU_OUTPUT_CONST_INDICES
  55. BSSN_NUM_CONST_VARS_VTU_OUTPUT = 6
  56.  
  57. # Whether or not to save as a Z-Slice only (useful for large problems!)
  58. BSSN_VTU_Z_SLICE_ONLY = true
  59.  
  60.  
  61. ########################################################################
  62. # LOAD BALANCING & MESH
  63.  
  64. # grain size N/p = (total number of octants) / (number of active cores). Helps with partitioning
  65. BSSN_DENDRO_GRAIN_SZ = 25
  66.  
  67. # Asynchronous Communication constant. This is the variable group size for the unzipping (communication) operation
  68. BSSN_ASYNC_COMM_K = 4
  69.  
  70. # AMR coarsening factor: grid de-refines only if wavelet tol < BSSN_DENDRO_AMR_FAC * BSSN_WAVELET_TOL
  71. # q=1 optimum: 1/4 before merger, 1/32=.03125 after merger.
  72. BSSN_DENDRO_AMR_FAC = 0.20
  73. BSSN_DENDRO_AMR_FAC_POST_MERGER = 0.03125
  74.  
  75. # Load imbalance tolerance for partitioning. 0.1 is a good value.
  76. BSSN_LOAD_IMB_TOL = 0.1
  77.  
  78. # Dimensionality of the octree, this should never be changed!
  79. BSSN_DIM = 3
  80.  
  81. # Element Order, each block gets ELE_ORDER + 1 points it is in charge of,
  82. # and padding width is ELE_ORDER / 2, should always be **even**
  83. BSSN_ELE_ORDER = 6
  84.  
  85. # Minimum Depth of the Mesh/Octree
  86. BSSN_MINDEPTH = 4
  87. # Maximum Depth of the Mesh/Octree
  88. BSSN_MAXDEPTH = 18
  89.  
  90.  
  91. ########################################################################
  92. # REFINEMENT STRATEGY
  93.  
  94. # Which refinement mode to use
  95. # 0 - WAMR
  96. # 1 - EH
  97. # 2 - EH_WAMR
  98. # 3 - BH_LOC
  99. # 4 - BH_WAMR
  100. BSSN_REFINEMENT_MODE = 4
  101.  
  102. # BH_LOC: ratio between inner and secondary radius about BHs
  103. # BSSN_AMR_R_RATIO = 2.0
  104. BSSN_AMR_R_RATIO = 1.618033988749895
  105.  
  106. # Wavelet Tolerence Function to use (see grUtils.cpp for adding more)
  107. # 1,2 - deprecated
  108. # 3 - center highly refined; low refinement elsewhere eases over time
  109. # 4 - start w/ refinement centered at BHs, then widen to r=0 focused
  110. # 5 - focus refinement in self-similar ways about each BH
  111. # 6 - refine well in r<=t and coarsely in r>t
  112. BSSN_USE_WAVELET_TOL_FUNCTION = 6
  113.  
  114. # Wavelet tolerence for Wavelet Refinement (minimum)
  115. BSSN_WAVELET_TOL = 0.00001
  116.  
  117. # Gravitational Wave Refinement tolerence
  118. BSSN_GW_REFINE_WTOL = 0.0001
  119.  
  120. # Maximum Wavelet Tolerence
  121. BSSN_WAVELET_TOL_MAX = 0.0001
  122.  
  123. # ORBIT: Nyquist-based refinement
  124. # goal spherical harmonic order m to resolve (=0 to disable)
  125. BSSN_NYQUIST_M = 7
  126.  
  127. # Wavelet Tolerence Radii (for setting "shell" based tolerance)
  128. BSSN_WAVELET_TOL_FUNCTION_R0 = 3.0
  129. BSSN_WAVELET_TOL_FUNCTION_R1 = 12.0
  130.  
  131. # The indices of the variables for refinement, see grDef.h for which variable corresponds to which index
  132. BSSN_REFINE_VARIABLE_INDICES = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]
  133. # Number of variables to use for refinement; equals length of BSSN_REFINE_VARIABLE_INDICES
  134. BSSN_NUM_REFINE_VARS = 24
  135.  
  136. # The number of iterations that should be done for grid initialization
  137. BSSN_INIT_GRID_ITER = 10
  138.  
  139. # If we want to use the set reference mode for initial convergence
  140. BSSN_USE_SET_REF_MODE_FOR_INITIAL_CONVERGE = true
  141.  
  142.  
  143. ########################################################################
  144. # RK SOLVER
  145.  
  146. # CFL (Courant-Friedrichs-Lewy) Factor (the Courant factor)
  147. # use to adjust time-step size compared to grid spacing
  148. BSSN_CFL_FACTOR = 0.25
  149.  
  150. # The starting time of the simulation
  151. BSSN_RK_TIME_BEGIN = 0.0
  152. # The ending time of the simulation
  153. BSSN_RK_TIME_END = 800.0
  154.  
  155. # RK Method to use (0 -> RK3, 1 -> RK4, 2 -> RK45)
  156. BSSN_RK_TYPE = 1
  157.  
  158. # Preferred time step size (this is overwritten by the CFL factor! It's not used!)
  159. BSSN_RK45_TIME_STEP_SIZE = 0.01
  160.  
  161. # Desired tolerence for RK45, currently not used!
  162. BSSN_RK45_DESIRED_TOL = 0.001
  163.  
  164.  
  165. ########################################################################
  166. # BLOCK ADAPTIVITY (can create a "uniform" grid within specified domain)
  167. # NOT RECOMMENDED - But set this to 1 to disable AMR and use Block Adaptivity
  168.  
  169. BSSN_ENABLE_BLOCK_ADAPTIVITY = 0
  170. BSSN_BLK_MIN_X = -6.0
  171. BSSN_BLK_MIN_Y = -6.0
  172. BSSN_BLK_MIN_Z = -1.0
  173. BSSN_BLK_MAX_X = 6.0
  174. BSSN_BLK_MAX_Y = 6.0
  175. BSSN_BLK_MAX_Z = 1.0
  176.  
  177.  
  178. ########################################################################
  179. # BSSN PHYSICS PARAMETERS
  180.  
  181. ETA_CONST = 2.0
  182. ETA_R0 = 30.0
  183. ETA_DAMPING = 1.0
  184. ETA_DAMPING_EXP = 1.0
  185. BSSN_LAMBDA = [ 1, 1, 1, 1 ]
  186. BSSN_LAMBDA_F = [ 1.0, 0.0 ]
  187. BSSN_XI = [ 0, 0, 0 ]
  188. CHI_FLOOR = 0.0001
  189. BSSN_TRK0 = 0.0
  190. KO_DISS_SIGMA = 0.4
  191.  
  192. # ETA as a function parameters
  193. BSSN_ETA_R0 = 1.31
  194. BSSN_ETA_POWER = [ 2.0, 2.0 ]
  195.  
  196.  
  197. ########################################################################
  198. # Select initial data type
  199. # 0 - TwoPuncture Elliptic solution
  200. # 1 - HAD approximate solution
  201. # 2 - Kerr-Schild
  202.  
  203. BSSN_ID_TYPE = 0
  204.  
  205.  
  206. ########################################################################
  207. # Set up BSSN grid points
  208.  
  209. BSSN_GRID_MIN_X = -400.0
  210. BSSN_GRID_MAX_X = 400.0
  211. BSSN_GRID_MIN_Y = -400.0
  212. BSSN_GRID_MAX_Y = 400.0
  213. BSSN_GRID_MIN_Z = -400.0
  214. BSSN_GRID_MAX_Z = 400.0
  215.  
  216.  
  217. ########################################################################
  218. # BLACK HOLE Parameters
  219.  
  220. # m_+ (smaller BH)
  221. BSSN_BH1_AMR_R = 0.15385
  222. BSSN_BH1_CONSTRAINT_R = 0.162
  223. BSSN_BH1_MAX_LEV = 18
  224. BSSN_BH1 = { MASS = 0.0769230769230769273, X = 7.38461538461538503, Y = 0.0, Z = 0.0, V_X = -0.00025540408989365376, V_Y = 0.03387844630933422, V_Z = 0.0, SPIN = +0.0023668639053254443, SPIN_THETA = 0.0, SPIN_PHI = 0.0 }
  225.  
  226. # m_- (larger BH)
  227. BSSN_BH2_AMR_R = 1.846154
  228. BSSN_BH2_CONSTRAINT_R = 1.9385
  229. BSSN_BH2_MAX_LEV = 15
  230. BSSN_BH2 = { MASS = 0.923076923076923128, X = -0.615384615384615419, Y = 0.0, Z = 0.0, V_X = 0.00025540408989365376, V_Y = -0.03387844630933422, V_Z = 0.0, SPIN = -0.34082840236686396, SPIN_THETA = 0.0, SPIN_PHI = 0.0 }
  231.  
  232.  
  233. ########################################################################
  234. # TPID SPECIFIC PARAMETERS
  235.  
  236. # 1/2 coordinate separation between black holes.
  237. TPID_PAR_B = 4.0
  238.  
  239. # distance from grid center to BH midpoint
  240. TPID_CENTER_OFFSET = { X = 3.38461538461538503, Y = 0.0, Z = 0.0 }
  241.  
  242. # 0 - Use ADM mass and iteratively solve for bare mass
  243. # 1 - Use bare mass
  244.  
  245. # TPID_GIVE_BARE_MASS = 0
  246. # TPID_TARGET_M_PLUS = 0.0769230769230769273
  247. # TPID_TARGET_M_MINUS = 0.923076923076923128
  248.  
  249. TPID_GIVE_BARE_MASS = 1
  250. TPID_TARGET_M_PLUS = 0.066478542086713624
  251. TPID_TARGET_M_MINUS = 0.85554174395748783
  252.  
  253. # Grid points for spectral grid
  254. TPID_NPOINTS_A = 176
  255. TPID_NPOINTS_B = 188
  256. TPID_NPOINTS_PHI = 14
  257.  
  258. # Convergence tolerances
  259. TPID_NEWTON_TOL = 2.25e-12
  260. TPID_ADM_TOL = 2e-15
  261.  
  262.  
  263. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  264. # other TPID settings
  265.  
  266. TPID_VERBOSE = 1
  267.  
  268. # Grid Setup Method:
  269. # 0 - Taylor expansion
  270. # 1 - Evaluation
  271. TPID_GRID_SETUP_METHOD = 1
  272.  
  273. # Select lapse:
  274. # 0 - antisymmetric
  275. # 1 - averaged
  276. # 2 - psi^n
  277. # 3 - Brownsville
  278. INITIAL_LAPSE = 2
  279. # Exponent n for INITIAL_LAPSE=2, where alpha=psi^n
  280. TPID_INITIAL_LAPSE_PSI_EXPONENT = -2.0
  281.  
  282. # Deprecated
  283. TPID_SOLVE_MOMENTUM_CONSTRAINT = 0
  284.  
  285.  
  286. ########################################################################
  287. # BLACK HOLE LOCATION EXTRACTION PARAMETERS
  288.  
  289. EXTRACTION_VAR_ID = 0
  290. EXTRACTION_TOL = 0.3
  291.  
  292.  
  293. ########################################################################
  294. # GRAVITATIONAL WAVE EXTRACTION PARAMETERS
  295.  
  296. # radii at which we extract the GWs
  297. BSSN_GW_NUM_RADAII = 6
  298. BSSN_GW_RADAII = [ 50.0, 60.0, 70.0, 80.0, 90.0, 100.0 ]
  299.  
  300. # which spherical harmonic degrees (l-modes) to resolve
  301. BSSN_GW_NUM_LMODES = 7
  302. BSSN_GW_L_MODES = [ 2, 3, 4, 5, 6, 7, 8 ]
  303.  
  304.  
  305. ########################################################################
  306. # Etienne '24 improvements
  307.  
  308. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  309. # SSL parameters
  310. # use necessary initial lapse of alpha = W
  311. TPID_REPLACE_LAPSE_WITH_SQRT_CHI = true
  312. # Gaussian height h [1/M] (strength of SSL)
  313. BSSN_SSL_H = 0.6
  314. # Gaussian width sigma [M] (duration of SSL)
  315. BSSN_SSL_SIGMA = 20.0
  316.  
  317. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  318. # CAKO: scale KO-diss by conformal factor
  319. BSSN_KO_SIGMA_SCALE_BY_CONFORMAL = false
  320.  
  321. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  322. # CAHD: Hamiltonian damping strength
  323. BSSN_CAHD_C = 0.06
  324.  
  325.  
  326. ########################################################################
  327. # LOGGING
  328.  
  329. # output log file name
  330. DENDRO_LOG_FILE = "logfile"
  331.  
  332. # minimum severity levels to record:
  333. # 0 - trace (all steps!)
  334. # 1 - debug
  335. # 2 - info
  336. # 3 - warnings
  337. # 4 - errors
  338. # 5 - (none)
  339.  
  340. # log level for output dendro log file
  341. DENDRO_LOG_FILE_LEVEL = 2
  342. # log level for console (slurm output file)
  343. DENDRO_LOG_CONSOLE_LEVEL = 3
  344.  
  345. # "last resort" to flush/save log file to disc on every write (avoid!)
  346. DENDRO_LOG_FORCE_FILE_FLUSH = false
  347.  
  348.  
  349. ########################################################################
  350. # APPARANT HORIZON SOLVER PARAMETERS
  351.  
  352. # Time steps between AH solves
  353. AEH_SOLVER_FREQ = 50
  354.  
  355. [AEH_PARAMS]
  356.  
  357. # Save directory for the AEH outputs, make sure it exists!
  358. AEH_SAVE_DIR = "bah"
  359.  
  360. # Verbosity level for the BAH Solver
  361. VERBOSITY_LEVEL = 1
  362.  
  363. # Input spherical grid's maximum radius to search, for all time.
  364. # These need to be rescaled to each BH's mass! ~1.5*m_i or more.
  365. MAX_SEARCH_RADIUS = [0.14, 1.38, 1.38]
  366.  
  367. # Maximum number of radial points for the grids.
  368. # Recommended 48-63 for speed. Increasing this value increases interpolation and communication costs!
  369. NR_INTERP_MAX = [63, 127, 63]
  370.  
  371. # Converge is reached if BOTH of these theta tolerances are met!
  372. # Recommended 1.0e-5 for L2, for balance of speed and accuracy
  373. THETA_L2_M_TOL = [1.0e-5, 1.0e-4, 1.0e-4]
  374. # Recommended 1.0e-2 for Linf (effectively disabling it)
  375. THETA_LINF_M_TOL = [1.0e-3, 1.0e-2, 1.0e-2]
  376.  
  377. # Courant-Friedrichs-Lewy factor within hyperbolic relaxation.
  378. # Etienne's team uses .95 by default but lowers it if a solve fails.
  379. CFL_FACTOR = [0.90, 0.50, 0.50]
  380.  
Advertisement
Add Comment
Please, Sign In to add comment