Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
f9db9fd
1) new constraint schema, 2) resturcture well jac assem loops
tjb-ltk Sep 29, 2025
a9cd276
fix merge errors
tjb-ltk Sep 30, 2025
c59b1a6
fix integrate errors
tjb-ltk Sep 30, 2025
48aabd4
rel mode fix
tjb-ltk Sep 30, 2025
a85ee1d
1) remove old code, 2) test different constraint org, 3) singlephase …
tjb-ltk Oct 2, 2025
8366922
1) SinglePhaseWell adopts new constraint convention, 2) Change constr…
tjb-ltk Oct 7, 2025
4f49bf1
fix constraint sign and normalizers
tjb-ltk Oct 7, 2025
2e82b49
1) compositional_multiphase_wells_1d.xml matches geos branch, 2) sing…
tjb-ltk Oct 8, 2025
6281018
compressible_single_phase_wells_1d.xml matches geos branch
tjb-ltk Oct 9, 2025
205889f
improve naming conventions for well constriant files and classes
tjb-ltk Oct 13, 2025
b6ae5ef
fix reference to 'internal' is ambiguous error
tjb-ltk Oct 13, 2025
fa61ab1
1) well constraint schema script, 2) converted xmls, 3) Failed conver…
tjb-ltk Oct 14, 2025
292c90f
schema
tjb-ltk Oct 15, 2025
d4eb504
1)fixes for catalogue registration, 2) xml convert script still needs…
tjb-ltk Oct 16, 2025
bd3d0cf
fix liq rate schema
tjb-ltk Oct 20, 2025
723c2bc
Revert "1) well constraint schema script, 2) converted xmls, 3) Faile…
tjb-ltk Oct 21, 2025
e39ccf1
xml with new constraint schema, try 2
tjb-ltk Oct 23, 2025
d0fcf79
merge devel
tjb-ltk Oct 27, 2025
8b21d69
remove extra ;
tjb-ltk Oct 28, 2025
470a7ff
remove :
tjb-ltk Oct 28, 2025
b8a90f4
fix constraint schema, phase name on totalvol constraint not allowed
tjb-ltk Oct 28, 2025
94fc9ad
update well constraint schema
tjb-ltk Oct 29, 2025
17047bd
1) expose method for unit tests, 2) update unittests accordingly
tjb-ltk Oct 29, 2025
c6a349f
schema change
tjb-ltk Oct 29, 2025
1c03220
1) remove unused vars , add missing constriant type in selector
tjb-ltk Oct 29, 2025
b5f6c5d
reintroduce control keyword option to be consistent with previous in …
tjb-ltk Oct 30, 2025
c43657e
updated schema
tjb-ltk Oct 30, 2025
e78ef18
add back control keyword
tjb-ltk Oct 30, 2025
b000ed4
add control schema to unit tests
tjb-ltk Oct 30, 2025
a319e0e
uncrustify should be automated
tjb-ltk Oct 30, 2025
9b9ccc2
add control schema
tjb-ltk Oct 31, 2025
a8a4654
restart fix
tjb-ltk Nov 2, 2025
deebeb6
Merge branch 'develop' into feature/byer3/well_constraints
tjb-ltk Nov 3, 2025
5116adb
merge
tjb-ltk Nov 3, 2025
bfde8cf
Revert "merge"
tjb-ltk Nov 3, 2025
161631a
schema
tjb-ltk Nov 3, 2025
076c1b4
schema
tjb-ltk Nov 3, 2025
eb25cac
schema
tjb-ltk Nov 3, 2025
6275e7e
parallel fix, ensure all rank have well constraint state, fix integrate
tjb-ltk Nov 4, 2025
ed20baf
remove std::cout
tjb-ltk Nov 4, 2025
2a6a211
merge
tjb-ltk Nov 4, 2025
79619cd
doxy fix
tjb-ltk Nov 4, 2025
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

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?xml version="1.0" ?>

<Problem>

<!-- SPHINX_FIELD_CASE_Co2_SOLVER -->
<Solvers>
<CompositionalMultiphaseReservoir
name="coupledFlowAndWells"
Expand Down Expand Up @@ -35,19 +33,24 @@
<WellControls
name="wellControls"
type="injector"
control="totalVolRate"
referenceElevation="-3000"
targetBHP="1e8"
enableCrossflow="0"
useSurfaceConditions="1"
surfacePressure="101325"
surfaceTemperature="288.71"
targetTotalRateTableName="totalRateTable"
injectionTemperature="353.15"
injectionStream="{ 1.0, 0.0 }"/>
useSurfaceConditions="1"
surfacePressure="101325"
surfaceTemperature="288.71"
control="totalVolRate">
<MaximumBHPConstraint
name="maxbhp"
targetBHP="1e8"
referenceElevation="-3000"/>
<InjectionVolumeRateConstraint
name="maxvolrateinj"
constraintScheduleTableName="totalRateTable"
injectionStream="{ 1.0, 0.0 }"
injectionTemperature="353.15"/>
</WellControls>
</CompositionalMultiphaseWell>
</Solvers>

<ElementRegions>
<CellElementRegion
name="reservoir"
Expand All @@ -58,11 +61,11 @@
name="wellRegion"
materialList="{ fluid }"/>
</ElementRegions>

