Skip to content

Update CO2-brine model documentation #1330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Feb 25, 2021
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions src/coreComponents/constitutive/docs/BlackOilFluid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,17 @@ In order to use the model, GEOSX must be built with ``-DENABLE_PVTPACKAGE=ON`` (

The following attributes are supported:

.. include:: /coreComponents/fileIO/schema/docs/BlackOilFluid.rst
.. include:: ../../../coreComponents/fileIO/schema/docs/BlackOilFluid.rst

Supported phase names are:

* oil
* gas
* water
===== ===========
Value Comment
===== ===========
oil Oil phase
gas Gas phase
water Water phase
===== ===========

Example
=========================
Expand All @@ -99,10 +103,10 @@ Example
<Constitutive>
<BlackOilFluid name="fluid1"
fluidType="LiveOil"
phaseNames="oil gas water"
surfaceDensities="800.0 0.9907 1022.0"
componentMolarWeight="114e-3 16e-3 18e-3"
tableFiles="pvto.txt pvtg.txt pvtw.txt"/>
phaseNames="{ oil, gas, water }"
surfaceDensities="{ 800.0, 0.9907, 1022.0 }"
componentMolarWeight="{ 114e-3, 16e-3, 18e-3 }"
tableFiles="{ pvto.txt, pvtg.txt, pvtw.txt }"/>
</Constitutive>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ Example
<Constitutive>
...
<BrooksCoreyCapillaryPressure name="capPressure"
phaseNames="oil gas"
phaseMinVolumeFraction="0.01 0.015"
phaseCapPressureExponentInv="0 6"
phaseEntryPressure="0 1e8"
phaseNames="{oil, gas}"
phaseMinVolumeFraction="{0.01, 0.015}"
phaseCapPressureExponentInv="{0, 6}"
phaseEntryPressure="{0, 1e8}"
capPressureEpsilon="1e-8"/>
...
</Constitutive>
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ Example
<Constitutive>
...
<BrooksCoreyRelativePermeability name="relPerm"
phaseNames="oil water"
phaseMinVolumeFraction="0.02 0.015"
phaseRelPermExponent="2 2.5"
phaseRelPermMaxValue="0.8 1.0"/>
phaseNames="{oil, water}"
phaseMinVolumeFraction="{0.02, 0.015}"
phaseRelPermExponent="{2, 2.5}"
phaseRelPermMaxValue="{0.8, 1.0}"/>
...
</Constitutive>
252 changes: 214 additions & 38 deletions src/coreComponents/constitutive/docs/CO2Brine.rst

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ In order to use the model, GEOSX must be built with ``-DENABLE_PVTPACKAGE=ON`` (

The following attributes are supported:

.. include:: /coreComponents/fileIO/schema/docs/CompositionalMultiphaseFluid.rst
.. include:: ../../../coreComponents/fileIO/schema/docs/CompositionalMultiphaseFluid.rst

Supported phase names are:

Expand Down Expand Up @@ -51,18 +51,18 @@ Example

<Constitutive>
<CompositionalMultiphaseFluid name="fluid1"
phaseNames="oil gas"
equationsOfState="PR PR"
componentNames="N2 C10 C20 H2O"
componentCriticalPressure="34e5,25.3e5,14.6e5,220.5e5"
componentCriticalTemperature="126.2,622.0,782.0,647.0"
componentAcentricFactor="0.04,0.443,0.816,0.344"
componentMolarWeight="28e-3,134e-3,275e-3,18e-3"
componentVolumeShift="0 0 0 0"
componentBinaryCoeff="0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0"/>
phaseNames="{ oil, gas }"
equationsOfState="{ PR, PR }"
componentNames="{ N2, C10, C20, H2O }"
componentCriticalPressure="{ 34e5, 25.3e5, 14.6e5, 220.5e5 }"
componentCriticalTemperature="{ 126.2, 622.0, 782.0, 647.0 }"
componentAcentricFactor="{ 0.04, 0.443, 0.816, 0.344 }"
componentMolarWeight="{ 28e-3, 134e-3, 275e-3, 18e-3 }"
componentVolumeShift="{ 0, 0, 0, 0 }"
componentBinaryCoeff="{ { 0, 0, 0, 0 },
{ 0, 0, 0, 0 },
{ 0, 0, 0, 0 },
{ 0, 0, 0, 0 } }"/>
</Constitutive>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The model is represented by ``<CompressibleSinglePhaseFluid>`` node in the input

The following attributes are supported:

.. include:: /coreComponents/fileIO/schema/docs/CompressibleSinglePhaseFluid.rst
.. include:: ../../../coreComponents/fileIO/schema/docs/CompressibleSinglePhaseFluid.rst

Example
=========================
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ Example
<Constitutive>
...
<BrooksCoreyBakerRelativePermeability name="relperm"
phaseNames="oil gas water"
phaseMinVolumeFraction="0.05 0.05 0.05"
waterOilRelPermExponent="2.5 1.5"
waterOilRelPermMaxValue="0.8 0.9"
gasOilRelPermExponent="3 3"
gasOilRelPermMaxValue="0.4 0.9"/>
phaseNames="{oil, gas, water}"
phaseMinVolumeFraction="{0.05, 0.05, 0.05}"
waterOilRelPermExponent="{2.5, 1.5}"
waterOilRelPermMaxValue="{0.8, 0.9}"
gasOilRelPermExponent="{3, 3}"
gasOilRelPermMaxValue="{0.4, 0.9}"/>
...
</Constitutive>
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ Example
<Constitutive>
...
<VanGenuchtenCapillaryPressure name="capPressure"
phaseNames="water oil"
phaseMinVolumeFraction="0.1 0.015"
phaseCapPressureExponentInv="0.55 0"
phaseNames="{water, oil}"
phaseMinVolumeFraction="{0.1, 0.015}"
phaseCapPressureExponentInv="{0.55, 0}"
phaseCapPressureMultiplier="1e6 0"
capPressureEpsilon="1e-7"/>
...
Expand Down