Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
bam:example_parfile [2024/07/23 13:55] theoastro |
bam:example_parfile [2024/07/23 14:16] (current) theoastro |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| physics = adm z4 Gauge matter eos grhd2Fluid BNSdataReader Invariants AHmod hydroanalysis | physics = adm z4 Gauge matter eos grhd2Fluid BNSdataReader Invariants AHmod hydroanalysis | ||
| | | ||
| + | nxyz = 128*2/ | ||
| + | amr_move_nxyz | ||
| + | dxyz = 36*2/ | ||
| + | amr_bo_dxmax | ||
| + | | ||
| + | 0douttime | ||
| + | 2douttime | ||
| + | 3douttime | ||
| + | Invariants_output_time | ||
| + | | ||
| ############################################################################# | ############################################################################# | ||
| # initial data | # initial data | ||
| - | BBID_modus = DSDS # ask Edo: ... dark star dark star, otherwise BNSS | + | |
| - | BNSdataReader_sgrid_exe = /zhome/academic/HLRS/xup/ | + | |
| - | BNSdataReader_use_interpolator = yes # set to yes = for first time interpolation | + | |
| - | BNSdataReader_sgrid_datadir = "/lustre/hpe/ws10/ws10.1/ | + | BNSdataReader_sgrid_exe = /path/to/BAM/executable |
| - | BAM_DMruns/ | + | BNSdataReader_use_interpolator = yes |
| - | BNSdataReader_sgrid_simple_directory_structure = yes # see also: Ivans orga of sgrid folder | + | BNSdataReader_sgrid_datadir = "/path/to/sgrid/ |
| - | BNSdataReader_Interpolate_verbose = no #yes for the first submission only, to see if sgrid to bam interpolation works | + | BNSdataReader_sgrid_simple_directory_structure = yes |
| - | BNSdataReader_keep_sgrid_output = no # yes for the time when it is doing the interpolation | + | BNSdataReader_Interpolate_verbose = no |
| - | BNSdataReader_two_fluid_system = yes # for 2 Fluid data reading | + | BNSdataReader_keep_sgrid_output = no |
| + | BNSdataReader_two_fluid_system = yes | ||
| | | ||
| ############################################################################ | ############################################################################ | ||
| # eos | # eos | ||
| | | ||
| - | eos_ID | + | eos_ID |
| - | eos1 = tab1dhot | + | eos1 = tab1dhot |
| - | eos1_gamma | + | eos1_gamma |
| eos2 = tab1d | eos2 = tab1d | ||
| - | # eos_ID = yes, so the table is taken from sgrid | ||
| | | ||
| ############################################################################ | ############################################################################ | ||
| Line 29: | Line 39: | ||
| checkpoint | checkpoint | ||
| checkpoint_dt_hours | checkpoint_dt_hours | ||
| - | checkpoint_dt_hours_quit | + | checkpoint_dt_hours_quit |
| checkpoint_variables | checkpoint_variables | ||
| ExitIfNAN | ExitIfNAN | ||
| Line 36: | Line 46: | ||
| # basic setup | # basic setup | ||
| | | ||
| - | order_centered | + | order_centered |
| order_advection | order_advection | ||
| advection_lopsided6 | advection_lopsided6 | ||
| Line 43: | Line 53: | ||
| dissipation_factor | dissipation_factor | ||
| | | ||
| - | bampi_timer_on | + | bampi_timer_on |
| - | bampi_lowlatency | + | bampi_lowlatency |
| bampi_timer_reset_after_every_iteration = yes | bampi_timer_reset_after_every_iteration = yes | ||
| bampi_nghosts | bampi_nghosts | ||
| Line 50: | Line 60: | ||
| order_RP_shells | order_RP_shells | ||
| amr_nbuffer | amr_nbuffer | ||
| - | + | | |
| - | | + | amr_move_lcube |
| - | amr_move_lcube | + | amr = bo newfmr move |
| - | + | amr_fmr | |
| - | #spacing | always keep for numbers before the * fixed and change the Brueche | + | grid |
| - | nxyz = 128*2/ | + | |
| - | amr_move_nxyz | + | ############################################################################ |
| - | dxyz = 36*2/ | + | # hydro |
| - | amr_bo_dxmax | + | |
| - | + | hrsc_nghosts = 4 # how many ghost points are used to go from courser to finer level | |
| - | # first provide finest level information | + | hrsc_rec = WENOZ |
| - | # can be calculated by using the diameter of a NS with a bit of extra space in geomtrical units and divide by number of moving boxes | + | hrsc_TVD_limiter = MC2 |
| - | # then this calculated number is multiplied by a factor of 2 for each bigger level | + | hrsc_rec_metric = LAG4 |
| - | + | hrsc_flux = LLF # HLL, HLLC - Riemann solvers | |
| - | + | hrsc_rec_HO = WENOZ | |
| - | amr = bo newfmr move | + | |
| - | amr_fmr | + | conservative_amr = yes |
| - | grid = box bitant #box quadrant, bitant (means the upper half of 3D space, from z [0, +inf] # quadrant should be one half of the bitant | + | matter_interpolate_scheme_restriction |
| - | + | matter_interpolate_scheme_prolongation = linear | |
| - | ############################################################################ | + | matter_interpolate_order = 4 |
| - | # hydro | + | |
| - | + | grhd_C2P = p_root | |
| - | hrsc_nghosts = 4 # how many ghost points are used to go from courser to finer level | + | grhd_C2P_NewtonRaphsonTR = 1e-8 |
| - | hrsc_rec = WENOZ # | + | grhd_C2P_NewtonRaphsonNR = 100 |
| - | hrsc_TVD_limiter = MC2 # flux limiter | hr high resolution sc = shock capturing scheme | + | grhd_vmax = 0.99 |
| - | hrsc_rec_metric = LAG4 # | + | grhd_Wlor_max = 1e8 |
| - | hrsc_flux = LLF # HLL, HLLC - Riemann solvers | + | grhd_use_atmosphere = ColdStatic |
| - | hrsc_rec_HO = WENOZ # HO = higher order | + | grhd_atm_factor = 10 |
| - | + | grhd_atm_level = 1e-11 | |
| - | conservative_amr = yes # conservative adaptive mesh refinement, in order to working, below needs to be set to linear | + | |
| - | matter_interpolate_scheme_restriction | + | ############################################################################# |
| - | matter_interpolate_scheme_prolongation = linear | + | # evolution |
| - | matter_interpolate_order = 4 | + | |
| - | + | evolution_method | |
| - | # conservative (D=density with lorentz factor, tau= , S= kinda Momentum) to primative variables ( | + | evolution_method_rk |
| - | grhd_C2P = p_root | + | dtfac = 0.25 |
| - | grhd_C2P_NewtonRaphsonTR = 1e-8 # threshold, accuracy | + | finaltime = 20000 |
| - | grhd_C2P_NewtonRaphsonNR = 100 # maximum number of iteration | + | |
| - | + | z4_normalizedetg | |
| - | grhd_vmax = 0.99 # maximum velocity inside the code | + | z4_subtractA |
| - | grhd_Wlor_max = 1e8 # maximum Lorentz factor | + | z4_chi_div_floor |
| - | + | z4_initial_lapse | |
| - | grhd_use_atmosphere = ColdStatic | + | z4_initial_shift |
| - | # belows params can be used to set the atmosphere inside the BAM grid | + | z4_lapse |
| - | grhd_atm_factor = 10 # take central rho and ... see equations | + | z4_shift |
| - | grhd_atm_level = 1e-11 # value | + | z4_shiftalphapower |
| - | + | z4_shiftdriver | |
| - | ############################################################################# | + | z4_shiftgammacoeff |
| - | # evolution, RK = runge kutta | + | z4_kappa1 |
| - | + | z4_kappa2 | |
| - | evolution_method | + | |
| - | evolution_method_rk | + | punctures_lapse |
| - | + | boundary | |
| - | dtfac = 0.25 # courant factor, relating space and time, causal | + | |
| - | finaltime = 20000 # end of simulation time in solar masses | + | ############################################################################ |
| - | + | # gauge | |
| - | z4_normalizedetg | + | |
| - | z4_subtractA | + | Gauge = moving_puncture |
| - | z4_chi_div_floor | + | |
| - | + | compute_moving_puncture_distance = line | |
| - | z4_initial_lapse | + | # |
| - | z4_initial_shift | + | |
| - | z4_lapse | + | # |
| - | z4_shift | + | # |
| - | z4_shiftalphapower | + | # |
| - | z4_shiftdriver | + | |
| - | z4_shiftgammacoeff | + | ############################################################################# |
| - | + | # invariants | |
| - | z4_kappa1 | + | |
| - | z4_kappa2 | + | ntheta |
| - | + | nphi = 46 | |
| - | punctures_lapse | + | invariants_compute_modes |
| - | # boundary | + | invariants_modes_r |
| - | + | invariants_modes_lmin | |
| - | boundary | + | invariants_modes_lmax |
| - | + | invariants_energy_r | |
| - | ############################################################################ | + | gauss_codacci_mainardi |
| - | # gauge | + | invariants_order |
| - | + | ||
| - | Gauge = moving_puncture | + | ############################################################################# |
| - | + | #ADM Mass | |
| - | compute_moving_puncture_distance = line | + | |
| - | # | + | ADM_mass_ncircles |
| - | + | ADM_mass_npoints | |
| - | # | + | ADM_mass_lmin |
| - | # | + | ADM_mass_lmax |
| - | # | + | ADM_mass_r |
| - | + | ||
| - | ############################################################################# | + | ####################################################### |
| - | # invariants | + | # AHmod |
| - | + | ||
| - | ntheta | + | AHmod_verbose |
| - | nphi = 46 # phi angle | + | AHmod_ntheta |
| - | invariants_compute_modes | + | AHmod_nphi |
| - | invariants_modes_r | + | AHmod_LMAX |
| - | invariants_modes_lmin | + | AHmod_interpolation_order = 4 |
| - | invariants_modes_lmax | + | AHmod_nhorizons |
| - | invariants_energy_r | + | AHmod_searchMTS |
| - | gauss_codacci_mainardi | + | AHmod_uselast |
| - | invariants_order | + | AHmod_initial_guess_expand = 1.0 |
| - | + | AHmod_LevelOffset = 1 | |
| - | + | AHmod_UseOptimalLevel = no | |
| - | ############################################################################# | + | AHmod_surface0_WaitUntilClosePunctures = no |
| - | #ADM Mass | + | AHmod_flow_iter |
| - | + | AHmod_mass_tol | |
| - | ADM_mass_ncircles | + | AHmod_hmean_tol |
| - | ADM_mass_npoints | + | AHmod_time |
| - | ADM_mass_lmin | + | AHmod_output |
| - | ADM_mass_lmax | + | AHmod_output_xyt |
| - | ADM_mass_r | + | AHmod_output_lm |
| - | + | ||
| - | + | ############################################################################## | |
| - | ####################################################### | + | # hydroanalysis |
| - | # (better use AHmod !) | + | |
| - | + | hydroanalysis_ejecta_spheres | |
| - | AHmod_verbose | + | hydroanalysis_ejecta_spheres_radius = 200 |
| - | AHmod_ntheta | + | hydroanalysis_ejecta_nradius = 5 |
| - | AHmod_nphi | + | hydroanalysis_ejecta_dradius = 100 |
| - | AHmod_LMAX | + | |
| - | AHmod_interpolation_order = 4 | + | hydroanalysis_Mbar_radius |
| - | AHmod_nhorizons | + | hydroanalysis_Mbar_nradius = 12 |
| - | AHmod_searchMTS | + | hydroanalysis_Mbar_dradius = 1. |
| - | AHmod_uselast | + | hydroanalysis_rATM |
| - | AHmod_initial_guess_expand = 1.0 | + | hydroa_mode_projection |
| - | AHmod_LevelOffset = 1 | + | |
| - | AHmod_UseOptimalLevel = no | + | ############################################################################ |
| - | AHmod_surface0_WaitUntilClosePunctures = no | + | #puncture properties |
| - | AHmod_flow_iter | + | |
| - | AHmod_mass_tol | + | moving_puncture_finboxfix = 20 |
| - | AHmod_hmean_tol | + | moving_puncture_finboxfixv = 6 |
| - | #AHmod_time | + | moving_puncture_properties |
| - | AHmod_output | + | puncture_properties_r |
| - | AHmod_output_xyt | + | puncture_properties_punc |
| - | AHmod_output_lm | + | puncture_properties_npoints = 40 |
| - | + | puncture_properties_circles = 41 | |
| - | ############################################################################## | + | |
| - | # hydroanalysis | + | ############################################################################# |
| - | + | # output | |
| - | hydroanalysis_ejecta_spheres | + | |
| - | hydroanalysis_ejecta_spheres_radius = 200 # constructing diff spheres at which you check if matter is inside, checking ejecta passing through shells/ | + | 0doutput |
| - | hydroanalysis_ejecta_nradius = 5 # number of spheres, where we check for ejecta matter | + | |
| - | hydroanalysis_ejecta_dradius = 100 # stepsize of ejecta sphere radius increase | + | |
| - | + | # | |
| - | hydroanalysis_Mbar_radius | + | # |
| - | hydroanalysis_Mbar_nradius = 12 | + | # |
| - | hydroanalysis_Mbar_dradius = 1. | + | # |
| - | hydroanalysis_rATM | + | # |
| - | hydroa_mode_projection | + | |
| - | + | 2doutput | |
| - | ############################################################################ | + | |
| - | #puncture properties | + | 2dformat |
| - | + | 2doutinterpolate | |
| - | moving_puncture_finboxfix = 20 | + | 2doutputall |
| - | moving_puncture_finboxfixv = 6 | + | |
| - | + | 3doutput | |
| - | moving_puncture_properties | + | 3dformat |
| - | puncture_properties_r | + | 3doutinterpolate |
| - | puncture_properties_punc | + | 3doutputall = yes |
| - | puncture_properties_npoints = 40 | + | |
| - | puncture_properties_circles = 41 | + | # |
| - | + | | |
| - | ############################################################################# | + | |
| - | # output | + | |
| - | + | ||
| - | # | + | |
| - | 0douttime | + | |
| - | 0doutput | + | |
| - | + | ||
| - | # | + | |
| - | # | + | |
| - | # | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | 2douttime | + | |
| - | 2doutput | + | |
| - | 2dformat | + | |
| - | 2doutinterpolate | + | |
| - | 2doutputall | + | |
| - | + | ||
| - | # For now the string for the 2doutputr parameter is not used, just make | + | |
| - | # sure, it is non-empty! | + | |
| - | # | + | |
| - | + | ||
| - | 3douttime | + | |
| - | 3doutput | + | |
| - | 3dformat | + | |
| - | 3doutinterpolate | + | |
| - | 3doutputall = yes | + | |
| - | + | ||
| - | ############################################################################# | + | |
Last modified: le 2024/07/23 13:55
