Skip to content

Commit 8629e86

Browse files
authored
docs: Update CO2 injection example (#3661)
1 parent 3f9f1e6 commit 8629e86

7 files changed

Lines changed: 11 additions & 15 deletions

File tree

inputFiles/compositionalMultiphaseWell/simpleCo2InjTutorial_base.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797

9898
<PressurePorosity
9999
name="rockPorosity"
100-
defaultReferencePorosity="0.1"
100+
defaultReferencePorosity="0.05"
101101
referencePressure="1.0e7"
102102
compressibility="4.5e-10"/>
103103

@@ -144,7 +144,7 @@
144144
setNames="{ all }"
145145
objectPath="ElementRegions/reservoir"
146146
fieldName="rockPerm_permeability"
147-
scale="3e-15"
147+
scale="1.5e-15"
148148
functionName="permzFunc"/>
149149

150150
<FieldSpecification

src/docs/sphinx/basicExamples/co2Injection/Example.rst

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,7 @@ The model definition requires three text files:
169169

170170
In *co2flash.txt*, we define the CO :sub:`2` solubility model used to compute the amount of CO :sub:`2` dissolved in the brine phase as a function of pressure (in Pascal), temperature (in Kelvin), and salinity (in units of molality):
171171

172-
.. code::
173-
174-
FlashModel CO2Solubility 1e6 1.5e7 5e4 367.15 369.15 1 0
172+
.. literalinclude:: ../../../../../inputFiles/compositionalMultiphaseWell/co2flash.txt
175173

176174
The first keyword is an identifier for the model type (here, a flash model). It is followed by the model name. Then, the lower, upper, and step increment values for pressure and temperature ranges are specified.
177175
The trailing 0 defines a zero-salinity in the model.
@@ -180,15 +178,9 @@ Note that the water component is not allowed to evaporate into the CO :sub:`2` -
180178

181179
The *pvtgas.txt* and *pvtliquid.txt* files define the models used to compute the density and viscosity of the two phases, as follows:
182180

183-
.. code::
184-
185-
DensityFun SpanWagnerCO2Density 1.0e5 7.5e7 1e5 285.15 395.15 5
186-
ViscosityFun FenghourCO2Viscosity 1.0e5 7.5e7 1e5 285.15 395.15 5
181+
.. literalinclude:: ../../../../../inputFiles/compositionalMultiphaseWell/pvtgas.txt
187182

188-
.. code::
189-
190-
DensityFun PhillipsBrineDensity 1.0e5 7.5e7 1e5 285.15 395.15 5 0
191-
ViscosityFun PhillipsBrineViscosity 0
183+
.. literalinclude:: ../../../../../inputFiles/compositionalMultiphaseWell/pvtliquid.txt
192184

193185
In these files, the first keyword of each line is an identifier for the model type (either a density or a viscosity model).
194186
It is followed by the model name.
@@ -297,16 +289,20 @@ forming a gas cap at the top of the domain,
297289

298290
.. |pic1| image:: fcCo2-sat-0.png
299291
:width: 32%
292+
:alt: Gas saturation after 2e7 s
300293
.. |pic2| image:: fcCo2-sat-1.png
301294
:width: 32%
295+
:alt: Gas saturation after 15e7 s
302296
.. |pic3| image:: fcCo2-sat-2.png
303297
:width: 32%
298+
:alt: Gas saturation after 50e7 s
304299

305-
The heterogeneous values of the log permeability field can also be visualized in Paraview as shown below:
300+
The heterogeneous values of the permeability field can also be visualized in Paraview as shown below:
306301

307-
.. image:: fcCo2-logK.png
302+
.. image:: fcCo2-K.png
308303
:width: 400px
309304
:align: center
305+
:alt: Vertical permeability
310306

311307
------------------------------------
312308
To go further
101 KB
Loading
-135 KB
Binary file not shown.
-5.03 KB
Loading
-13.5 KB
Loading
-5.26 KB
Loading

0 commit comments

Comments
 (0)