How to shutdown a well? #1462
-
A well is included in a test case,
after 1 year, I would like to shut it down. How to shutdown this well in GEOSX? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
Hello Deming, |
Beta Was this translation helpful? Give feedback.
-
@wdmhouston Regarding your questions: is it possible to shutdown a well? Is it possible to run a simulation without well? Is it possible to set 0 injection target rate to simulate the shutdown event. Not possible to properly shutdown a well yet. Soon it will be possible to input the well rate as a table to make it time dependent, but there are some modifications to make in the well model to make sure that the problem is still well posed if the rate is zero. Currently, the zero-rate case is not going to work well. For the type of simulation that you are running, the following workflow would make a lot of sense, even after we implement the capability to shut down a well:
Ideally you would issue a restart file to do 2), and then you would use the restart file for 3) to start your new simulation. Presently this is not going to work because GEOSX expects the xml file to be the same in Steps 1) and 3). So, instead of using the restart procedure in place in GEOSX, you can always get the values at the end of the injection period either from the HD5 file or the VTK file, and use a |
Beta Was this translation helpful? Give feedback.
-
Francois,
Thanks for the clarification. I changed the injection rate to a very
small value in my restart case as a temp solution. Looking forward to the
new feature in the next release!
Regards,
Deming
…On Wed, Jun 16, 2021 at 4:26 PM Francois Hamon ***@***.***> wrote:
@wdmhouston <https://github.com/wdmhouston> Regarding your questions: *is
it possible to shutdown a well? Is it possible to run a simulation without
well? Is it possible to set 0 injection target rate to simulate the
shutdown event.*
Not possible to properly shutdown a well yet.
Soon it will be possible to input the well rate as a table to make it time
dependent, but there are some modifications to make in the well model to
make sure that the problem is still well posed if the rate is zero.
Currently, the zero-rate case is not going to work well.
For the type of simulation that you are running, the following workflow
would make a lot of sense, even after we implement the capability to shut
down a well:
1. Running the injection period with a well
2. Saving the values in each cell at the end of the injection period
3. Running the post-injection period without well, starting from the
values saved in 2)
Ideally you would issue a restart file to do 2), and then you would use
the restart file for 3) to start your new simulation. Presently this is not
going to work because GEOSX expects the xml file to be the same in Steps 1)
and 3).
So, instead of using the restart procedure in place in GEOSX, you can
always get the values at the end of the injection period either from the
HD5 file or the VTK file, and use a TableFunction for each primary
variable to initialize your simulation in Step 3).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1462 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AETQFWACEMKUZ3J76VUORALTTEJHHANCNFSM46RIW2AQ>
.
--
Deming Wang
***@***.***
|
Beta Was this translation helpful? Give feedback.
-
Hello @wdmhouston, In the |
Beta Was this translation helpful? Give feedback.
-
Thanks. I'll try.
…On Wed, Sep 15, 2021 at 6:47 PM Francois Hamon ***@***.***> wrote:
Hi @wdmhouston <https://github.com/wdmhouston>,
Yes you can try with this one for instance:
https://github.com/GEOSX/GEOSX/blob/develop/src/coreComponents/physicsSolvers/fluidFlow/wells/integratedTests/compositionalMultiphaseWell/staircase_co2_wells_3d.xml
It has a table that shuts down the well after some time.
We have changed a few things in the constitutive models recently, so if
you want to update your input file, two solutions:
1- Post it and we will update it
or
2.a - Add rockPorosity, nullSolid in the materialList of the
CellElementRegion
2.b - Add the following models in Constitutive:
<CompressibleSolidConstantPermeability
name="rock"
solidModelName="nullSolid"
porosityModelName="rockPorosity"
permeabilityModelName="rockPerm"/>
<NullModel
name="nullSolid"/>
<PressurePorosity
name="rockPorosity"
defaultReferencePorosity="0.1"
referencePressure="0.0"
compressibility="1.0e-9"/>
with your values of defaultReferencePorosity, referencePressure, and
compressibility, and remove PoreVolumeCompressibleSolid.
2.c - Remove the FieldSpecification block that enforces the
referencePorosity
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1462 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AETQFWDYG7OCV3CHDGTGAUDUCEWBTANCNFSM46RIW2AQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
Deming Wang
***@***.***
|
Beta Was this translation helpful? Give feedback.
Hello @wdmhouston,
If you still need to shut down a well, this is now implemented properly. You will have to checkout branch
feature/tang/WellRateBHPTable
, recompile GEOSX, and follow this example:In the
CompositionalMultiphaseWell
block of the XML, you first use the keywordtargetTotalRateTableName
as belowhttps://github.com/GEOSX/GEOSX/blob/fddbc1fb2ed89b05c30c973f52e87e703940d5e7/src/coreComponents/physicsSolvers/fluidFlow/wells/integratedTests/compositionalMultiphaseWell/staircase_co2_wells_3d.xml#L49-L56
and then in the
Functions
block, you specify the rate as a function of time, with 0 if you want to shut down the well:https://github.com/GEOSX/GEOSX/blob/fddbc1fb2ed89b05c30c973f5…