CameraObjects: physics.data

File physics.data, 9.6 KB (added by madams, 10 years ago)

physics.data for clump example

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.666667d0 ! 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 = 0d0 ! 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,1d0,1d0,1d0,1d0,1d0,1d0,1d0,1d0,1d0,1d0 ! 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 = 1d-10 ! 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)
55
56!================================================================================
57! Density Protection Options
58!================================================================================
59lRestartOnDensityProtections = .false. ! Do density protections trigger restarts? [.false.]
60iDensityProtect = 2 ! 0-Set to MinDensity, 1-Set to minimum nearby density, [2]-Average nearby densities
61iMomentumProtect = 2 ! 0-Conserve momentum, 1-Set to zero, [2]-Average nearby velocities
62MinDensity = 1d-10 ! Minimum computational density before protection is triggered [1d-10]
63
64!================================================================================
65! Pressure Protection Options
66!================================================================================
67lRestartOnPressureProtections = .false. ! Do pressure protections trigger restarts? [.false.]
68iPressureProtect = 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
69MinTemp = 1d-10 ! [1d-10] minimum allowed temperature for the system in Kelvin before protection is triggered
70
71!================================================================================
72! Other Protection Options
73!================================================================================
74lRestartOnHypreMaxIters = T ! Restart steps if hypre does not converge
75
76!================================================================================
77! Description of various scaling parameters
78! 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.
79!================================================================================
80nScale = 1d0, ! number density scale parameter [particles/cc]
81rScale = 0d0, ! density scale [g/cc]
82TimeScale = 0d0, ! time scale [s] (day=8.64d4, yr=3.1556926d7
83TempScale = 1d0, ! temperature scale parameter [Kelvin]
84pScale = 0d0, ! pressure scale [dynes/cm^2]
85lScale = 1d0, ! length scale parameter [cm] (AU=1.49598e13, pc=3.08568025e18, R_sun=6.955e10
86
87!================================================================================
88! MHD related section
89!================================================================================
90lMHD = .false. ! Magnetic Fields present? [.false.]
91lCheckDivergence = .false. ! Turn on divergence checking [.false.]
92
93!================================================================================
94! Resistivity switches
95!================================================================================
96lResistive = .false. ! Turns on resistivity [.false.]
97ResType = 2 ! Resistivity type. 1-constant, 2-user defined distribution, 3-Spitzer. [1]
98resistivity = 1.2d-1 ! resistivity value [0d0]
99
100!================================================================================
101! Explicit Conductivity switches
102!================================================================================
103lConductive = .false. ! Turns on mhd heat conduction [.false.]
104ConType = 1 ! Conduction type. 1-constant, 2-Spitzer. [1]
105conductivity = 8d-2 ! conductivity value [0d0]
106lThermalFluxLimiter= .false. ! Turns on saturation heat flux. (only works for ConType==2). [.false.]
107lIsoDiff = .false. ! Turns on isotropic heat conduction. Allows isotropicity to be in the range (0,1). [.false.]
108
109!================================================================================
110! Implicit Thermal Diffusion switches
111!================================================================================
112iDiffusion = 0 ! [0]-No diffusion, [1]-Thermal diffusion
113kappa1 = 1d0 ! Heat diffusion coefficient
114flb = 0d0 ! boundary flux
115ndiff = 2.5 ! Temperature power
116diffcfl = .01 ! Relative Temperature change allowed per subcycle
117
118!================================================================================
119! Viscosity switches
120!================================================================================
121lViscous = .false. ! Turns on viscosity (2D only) [.false.]
122VisType = 1 ! viscosity type. 1-classic, 2-Braginskii [1]
123bviscosity = 0d0 ! viscosity value [0d0]
124
125!================================================================================
126! Radiation Transfer switches
127!================================================================================
128iRadiation = 0 ! [0]-No radiation, 1-Diffusion and energy exchange only, 2-Radiation Advection terms included as well
129RadLimiter = 1 ! [0]-LP_FLUX_LIMITER, 1-Diffusion limit, 2-Free streaming limit
130PlanckOpacityType = 0 ! [0]-Constant Specific Opacity (k=A*d), [1]-Power Law Opacity (k=A*d^B*T^C)
131RoselandOpacityType = 0 ! [0]-Constant Specific Opacity (k=A*d), [1]-Power Law Opacity (k=A*d^B*T^C)
132PlanckSpecificOpacity = 1d0 ! Specific Planck Opacity [1d0] (A)
133RoselandSpecificOpacity = 1d0 ! Specific Roseland Opacity [1d0] (A)
134Roseland_dpow = 1d0 ! Density Power for Roseland Opacity [1d0] (B)
135Roseland_tpow = 0d0 ! Temperature Power for Roseland Opacity [0d0] (C)
136Planck_dpow = 1d0 ! Density Power for Planck Opacity [1d0] (B)
137Planck_tpow = 0d0 ! Temperature Power for Planck Opacity [0d0] (C)
138/