Any example about TableRelativePermeability? #1480
-
Is there any example of how to use TableRelativePermeability? I notice that tablefunction is required, but couldn't find any example online. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hi @wdmhouston , At the moment, we only have one example in the repository using 3-phase table-based relperms: The usage is as follows: <Constitutive>
<TableRelativePermeability
name="relperm"
phaseNames="{ oil, gas, water }"
waterOilRelPermTableNames="{ waterRelPermTable, oilRelPermTableForOW }"
gasOilRelPermTableNames="{ gasRelPermTable, oilRelPermTableForOG }"/>
</Constitutive>
<Functions>
<TableFunction
name="waterRelPermTable"
coordinateFiles="{ satw.txt }"
voxelFile="krw.txt"
interpolation="linear"/>
<TableFunction
name="oilRelPermTableForOW"
coordinateFiles="{ sato.txt }"
voxelFile="krow.txt"
interpolation="linear"/>
<TableFunction
name="gasRelPermTable"
coordinateFiles="{ satg.txt }"
voxelFile="krg.txt"
interpolation="linear"/>
<TableFunction
name="oilRelPermTableForOG"
coordinateFiles="{ sato.txt }"
voxelFile="krog.txt"
interpolation="linear"/>
</Functions> where Instead of separate text files, you can also specify the table inline using attributes <TableFunction
name="waterRelPermTable"
coordinates="{ 0.05, 0.5, 1 }"
values="{ 0, 0.4, 0.9 }"
interpolation="linear"/> |
Beta Was this translation helpful? Give feedback.
-
I've created an issue to document the inputs for this type of models: #1481 |
Beta Was this translation helpful? Give feedback.
-
@wdmhouston This limitation is being fixed right now. If you want to try the The format is the following:
The documentation for the two models is here: An example is attached (simulation of transition zone). The behavior should be similar to that of |
Beta Was this translation helpful? Give feedback.
@wdmhouston This limitation is being fixed right now.
If you want to try the
TableRelativePermeability
for two-phase gas-water systems without waiting, you can checkout the branchfeature/hamon/pcTable
here. On the same branch you can also useTableCapillaryPressure
.The format is the following: