u/erica/2DShockedClumpsSNR: physics.data

File physics.data, 9.8 KB (added by Erica Kaminski, 7 years ago)
Line 
1!================================================================================
2! AstroBEAR physics.data file.
3! Input data describing built-in physics-related parameters of the code.
4! Created for problem: Template
5! Default values for variables in [brackets]
6!================================================================================
7
8&EOSData
9!================================================================================
10! Equation of State stuff
11!================================================================================
12iEOS = 0 ! Equation of State [0]-ideal gas, 1-MultiSpecies gas, 3-Van der Waals gas, 4-Isothermal, 5-Marshak Radiation Test
13gamma = 1.66666666667 ! Adiabatic index used for ideal gas and Van der Waals gas [1.66666666667]
14IsoTemp = 10d0 ! Isothermal temperature for Isothermal EOS
15CriticalDens = 30.693677103 ! maximum density in Van der Waals EOS
16AttractionParam = 1.38d6 ! attraction pram in Van der Waals EOS
17Marshak_epsilon = .5 ! Ratio of Equilibrium Radiation energy density to thermal energy density
18/
19
20&AbundanceData
21!================================================================================
22! Abundance information
23! Define Xmu or set it to zero and it will be calculated from everything else.
24!================================================================================
25HeFrac = .084d0 ! Ratio of Helium Nuclei to Hydrogen Nuclei
26xH = .01d0 ! Ionization fraction of Hydrogenn
27xHe = 0d0 ! Ionization fraction of Helium (singly ionized)
28xHeII = 0d0 ! Ionization fraction of Helium (doubly ionized)
29ZFrac = .00126d0 ! Ratio of Metal Nuclei to Hydrogen Nuclei
30xZ = .001d0 ! Ionization fraction of metals
31Zmu = 16d0 ! Mean atomic mass of metals - (including electrons from ionized metals)
32Xmu = 1.30 ! Mean atomic mass of everything - (including all free electrons and nuclei)
33/
34
35&PhysicsData
36!================================================================================
37! Field based refinement control
38!================================================================================
39InterpOpts = 0,0,0,0,0,0,0,0,0,0,0 ! [0]-constant, 1-minmod, 2-superbee, 3-vanLeer, 4-mc, 5-Parabolic (not conservative), 6-Linear (not limited). It is recommended to use constant interpolation for any fields in q that correspond to aux fields (iBx, iBy, iBz, etc...)
40refineVariableFactor = 1d0,0d0,0d0,0d0,1d0,0d0,0d0,0d0,0d0,0d0,0d0 ! weight factors for each field used in triggering refinement. Combined with qtolerance for that level. [1d0]
41
42!================================================================================
43! Global source term switches
44!================================================================================
45iSelfGravity = 0 ! [0]-No Self Gravity, 1-Momentumn Conserving SelfGravity, 2-Non momentum conserving self-gravity
46DefaultAccretionRoutine = 1 ! 0-No accretion, [1]-Federrath Accretion, [2]-Krumholz Accretion
47UniformGravity = 0d0 ! Gravitational acceleration in the -y direction [0d0]
48OmegaRot = 0d0 ! Shifts to a rotating reference frame (enables coriolis and centripetal force terms)
49iCylindrical = 0 ! [0]-No cylindrical geometry, 1-Cylindrical with no angular momentum, 2-Cylindrical with angular momentum
50iCooling = 0 ! Cooling module [NoCool=0, AnalyticCool=1, DMCool=2, IICool=3, ZCool=4]
51FloorTemp = 100 ! Temperature at which to shut of cooling source terms
52SrcPrecision = 1d-3 ! Relative precision desired for source terms. [1d-3]
53lTrackHydrogen = .false. ! Track Hydrogen ionization and recombination (Currently only works with iEOS=1 (MultiSpecies)
54lTrackHelium = .false. ! Track Helium ionization and recombination (Currently only works with iEOS=1 (MultiSpecies)
55iLineTransfer = 0 ! Turn on photo-ionizing line transfer from left by setting to 1.
56LineTransferFlux = 0 ! Incoming flux at left boundary in units of cm^-2 s^-1 used if iLineTransfer=1
57
58!================================================================================
59! Density Protection Options
60!================================================================================
61lRestartOnDensityProtections = .false. ! Do density protections trigger restarts? [.false.]
62lTrackDensityProtections = .false. ! Track density protections [.false.]
63iDensityProtect = 2 ! 0-Set to MinDensity, 1-Set to minimum nearby density, [2]-Average nearby densities
64iMomentumProtect = 2 ! 0-Conserve momentum, 1-Set to zero, [2]-Average nearby velocities
65MinDensity = 1d-10 ! Minimum computational density before protection is triggered [1d-10]
66
67!================================================================================
68! Pressure Protection Options
69!================================================================================
70lRestartOnPressureProtections = .false. ! Do pressure protections trigger restarts? [.false.]
71lTrackPressureProtections = .false. ! Track pressure protections [.false.]
72iPressureProtect = 4 ! 0-Set to MinTemp, 1-Set to minimim nearby pressure, [2]-Set to average nearby pressure, 3-Set to minimum nearby temperature, 4-Set to average nearby temperature
73MinTemp = 1d-10 ! [1d-10] minimum allowed temperature for the system in Kelvin before protection is triggered
74
75!================================================================================
76! Other Protection Options
77!================================================================================
78lRestartOnHypreMaxIters = T ! Restart steps if hypre does not converge
79
80!================================================================================
81! Description of various scaling parameters
82! Define lScale and one of [nScale, rScale], and one of [TimeScale, TempScale, or pScale]. Other combinations are possible - as long as the scales are consistent with each other.
83!================================================================================
84nScale = 1d6, ! number density scale parameter [particles/cc]
85rScale = 0d0, ! density scale [g/cc]
86TimeScale = 0d0, ! time scale [s] (day=8.64d4, yr=3.1556926d7
87TempScale = 1d0, ! temperature scale parameter [Kelvin]
88pScale = 0d0, ! pressure scale [dynes/cm^2]
89lScale = 1d16, ! length scale parameter [cm] (AU=1.49598e13, pc=3.08568025e18, R_sun=6.955e10
90
91!================================================================================
92! MHD related section
93!================================================================================
94lMHD = .false. ! Magnetic Fields present? [.false.]
95lCheckDivergence = .false. ! Turn on divergence checking [.false.]
96
97!================================================================================
98! Resistivity switches
99!================================================================================
100lResistive = .false. ! Turns on resistivity [.false.]
101ResType = 2 ! Resistivity type. 1-constant, 2-user defined distribution, 3-Spitzer. [1]
102resistivity = 1.2d-1 ! resistivity value [0d0]
103
104!================================================================================
105! Explicit Conductivity switches
106!================================================================================
107lConductive = .false. ! Turns on mhd heat conduction [.false.]
108ConType = 1 ! Conduction type. 1-constant, 2-Spitzer. [1]
109conductivity = 8d-2 ! conductivity value [0d0]
110lThermalFluxLimiter = .false. ! Turns on saturation heat flux. (only works for ConType==2). [.false.]
111lIsoDiff = .false. ! Turns on isotropic heat conduction. Allows isotropicity to be in the range (0,1). [.false.]
112
113!================================================================================
114! Implicit Thermal Diffusion switches
115!================================================================================
116iDiffusion = 0 ! [0]-No diffusion, [1]-Thermal diffusion
117kappa1 = 1d0 ! Heat diffusion coefficient
118flb = 0d0 ! boundary flux
119ndiff = 2.5 ! Temperature power
120diffcfl = .01 ! Relative Temperature change allowed per subcycle
121
122!================================================================================
123! Viscosity switches
124!================================================================================
125lViscous = .false. ! Turns on viscosity (2D only) [.false.]
126VisType = 1 ! viscosity type. 1-classic, 2-Braginskii [1]
127bviscosity = 0d0 ! viscosity value [0d0]
128
129!================================================================================
130! Radiation Transfer switches
131!================================================================================
132iRadiation = 0 ! [0]-No radiation, 1-Diffusion and energy exchange only, 2-Radiation Advection terms included as well
133RadLimiter = 1 ! [0]-LP_FLUX_LIMITER, 1-Diffusion limit, 2-Free streaming limit
134PlanckOpacityType = 0 ! [0]-Constant Specific Opacity (k=A*d), [1]-Power Law Opacity (k=A*d^B*T^C)
135RoselandOpacityType = 0 ! [0]-Constant Specific Opacity (k=A*d), [1]-Power Law Opacity (k=A*d^B*T^C)
136PlanckSpecificOpacity = 1d0 ! Specific Planck Opacity [1d0] (A)
137RoselandSpecificOpacity = 1d0 ! Specific Roseland Opacity [1d0] (A)
138Roseland_dpow = 1d0 ! Density Power for Roseland Opacity [1d0] (B)
139Roseland_tpow = 0d0 ! Temperature Power for Roseland Opacity [0d0] (C)
140Planck_dpow = 1d0 ! Density Power for Planck Opacity [1d0] (B)
141Planck_tpow = 0d0 ! Temperature Power for Planck Opacity [0d0] (C)
142/