|
| 1 | +<?xml version="1.0" ?> |
| 2 | + |
| 3 | +<Problem> |
| 4 | + <Solvers> |
| 5 | + <CompositionalMultiphaseFVM |
| 6 | + name="compflow" |
| 7 | + logLevel="1" |
| 8 | + discretization="fluidTPFA" |
| 9 | + temperature="368.15" |
| 10 | + useMass="1" |
| 11 | + isThermal="1" |
| 12 | + initialDt="1e3" |
| 13 | + maxCompFractionChange="0.5" |
| 14 | + targetRegions="{ region }"> |
| 15 | + <NonlinearSolverParameters |
| 16 | + newtonTol="1.0e-6" |
| 17 | + newtonMaxIter="100" |
| 18 | + lineSearchAction="None" |
| 19 | + maxTimeStepCuts="5"/> |
| 20 | + <LinearSolverParameters |
| 21 | + directParallel="0"/> |
| 22 | + </CompositionalMultiphaseFVM> |
| 23 | + </Solvers> |
| 24 | + |
| 25 | + <Mesh> |
| 26 | + <InternalMesh |
| 27 | + name="mesh1" |
| 28 | + elementTypes="{ C3D8 }" |
| 29 | + xCoords="{ 0, 100 }" |
| 30 | + yCoords="{ 0, 100 }" |
| 31 | + zCoords="{ 0, 1 }" |
| 32 | + nx="{ 10 }" |
| 33 | + ny="{ 10 }" |
| 34 | + nz="{ 1 }" |
| 35 | + cellBlockNames="{ cb }"/> |
| 36 | + </Mesh> |
| 37 | + |
| 38 | + <Geometry> |
| 39 | + <Box |
| 40 | + name="sink" |
| 41 | + xMin="{ 89.99, 89.99, -0.01 }" |
| 42 | + xMax="{ 101.01, 101.01, 1.01 }"/> |
| 43 | + |
| 44 | + <Box |
| 45 | + name="source" |
| 46 | + xMin="{ -0.01, -0.01, -0.01 }" |
| 47 | + xMax="{ 10.01, 10.01, 1.01 }"/> |
| 48 | + </Geometry> |
| 49 | + |
| 50 | + <Events |
| 51 | + maxTime="1.5e5"> |
| 52 | + <PeriodicEvent |
| 53 | + name="outputs" |
| 54 | + timeFrequency="2.5e4" |
| 55 | + target="/Outputs/vtkOutput"/> |
| 56 | + |
| 57 | + <PeriodicEvent |
| 58 | + name="solverApplications" |
| 59 | + maxEventDt="2.5e4" |
| 60 | + target="/Solvers/compflow"/> |
| 61 | + |
| 62 | + <PeriodicEvent |
| 63 | + name="restarts" |
| 64 | + timeFrequency="7.5e4" |
| 65 | + target="/Outputs/sidreRestart"/> |
| 66 | + </Events> |
| 67 | + |
| 68 | + <NumericalMethods> |
| 69 | + <FiniteVolume> |
| 70 | + <TwoPointFluxApproximation |
| 71 | + name="fluidTPFA"/> |
| 72 | + </FiniteVolume> |
| 73 | + </NumericalMethods> |
| 74 | + |
| 75 | + <ElementRegions> |
| 76 | + <CellElementRegion |
| 77 | + name="region" |
| 78 | + cellBlocks="{ cb }" |
| 79 | + materialList="{ fluid, rock, relperm, thermalCond }"/> |
| 80 | + </ElementRegions> |
| 81 | + |
| 82 | + <Constitutive> |
| 83 | + |
| 84 | + <CompressibleSolidConstantPermeability |
| 85 | + name="rock" |
| 86 | + solidModelName="nullSolid" |
| 87 | + porosityModelName="rockPorosity" |
| 88 | + permeabilityModelName="rockPerm" |
| 89 | + solidInternalEnergyModelName="rockInternalEnergy"/> |
| 90 | + <NullModel |
| 91 | + name="nullSolid"/> |
| 92 | + <PressurePorosity |
| 93 | + name="rockPorosity" |
| 94 | + defaultReferencePorosity="0.2" |
| 95 | + referencePressure="0.0" |
| 96 | + compressibility="1.0e-9"/> |
| 97 | + <SolidInternalEnergy |
| 98 | + name="rockInternalEnergy" |
| 99 | + volumetricHeatCapacity="1.95e6" |
| 100 | + referenceTemperature="368.15" |
| 101 | + referenceInternalEnergy="0"/> |
| 102 | + <ConstantPermeability |
| 103 | + name="rockPerm" |
| 104 | + permeabilityComponents="{ 1.0e-13, 1.0e-13, 1.0e-13 }"/> |
| 105 | + |
| 106 | + <CO2BrinePhillipsThermalFluid |
| 107 | + name="fluid" |
| 108 | + phaseNames="{ gas, water }" |
| 109 | + componentNames="{ co2, water }" |
| 110 | + componentMolarWeight="{ 44e-3, 18e-3 }" |
| 111 | + phasePVTParaFiles="{ pvtgas.txt, pvtliquid.txt }" |
| 112 | + flashModelParaFile="co2flash.txt"/> |
| 113 | + |
| 114 | + <BrooksCoreyRelativePermeability |
| 115 | + name="relperm" |
| 116 | + phaseNames="{ gas, water }" |
| 117 | + phaseMinVolumeFraction="{ 0.0, 0.0 }" |
| 118 | + phaseRelPermExponent="{ 1.5, 1.5 }" |
| 119 | + phaseRelPermMaxValue="{ 0.9, 0.9 }"/> |
| 120 | + |
| 121 | + <ConstantThermalConductivity |
| 122 | + name="thermalCond" |
| 123 | + phaseNames="{ gas, water }" |
| 124 | + thermalConductivityComponents="{ 0.6, 0.6, 0.6 }"/> |
| 125 | + |
| 126 | + </Constitutive> |
| 127 | + |
| 128 | + <FieldSpecifications> |
| 129 | + |
| 130 | + <FieldSpecification |
| 131 | + name="initialPressure" |
| 132 | + initialCondition="1" |
| 133 | + setNames="{ all }" |
| 134 | + objectPath="ElementRegions/region/cb" |
| 135 | + fieldName="pressure" |
| 136 | + scale="9e6"/> |
| 137 | + <FieldSpecification |
| 138 | + name="initialTemperature" |
| 139 | + initialCondition="1" |
| 140 | + setNames="{ all }" |
| 141 | + objectPath="ElementRegions/region/cb" |
| 142 | + fieldName="temperature" |
| 143 | + scale="368.15"/> |
| 144 | + <FieldSpecification |
| 145 | + name="initialComposition_co2" |
| 146 | + initialCondition="1" |
| 147 | + setNames="{ all }" |
| 148 | + objectPath="ElementRegions/region/cb" |
| 149 | + fieldName="globalCompFraction" |
| 150 | + component="0" |
| 151 | + scale="0.005"/> |
| 152 | + <FieldSpecification |
| 153 | + name="initialComposition_water" |
| 154 | + initialCondition="1" |
| 155 | + setNames="{ all }" |
| 156 | + objectPath="ElementRegions/region/cb" |
| 157 | + fieldName="globalCompFraction" |
| 158 | + component="1" |
| 159 | + scale="0.995"/> |
| 160 | + |
| 161 | + <FieldSpecification |
| 162 | + name="sinkPressure" |
| 163 | + setNames="{ sink }" |
| 164 | + objectPath="ElementRegions/region/cb" |
| 165 | + fieldName="pressure" |
| 166 | + scale="7e6"/> |
| 167 | + <FieldSpecification |
| 168 | + name="sinkTemperature" |
| 169 | + setNames="{ sink }" |
| 170 | + objectPath="ElementRegions/region/cb" |
| 171 | + fieldName="temperature" |
| 172 | + scale="368.15"/> |
| 173 | + <FieldSpecification |
| 174 | + name="sinkTermComposition_co2" |
| 175 | + setNames="{ sink }" |
| 176 | + objectPath="ElementRegions/region/cb" |
| 177 | + fieldName="globalCompFraction" |
| 178 | + component="0" |
| 179 | + scale="0.005"/> |
| 180 | + <FieldSpecification |
| 181 | + name="sinkTermComposition_water" |
| 182 | + setNames="{ sink }" |
| 183 | + objectPath="ElementRegions/region/cb" |
| 184 | + fieldName="globalCompFraction" |
| 185 | + component="1" |
| 186 | + scale="0.995"/> |
| 187 | + |
| 188 | + <FieldSpecification |
| 189 | + name="sourcePressure" |
| 190 | + setNames="{ source }" |
| 191 | + objectPath="ElementRegions/region/cb" |
| 192 | + fieldName="pressure" |
| 193 | + scale="1.45e7"/> |
| 194 | + <FieldSpecification |
| 195 | + name="sourceTemperature" |
| 196 | + setNames="{ source }" |
| 197 | + objectPath="ElementRegions/region/cb" |
| 198 | + fieldName="temperature" |
| 199 | + scale="300.15"/> |
| 200 | + <FieldSpecification |
| 201 | + name="sourceTermComposition_co2" |
| 202 | + setNames="{ source }" |
| 203 | + objectPath="ElementRegions/region/cb" |
| 204 | + fieldName="globalCompFraction" |
| 205 | + component="0" |
| 206 | + scale="0.995"/> |
| 207 | + <FieldSpecification |
| 208 | + name="sourceTermComposition_water" |
| 209 | + setNames="{ source }" |
| 210 | + objectPath="ElementRegions/region/cb" |
| 211 | + fieldName="globalCompFraction" |
| 212 | + component="1" |
| 213 | + scale="0.005"/> |
| 214 | + </FieldSpecifications> |
| 215 | + |
| 216 | + <Outputs> |
| 217 | + <VTK |
| 218 | + name="vtkOutput"/> |
| 219 | + |
| 220 | + <Restart |
| 221 | + name="sidreRestart"/> |
| 222 | + </Outputs> |
| 223 | +</Problem> |
0 commit comments