<NumericalMethods>
<FiniteVolume>
<TwoPointFluxApproximation
name="fluidTPFA" />
name="fluidTPFA"/>
</FiniteVolume>
</NumericalMethods>

Expand All @@ -80,83 +83,87 @@
solidModelName="nullSolid"
porosityModelName="rockPorosity"
permeabilityModelName="rockPerm"/>

<NullModel
name="nullSolid"/>

<PressurePorosity
name="rockPorosity"
defaultReferencePorosity="0.1"
referencePressure="1.0e7"
compressibility="4.5e-10"/>

<ConstantPermeability
name="rockPerm"
permeabilityComponents="{ 1.0e-12, 1.0e-12, 1.0e-12 }"/>

<TableRelativePermeability
name="relperm"
phaseNames="{ gas, water }"
wettingNonWettingRelPermTableNames="{ waterRelativePermeabilityTable,
gasRelativePermeabilityTable }"/>

wettingNonWettingRelPermTableNames="{ waterRelativePermeabilityTable, gasRelativePermeabilityTable }"/>

<TableCapillaryPressure
name="cappres"
phaseNames="{ gas, water }"
wettingNonWettingCapPressureTableName="waterCapillaryPressureTable"/>
</Constitutive>

<FieldSpecifications>
<HydrostaticEquilibrium
<HydrostaticEquilibrium
name="equil"
objectPath="ElementRegions"
datumElevation="-3000"
datumPressure="3.0e7"
initialPhaseName="water"
componentNames="{ co2, water }"
componentFractionVsElevationTableNames="{ initCO2CompFracTable,
initWaterCompFracTable }"
componentFractionVsElevationTableNames="{ initCO2CompFracTable, initWaterCompFracTable }"
temperatureVsElevationTableName="initTempTable"/>

<!-- SPHINX_BC -->

<FieldSpecification
name="bcPressure"
objectPath="faceManager"
setNames="{ xpos, xneg, ypos, yneg }"
fieldName="pressure"
functionName="pressureFunction"
scale="1"/>

<FieldSpecification
name="bcTemperature"
objectPath="faceManager"
setNames="{ xpos, xneg, ypos, yneg }"
fieldName="temperature"
functionName="temperatureFunction"
scale="1"/>

<FieldSpecification
name="bcCompositionCO2"
objectPath="faceManager"
setNames="{ xpos, xneg, ypos, yneg }"
fieldName="globalCompFraction"
component="0"
scale="0.000001"/>

<FieldSpecification
name="bcCompositionWater"
objectPath="faceManager"
setNames="{ xpos, xneg, ypos, yneg }"
fieldName="globalCompFraction"
component="1"
scale="0.999999"/>
<!-- SPHINX_BC_END -->
</FieldSpecifications>

<Functions>
<TableFunction
name="initCO2CompFracTable"
coordinates="{ -3238.2, -2506.13 }"
values="{ 0.000001, 0.000001 }"/>

<TableFunction
name="initWaterCompFracTable"
coordinates="{ -3238.2, -2506.13 }"
values="{ 0.999999, 0.999999 }"/>
<TableFunction

<TableFunction
name="initTempTable"
coordinates="{ -3238.2, -2506.13 }"
values="{ 380.296, 358.334 }"/>
Expand All @@ -165,37 +172,36 @@
name="waterRelativePermeabilityTable"
coordinateFiles="{ tables/phaseVolumeFraction_water.txt }"
voxelFile="tables/relPerm_water.txt"/>

<TableFunction
name="gasRelativePermeabilityTable"
coordinateFiles="{ tables/phaseVolumeFraction_gas.txt }"
voxelFile="tables/relPerm_gas.txt"/>
voxelFile="tables/relPerm_gas.txt"/>

<TableFunction
<TableFunction
name="waterCapillaryPressureTable"
coordinateFiles="{ tables/phaseVolumeFraction_water.txt }"
voxelFile="tables/capPres_water.txt"/>
voxelFile="tables/capPres_water.txt"/>

<TableFunction
<TableFunction
name="temperatureFunction"
inputVarNames="{ faceCenter }"
coordinateFiles="{ fc_tables/xlin.geos, fc_tables/ylin.geos, fc_tables/zlin.geos}"
coordinateFiles="{ fc_tables/xlin.geos, fc_tables/ylin.geos, fc_tables/zlin.geos }"
voxelFile="fc_tables/temperature.geos"
interpolation="linear" />
interpolation="linear"/>

<TableFunction
<TableFunction
name="pressureFunction"
inputVarNames="{ faceCenter }"
coordinateFiles="{ fc_tables/xlin.geos, fc_tables/ylin.geos, fc_tables/zlin.geos}"
coordinateFiles="{ fc_tables/xlin.geos, fc_tables/ylin.geos, fc_tables/zlin.geos }"
voxelFile="fc_tables/pressure.geos"
interpolation="linear" />
interpolation="linear"/>

<TableFunction
name="totalRateTable"
inputVarNames="{time}"
coordinates="{0, 7.7198e8, 1.544e9}"
values="{ 8.02849025, 0, 0}"
inputVarNames="{ time }"
coordinates="{ 0, 7.7198e8, 1.544e9 }"
values="{ 8.02849025, 0, 0 }"
interpolation="lower"/>

</Functions>

</Problem>
Loading
Loading