| 1 | !============================================================================================
|
|---|
| 2 | ! AstroBEAR global.data File
|
|---|
| 3 | ! Global parameters, Contains GlobalData and LevelData and PoissonData namelists.
|
|---|
| 4 | ! Configured for: 1DJet
|
|---|
| 5 | ! Default values for variables in [brackets]
|
|---|
| 6 | !============================================================================================
|
|---|
| 7 |
|
|---|
| 8 | &GlobalData
|
|---|
| 9 |
|
|---|
| 10 | !=============================================================================================
|
|---|
| 11 | ! Parameters Related to Space
|
|---|
| 12 | !=============================================================================================
|
|---|
| 13 | nDim = 2 ! number of dimensions for this problem (1-3)
|
|---|
| 14 | GmX = 42,420,1 ! Base grid resolution [x,y,z]
|
|---|
| 15 | MaxLevel = 5 ! Maximum level for this simulation (0 is fixed grid)
|
|---|
| 16 |
|
|---|
| 17 | GxBounds = 0d0,0d0,0d0,6d0,60d0,0d0 ! Problem boundaries in computational units,format:
|
|---|
| 18 | ! (xlower, ylower, zlower, xupper, yupper, zupper)
|
|---|
| 19 | ! For 2D problems, set zlower and zupper to 0.d0.
|
|---|
| 20 |
|
|---|
| 21 | Gmthbc = 5,4,1,1,1,1 ! Sets the physical boundary conditions at the edge of the problem domain
|
|---|
| 22 | ! format: (x1, y1, z1, x2, y2, z2)
|
|---|
| 23 | ! 1-Extrapolated,
|
|---|
| 24 | ! 2-Periodic,
|
|---|
| 25 | ! 3-ReflectingWall (Field lines do not penetrate)
|
|---|
| 26 | ! 4-Reflect_BParallel (Field lines held normal
|
|---|
| 27 | ! 5-Reflect_Cylindrical (Like reflect wall, but also changes sign of phi
|
|---|
| 28 | ! components of velocity and magnetic fields)
|
|---|
| 29 | ! [1,1,1,1,1,1]
|
|---|
| 30 |
|
|---|
| 31 | !=============================================================================================
|
|---|
| 32 | ! Parameters Related to Time
|
|---|
| 33 | !=============================================================================================
|
|---|
| 34 | start_time = 0d0 ! The initial time in computational units [0d0]. Do NOT change this on restarts.
|
|---|
| 35 | final_time = 2.866183232d0 ! The final time in computational units.
|
|---|
| 36 | final_frame = 100 ! The final frame [10]
|
|---|
| 37 | lRestart = F ! restart flag [F]
|
|---|
| 38 | lPostProcess = F ! Post Process (preempts lrestart) [F]
|
|---|
| 39 | restart_frame = 47 ! The frame from which restarts should begin. Ignored unless lRestart or lPostProcess = .true.
|
|---|
| 40 | initial_maxspeed = 1000.d0 ! A lower bound on the initial maximum wave speed in computational units.
|
|---|
| 41 | cfl_vars = 1, .5, .5 ! Maximum allowed CFL before restarting step, desired CFL to run at, relaxation parameter. Smaller numbers give more gradual relaxation [1, .3, .5]
|
|---|
| 42 |
|
|---|
| 43 |
|
|---|
| 44 | !=============================================================================================
|
|---|
| 45 | ! Parameters Related to Performance/Algorithms
|
|---|
| 46 | !=============================================================================================
|
|---|
| 47 | lSkipProfile = T ! Flag for skipping profiling [T] - should set this to false for good performance on production runs.
|
|---|
| 48 | lUseOriginalNewSubGrids = F ! T for Old Subgrid Algo, F for New Subgrid Algo. [F]
|
|---|
| 49 | MinimumGridPoints = 2 ! The minimum number of cells a grid can have along one dimension [2] (ignored unless lUseOriginalNewSubGrids=T).
|
|---|
| 50 | iThreaded = 0 ! -1 is non-threaded, 0 is pseudo-threaded, 1 is threaded [0]. If you are using threaded you must compile with pThreadFlag=2
|
|---|
| 51 | LevelBalance = 0d0,0d0 ! Try to balance load on every level? [0d0,0d0]
|
|---|
| 52 |
|
|---|
| 53 | /
|
|---|
| 54 |
|
|---|
| 55 | !============================================================================================
|
|---|
| 56 | !Level-specific variables (All LevelData lists should be initialized from 0 to MaxLevel).
|
|---|
| 57 | !============================================================================================
|
|---|
| 58 |
|
|---|
| 59 | &LevelData
|
|---|
| 60 | qTolerance = .10,.25,.40,.55,.70,.85,.90,.10 ! field variable tolerances on each level
|
|---|
| 61 | DesiredFillRatios = .70,.70,.70,.70,.70,.70,.70,.70 ! Determines how much of the new subgrids must be filled with refined cells (also ignored unless lUseOriginalNewSubGrids=T)
|
|---|
| 62 | buffers = 2, 2, 2, 2, 2, 2, 2, 2 ! ErrFlag buffering
|
|---|
| 63 | /
|
|---|
| 64 |
|
|---|
| 65 |
|
|---|
| 66 | !============================================================================================
|
|---|
| 67 | !Level-specific variables (All LevelData lists should be initialized from 0 to MaxLevel).
|
|---|
| 68 | !============================================================================================
|
|---|
| 69 |
|
|---|
| 70 | &PoissonData
|
|---|
| 71 | solver = 1 ! Which solver to use for linear system solve? StructPCG=1, StructGMRes=2 [1]
|
|---|
| 72 | tolerance = 1e-6 ! Solver convergence tolerance [1e-6]
|
|---|
| 73 | printlevel = 0 ! Sets print level for hypre solver. Increasing this will make solvers more verbose. [0]
|
|---|
| 74 | MaxIters = 1000 ! Maximum number of iterations to attempt convergence. [1000]
|
|---|
| 75 | hverbosity = 0 ! Anything > 0 will cause linear systems to be outputted as matrix, rhs, lhs files. [0]
|
|---|
| 76 | mthbc = 2 2 2 2 2 2 ! What type of boundary conditions to use for gravitational potential
|
|---|
| 77 | ! format: (x1, y1, z1, x2, y2, z2)
|
|---|
| 78 | ! 0-Zero Slope,
|
|---|
| 79 | ! 1-Reflecting,
|
|---|
| 80 | ! 2-Periodic,
|
|---|
| 81 | ! 3-Multipole Expansion,
|
|---|
| 82 | ! 4-User Specified (User is reponsible for setting Phi at physical boundaries)
|
|---|
| 83 | /
|
|---|