-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfig
184 lines (137 loc) · 6.22 KB
/
Config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
# Configuration file for the Sedov explosion problem
# (Sedov, L. I., 1959, Similarity and Dimensional Methods
# in Mechanics [New York: Academic])
# setup BuildAkram -auto -2d +cylindrical -objdir=BuildAkram -nxb=16 -nyb=16 -maxblocks=1000 UseBdryVar=true
REQUIRES Driver
REQUIRES physics/Hydro
REQUIRES physics/Eos
REQUIRES physics/sourceTerms/PlasmaPR
#REQUIRES physics/Diffuse/DiffuseMain
#REQUIRES physics/Diffuse/DiffuseMain/Unsplit
#REQUIRES physics/materialProperties/Conductivity
#REQUIRES physics/materialProperties/Viscosity/ViscosityMain
PPDEFINE NBOUNDARIES 18
IF withParticles
PARTICLETYPE active INITMETHOD lattice MAPMETHOD quadratic ADVMETHOD leapfrog
REQUIRES Particles/ParticlesMain
REQUIRES Particles/ParticlesMain/active
REQUIRES Particles/ParticlesMain/active/massive
REQUESTS Particles/ParticlesInitialization/Lattice
REQUESTS Particles/ParticlesMapping/meshWeighting/CIC
REQUESTS Particles/ParticlesMapping/meshWeighting/MapToMesh
REQUESTS Grid/GridParticles/GridParticlesMapToMesh
REQUESTS Particles/ParticlesMain/active/massive/Leapfrog
REQUESTS IO/IOMain/
REQUESTS IO/IOParticles
ENDIF
LINKIF Grid_markRefineDerefine.F90 Grid/GridMain/paramesh
LINKIF gr_expandDomain.F90 Grid/GridMain/paramesh
D sim_pAmbient Initial ambient pressure
PARAMETER sim_pAmbient REAL 1.E-5
D sim_rhoAmbient Initial ambient density
PARAMETER sim_rhoAmbient REAL 1.
D sim_tempAmbient Initial ambient temperature
PARAMETER sim_tempAmbient REAL 300.
D sim_exl Lower bound for x source
PARAMETER sim_exl REAL 0.0
D sim_exu Lower bound for x source
PARAMETER sim_exu REAL 0.0
D sim_eyl Lower bound for x source
PARAMETER sim_eyl REAL 0.0
D sim_eyu Lower bound for x source
PARAMETER sim_eyu REAL 0.0
D sim_pxl Lower bound for x source
PARAMETER sim_pxl REAL 0.0
D sim_pxu Lower bound for x source
PARAMETER sim_pxu REAL 0.0
D sim_pyl Lower bound for x source
PARAMETER sim_pyl REAL 0.0
D sim_pyu Lower bound for x source
PARAMETER sim_pyu REAL 0.0
D sim_vx Lower bound for x source
PARAMETER sim_vx REAL 0.0
D sim_vy Lower bound for x source
PARAMETER sim_vy REAL 0.0
D sim_vz Lower bound for x source
PARAMETER sim_vz REAL 0.0
D sim_expEnergy Explosion energy (distributed over initial explosion region)
PARAMETER sim_expEnergy REAL 1.
D sim_minRhoInit Density floor for initial condition
PARAMETER sim_minRhoInit REAL 1.E-20 [0.0 ...]
D sim_rInit Radius of region into which explosion energy is dumped
D & initially, used only if tinitial <= 0.
PARAMETER sim_rInit REAL 0.05
D sim_xctr Explosion center coordinates
PARAMETER sim_xctr REAL 0.5
D sim_yctr Explosion center coordinates
PARAMETER sim_yctr REAL 0.5
D sim_zctr Explosion center coordinates
PARAMETER sim_zctr REAL 0.5
D sim_nsubzones Number of `sub-zones' in cells for applying 1d profile
PARAMETER sim_nsubzones INTEGER 7 [1 ...]
D sim_forceCenterDerefine Try to force low refinement level around explosion center?
D sim_centerRefineLevel Desired refinement level at center (if "forcing")
D sim_derefineRadius Radius of center region to force derefinement
PARAMETER sim_forceCenterDerefine BOOLEAN FALSE
PARAMETER sim_centerRefineLevel INTEGER 1 [-1, 1 ...]
PARAMETER sim_derefineRadius REAL 0.0 [0.0 ...]
D sim_profFileName Name of file from which to read a 1D Sedov solution for the
D & initial condition.
D & The data from the file will be rescaled, and a density floor given
D & by sim_minRhoInit will be applied, to construct the initial condition.
D & This file will only be used if tinitial > 0.
PARAMETER sim_profFileName STRING "sedovSolution.dat"
DATAFILES sedovSolution.dat
DATAFILES sedovSolutionMod*.dat
D sim_bcSetBdryVar Whether to set the "bdry" variable in unk (if it exists) to 1
D & in guard cells at reflecting boundaries. Doing this will entice Hydro
D & implementations to lower reconstruction order in adjacent cells, and possibly
D & lower the CFL factor applied to timestep computation as well.
PARAMETER sim_bcSetBdryVar BOOLEAN FALSE
D sim_earliestLSTime earliest time included in Largest-{Norm,Error} summaries
D sim_latestLSTime latest time included in Largest-{Norm,Error} summaries
PARAMETER sim_earliestLSTime REAL 0.0
PARAMETER sim_latestLSTime REAL HUGE(1.0)
D sim_smallestNormRadius inner radius bound of region for norm computation
D sim_largestNormRadius outer radius bound of region for norm computation
PARAMETER sim_smallestNormRadius REAL 0.0
PARAMETER sim_largestNormRadius REAL HUGE(1.0)
D sim_oneLevelIntegralsOnly Whether to compute intgral quantities only on
D & cells at one refinement level, ignoring all finer or coarser cells
PARAMETER sim_oneLevelIntegralsOnly BOOLEAN FALSE
D sim_integralsLevel if sim_oneLevelIntegralsOnly is TRUE, this gives the
D & requested refinement level, either explicitly as a positive integer
D & or as -1 for the largest currently realized level.
PARAMETER sim_integralsLevel INTEGER -1 [-1, 1 ...]
D nblockx num initial blocks in x dir
PARAMETER nblockx INTEGER 12
D nblocky num initial blocks in y dir
PARAMETER nblocky INTEGER 18
D nblockz num initial blocks in z dir
PARAMETER nblockz INTEGER 1
# VARIABLE declarations for analytical solution from file here,
# other VARIABLES declared in Hydro etc.
VARIABLE dena TYPE:PER_VOLUME
VARIABLE prsa
VARIABLE vlxa
VARIABLE vlya
VARIABLE vlza
VARIABLE eina
VARIABLE enra
USESETUPVARS DoAnalytical
IF DoAnalytical
LINKIF Grid_computeUserVars.F90.analytical Simulation
LINKIF IO_writeIntegralQuantities.F90.analytical Simulation
LINKIF Simulation_computeAnalytical.F90.analytical Simulation
#VARIABLE dend
#VARIABLE prsd
#VARIABLE vlrd
#VARIABLE denc
#VARIABLE prsc
#VARIABLE vlrc
ENDIF
USESETUPVARS UseBdryVar
IF UseBdryVar
LINKIF Grid_bcApplyToRegionSpecialized.F90.bdryvar Grid
VARIABLE bdry
ENDIF