|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 |
|
3 | 3 | <Problem> |
4 | | - |
5 | | - <!-- SPHINX_SOLVER --> |
6 | | - <Solvers> |
7 | | - <CompositionalMultiphaseFVM |
8 | | - name="compflow" |
9 | | - logLevel="1" |
10 | | - discretization="fluidTPFA" |
11 | | - temperature="307.15" |
12 | | - initialDt="1" |
13 | | - targetRelativePressureChangeInTimeStep="1" |
14 | | - targetPhaseVolFractionChangeInTimeStep="1" |
15 | | - useMass="1" |
16 | | - targetRegions="{ aquiferTop, aquiferBottom, injectionWell, leakyWell }"> |
17 | | - <NonlinearSolverParameters |
18 | | - newtonTol="1.0e-3" |
19 | | - newtonMaxIter="20" |
20 | | - timeStepIncreaseIterLimit="0.5" |
21 | | - timeStepDecreaseIterLimit="0.9" |
22 | | - maxTimeStepCuts="5" |
23 | | - lineSearchAction="Attempt"/> |
24 | | - <LinearSolverParameters |
25 | | - directParallel="0"/> |
26 | | - </CompositionalMultiphaseFVM> |
27 | | - </Solvers> |
28 | | - <!-- SPHINX_SOLVER_END --> |
29 | 4 |
|
30 | 5 | <Events |
31 | | - maxTime="8.64e6"> |
| 6 | + maxTime="8.64e5"> |
32 | 7 | <PeriodicEvent |
33 | 8 | name="outputs" |
34 | | - timeFrequency="8.64e6" |
| 9 | + timeFrequency="8.64e5" |
35 | 10 | target="/Outputs/vtkOutput"/> |
| 11 | + <PeriodicEvent |
| 12 | + name="statistics" |
| 13 | + timeFrequency="4.32e5" |
| 14 | + target="/Tasks/compflowStatistics"/> |
36 | 15 | <PeriodicEvent |
37 | 16 | name="timeHistoryOutput" |
38 | | - timeFrequency="4.32e6" |
| 17 | + timeFrequency="4.32e5" |
39 | 18 | target="/Outputs/timeHistoryOutput"/> |
40 | 19 | <PeriodicEvent |
41 | 20 | name="timeHistoryCollection" |
42 | | - timeFrequency="4.32e6" |
| 21 | + timeFrequency="4.32e5" |
43 | 22 | target="/Tasks/compOutfluxCollection"/> |
44 | | - <PeriodicEvent |
45 | | - name="solverApplications1" |
46 | | - beginTime="0" |
47 | | - endTime="1e5" |
48 | | - target="/Solvers/compflow"/> |
49 | | - <PeriodicEvent |
50 | | - name="solverApplications2" |
51 | | - beginTime="1e5" |
52 | | - forceDt="1e5" |
53 | | - target="/Solvers/compflow"/> |
54 | 23 | <PeriodicEvent |
55 | 24 | name="restarts" |
56 | | - timeFrequency="4.32e6" |
| 25 | + timeFrequency="4.32e5" |
57 | 26 | targetExactTimestep="0" |
58 | 27 | target="/Outputs/restartOutput"/> |
59 | 28 | <PeriodicEvent |
60 | | - name="statistics" |
61 | | - forceDt="1e6" |
62 | | - target="/Tasks/compflowStatistics"/> |
| 29 | + name="solverApplications" |
| 30 | + target="/Solvers/compflow"/> |
63 | 31 | </Events> |
64 | 32 |
|
65 | 33 | <NumericalMethods> |
|
100 | 68 | materialList="{ }"/> |
101 | 69 | </ElementRegions> |
102 | 70 | <!-- SPHINX_ELEMENT_REGIONS_END --> |
103 | | - |
| 71 | + |
| 72 | + <Geometry> |
| 73 | + <Box |
| 74 | + name="source" |
| 75 | + xMin="{ 99.85, -0.15, -801 }" |
| 76 | + xMax="{ 100.15, 0.15, -769 }"/> |
| 77 | + |
| 78 | + <Box |
| 79 | + name="west" |
| 80 | + xMin="{ -500.01, -500.01, -801 }" |
| 81 | + xMax="{ -499.99, 500.01, -639 }"/> |
| 82 | + <Box |
| 83 | + name="east" |
| 84 | + xMin="{ 499.99, -500.01, -801 }" |
| 85 | + xMax="{ 500.01, 500.01, -639 }"/> |
| 86 | + <Box |
| 87 | + name="north" |
| 88 | + xMin="{ -500.01, -500.01, -801 }" |
| 89 | + xMax="{ 500.01, -499.99, -639 }"/> |
| 90 | + <Box |
| 91 | + name="south" |
| 92 | + xMin="{ -500.01, 499.99, -801 }" |
| 93 | + xMax="{ 500.01, 500.01, -639 }"/> |
| 94 | + |
| 95 | + </Geometry> |
| 96 | + |
104 | 97 | <Constitutive> |
105 | 98 |
|
106 | 99 | <!-- SPHINX_FLUID --> |
|
172 | 165 | name="sourceTerm" |
173 | 166 | objectPath="ElementRegions/injectionWell" |
174 | 167 | component="0" |
175 | | - scale="-0.0887" |
| 168 | + scale="-8.87" |
176 | 169 | setNames="{ source }"/> |
177 | 170 | <!-- SPHINX_SOURCE_BC_END --> |
178 | 171 |
|
179 | 172 | <!-- SPHINX_DIRICHLET_BC --> |
180 | 173 | <FieldSpecification |
181 | | - name="bcPressureAquiferBottom" |
182 | | - objectPath="ElementRegions/aquiferBottom" |
183 | | - setNames="{ east, west, south, north }" |
| 174 | + name="bcPressure" |
| 175 | + objectPath="faceManager" |
| 176 | + setNames="{ east, west, south, north }" |
184 | 177 | fieldName="pressure" |
185 | 178 | functionName="pressureFunction" |
186 | 179 | scale="1"/> |
187 | 180 | <FieldSpecification |
188 | | - name="bcTemperatureAquiferBottom" |
189 | | - objectPath="ElementRegions/aquiferBottom" |
| 181 | + name="bcTemperature" |
| 182 | + objectPath="faceManager" |
190 | 183 | setNames="{ east, west, south, north }" |
191 | 184 | fieldName="temperature" |
192 | 185 | functionName="initTempTable" |
193 | 186 | scale="1"/> |
194 | 187 | <FieldSpecification |
195 | | - name="bcCompositionCO2AquiferBottom" |
| 188 | + name="bcCompositionCO2" |
196 | 189 | setNames="{ east, west, south, north }" |
197 | | - objectPath="ElementRegions/aquiferBottom" |
| 190 | + objectPath="faceManager" |
198 | 191 | fieldName="globalCompFraction" |
199 | 192 | component="0" |
200 | 193 | scale="0.000001"/> |
201 | 194 | <FieldSpecification |
202 | | - name="bcCompositionWaterAquiferBottom" |
| 195 | + name="bcCompositionWater" |
203 | 196 | setNames="{ east, west, south, north }" |
204 | | - objectPath="ElementRegions/aquiferBottom" |
205 | | - fieldName="globalCompFraction" |
206 | | - component="1" |
207 | | - scale="0.999999"/> |
208 | | - |
209 | | - <FieldSpecification |
210 | | - name="bcPressureAquiferTop" |
211 | | - objectPath="ElementRegions/aquiferTop" |
212 | | - setNames="{ east, west, south, north }" |
213 | | - fieldName="pressure" |
214 | | - functionName="pressureFunction" |
215 | | - scale="1"/> |
216 | | - <FieldSpecification |
217 | | - name="bcTemperatureAquiferTop" |
218 | | - objectPath="ElementRegions/aquiferTop" |
219 | | - setNames="{ east, west, south, north }" |
220 | | - fieldName="temperature" |
221 | | - functionName="initTempTable" |
222 | | - scale="1"/> |
223 | | - <FieldSpecification |
224 | | - name="bcCompositionCO2AquiferTop" |
225 | | - setNames="{ east, west, south, north }" |
226 | | - objectPath="ElementRegions/aquiferTop" |
227 | | - fieldName="globalCompFraction" |
228 | | - component="0" |
229 | | - scale="0.000001"/> |
230 | | - <FieldSpecification |
231 | | - name="bcCompositionWaterAquiferTop" |
232 | | - setNames="{ east, west, south, north }" |
233 | | - objectPath="ElementRegions/aquiferTop" |
234 | | - fieldName="globalCompFraction" |
235 | | - component="1" |
236 | | - scale="0.999999"/> |
237 | | - |
238 | | - <FieldSpecification |
239 | | - name="bcPressureLeakyWell" |
240 | | - objectPath="ElementRegions/leakyWell" |
241 | | - setNames="{ east, west, south, north }" |
242 | | - fieldName="pressure" |
243 | | - functionName="pressureFunction" |
244 | | - scale="1"/> |
245 | | - <FieldSpecification |
246 | | - name="bcTemperatureLeakyWell" |
247 | | - objectPath="ElementRegions/leakyWell" |
248 | | - setNames="{ east, west, south, north }" |
249 | | - fieldName="temperature" |
250 | | - functionName="initTempTable" |
251 | | - scale="1"/> |
252 | | - <FieldSpecification |
253 | | - name="bcCompositionCO2LeakyWell" |
254 | | - setNames="{ east, west, south, north }" |
255 | | - objectPath="ElementRegions/leakyWell" |
256 | | - fieldName="globalCompFraction" |
257 | | - component="0" |
258 | | - scale="0.000001"/> |
259 | | - <FieldSpecification |
260 | | - name="bcCompositionWaterLeakyWell" |
261 | | - setNames="{ east, west, south, north }" |
262 | | - objectPath="ElementRegions/leakyWell" |
263 | | - fieldName="globalCompFraction" |
264 | | - component="1" |
265 | | - scale="0.999999"/> |
266 | | - |
267 | | - <FieldSpecification |
268 | | - name="bcPressureInjectionWell" |
269 | | - objectPath="ElementRegions/injectionWell" |
270 | | - setNames="{ east, west, south, north }" |
271 | | - fieldName="pressure" |
272 | | - functionName="pressureFunction" |
273 | | - scale="1"/> |
274 | | - <FieldSpecification |
275 | | - name="bcTemperatureInjectionWell" |
276 | | - objectPath="ElementRegions/injectionWell" |
277 | | - setNames="{ east, west, south, north }" |
278 | | - fieldName="temperature" |
279 | | - functionName="initTempTable" |
280 | | - scale="1"/> |
281 | | - <FieldSpecification |
282 | | - name="bcCompositionCO2InjectionWell" |
283 | | - setNames="{ east, west, south, north }" |
284 | | - objectPath="ElementRegions/injectionWell" |
285 | | - fieldName="globalCompFraction" |
286 | | - component="0" |
287 | | - scale="0.000001"/> |
288 | | - <FieldSpecification |
289 | | - name="bcCompositionWaterInjectionWell" |
290 | | - setNames="{ east, west, south, north }" |
291 | | - objectPath="ElementRegions/injectionWell" |
| 197 | + objectPath="faceManager" |
292 | 198 | fieldName="globalCompFraction" |
293 | 199 | component="1" |
294 | 200 | scale="0.999999"/> |
|
326 | 232 |
|
327 | 233 | <TableFunction |
328 | 234 | name="pressureFunction" |
329 | | - inputVarNames="{ elementCenter }" |
| 235 | + inputVarNames="{ faceCenter }" |
330 | 236 | coordinateFiles="{ xlin.geos, ylin.geos, zlin.geos}" |
331 | 237 | voxelFile="pressure.geos" |
332 | 238 | interpolation="linear" /> |
333 | 239 | <TableFunction |
334 | 240 | name="temperatureFunction" |
335 | | - inputVarNames="{ elementCenter }" |
| 241 | + inputVarNames="{ faceCenter }" |
336 | 242 | coordinateFiles="{ xlin.geos, ylin.geos, zlin.geos}" |
337 | 243 | voxelFile="temperature.geos" |
338 | 244 | interpolation="linear" /> |
|
0 commit comments