Jump to content
RockWare Support Forum

XiaoMao

Members
  • Posts

    32
  • Joined

  • Last visited

Posts posted by XiaoMao

  1. Hi, I am trying to simulate the weathering process by toughreact and you can find the description of my question.

    I choose EOS9 because I want to know the rainwater infiltration process.

     

    However, actually, I have no idea how to set the CO2 partial pressure.

    How to keep a fixed CO2 partial pressure if I want to inject rainwater from model top?

    How to set a CO2 partial pressure in the soil?

     

     

     

    model.pptx

  2. When I tried to run my model, I got the error message:

     

    Time step =        0
    Time (yr) = 0.000000E+00
    There is a problem with fugacity coefficient

    I use eos2 to simulate the CO2 injection.

    I set a higher partial pressure 12 for CO2 at the left bottom coner.

    All other cell is zero.

    I can not run my model and I have no idea how to solve this porblem.

    I can not upload the sim file because it is 69KB.

    the max total szie only 30KB...

     

     

  3. On 6/23/2020 at 5:08 PM, Alison said:

    I have been experimenting with your model and converted it to EOS3 so that I could add gas saturation to the model.  I was able to see the pH in the cell change by doing the following:

     

    1.  Adding the gas phase to the model.  For example, initialize the model with 0.2 SG, or even just the cell with the high gas zone.

    2.  Under TOUGHREACT | Solution parameters, make sure that NGAS1 is checked on.

    Ok

    Thank you so much

  4. On 1/23/2020 at 10:29 AM, Alison said:

    If all of these variables do not need to vary, then the "Fixed State" option would work fine.  If you need to vary the temperature or pressure of the boundary, then the very large volume option (either set to geometric cells or an extra cell) would be more appropriate.  This way, you could add large amounts of water or heat to the cells to force fluctuations in temperature or pressure.  There is a discussion of time-varying boundaries in the PetraSim manual.

    Can I use a large density , such as 1e50 kg/m3, as a constant boundary?

  5. I downloaded the example from 

    https://www.thunderheadeng.com/petrasim/petrasim-4-documentation/

    Example Problem 1, Linear sorption and decay (EOS9).

     

    I want to simulate that the low pH caused by CO2 dissolution transport in the domain.
    Therefore, I modified the example problem 1

    I set two Gas zones in the model.

    CO2 partial pressure is zero in the first zone and it has been set all cells.

    and then CO2 partial pressure is 10 in the second zone, and it has been set at middle one cell.

    However, I got resutls like this,

    pH.thumb.png.87f56758bf7fbb50d8f6d49ff961f975.png

    low pH only occurs in the cell which is set high partial pressure and it did not move with groundwater flow.

    Logically, low pH should migrate to the right. But it doesn't。

    Is anyone can tell me the reason ?

     

    you can find the sim file in the attachment.

    Thank you so much.

     

     

    treact_prob_1.sim

  6. There are three ways to set a constant boundary in Petrasim,

    First, set the boundary cells to fixed state;

    Second, set the boundary cells to 1E50 or more

    Third, set an extra cell which has large or very large volume,  and then connect the extra cell to boundary cell.

    Actually, I am  a beginner for Petrasim, so I am not sure whether these three ways are right.

    Please let me know if I make mistake, THANKS!

     

    My question is that there is a large lake, and my model domain is the bottom of the lake, so what type should I use when I set the top boundary?

    I focus on pressure, saturation and temperature, I do not know what type boundary is more appropriately.

    Thank you very much!

     

  7. 54 minutes ago, Alison said:

    Unfortunately, aqueous complexes were not output in TOUGHREACT v1.2, which is the version of TOUGHREACT that is packaged with PetraSim.  This feature was added in later versions of TOUGHREACT.  You might consider purchasing TOUGHREACT v3.3, which is available through LBL.  PetraSim creates input files for TOUGHREACT v3.3.  We hope to add better support with result visualization in the future.

    OH, can I calculate them by myself ?

    CO2, H2S and H2 consist of mixed gases. They are injected into my model.

    I can get them CO2(g), H2S(g), and H2(g), so can I calculate by some method to convert them to aqueous?

  8. Recently, I would like to model the Mixed gases injection process.

    I have used a Extra Cell as a injection source.

    However, I do not know how to determine the Air Mass Fraction.

    Actually, I want to inject a hot mixed gases into a aquifer, and I have known the temperature, but I do not know the partial pressure.

    Only I known is that the concentration of gas in final water, CO2 is 17mmol/kg.

    So, How can I set the initial condition at the Extra Cell?

    When I set the Air Mass Fraction is 0.5 or 0.55, it will stop.

    001.JPG.942251e0aea5d0cc1085be23e800eaa9.JPG      002.JPG.d389870e1c5810e5a49c67077de0a3e9.JPG

    The model can run if I set the Air Mass Fraction is 0.6, but it can not reach the final time I set.

    0003.JPG.774129583dbf798517a228e96d58e64f.JPG   

     004.JPG.235c43ad2638309409b3d497e16a94e6.JPG

     

  9. 22 minutes ago, Alison said:

    The SIM file you provided does not run.  It says that it is missing components related to the Co2 and H2S gases.  I am not able to help you set up your geochemical model.  However, I do see that the initial conditions for the extra cell in your model are set to single phase with an air mass fraction of 0.  This would simulate single phase water conditions.  If you change the air mass fraction to 1, it will simulate single phase gas conditions.  You should try changing this to 1 if you are trying to inject gas using the Extra Cell.

     

     

     

    Yes

    you are right

    The model can run when I change the sg from 0 to 1.

    but the DT will become 0.01 after run 10 days

    do u know how to solve this problem?

    by the way, can the air mass fraction be 0.5 when I want to inject mixed gases?

  10. According to Alison's suggestion, I used the Extra Cells to inject a mixed gases which include CO2 and H2S.

    In my model, the Extra Cell was set as followed :

    image.png.e1a115e1d833aa9748d98f9343e7de7b.pngimage.png.85bdfb7376b49afb3957131b953781c9.png

    no sources/sinks, and the pressure was set a little bit higher than connected cell, and the density of material was set 1E99.

    Gas zone: CO2=120, H2S=120

    However,  the results show that CO2 ranges from 9.72E-6 to 0.000913, and H2S ranges from 0 to 1.20E-24.

    can anyone tell me how to get a more higher CO2 and H2S?

     

  11. 12 hours ago, Alison said:

    A gas injection zone option is not available in TOUGHREACT v1.2, which is the version included with PetraSim (it is included in TOUGHREACT v3.3, which is available through LBL, but it is not supported in PetraSim).  One way to get around this would be to attached an "extra cell" to the injection cell, which a very large volume and a short connection distance.  You can assign a gas zone to that cell that represents the gas components you want to inject into the model, and assign a higher pressure to the cell.  You can find more about Extra Cells in the PetraSim manual.

    Thanks

    I am trying to use the EXTRA cells to implement.

    I would post my results to share with you if I achieve it .

  12. I am trying to simulate a Hot spring system, actually it is a vapor-dominated system.

    I would like to build a model that I can inject a hot mixture of gases from the bottom of model. This model is saturated cool groundwater.

    And the hot gases can mix to cool groundwater, and then some chemical reaction will take place which can change the chemical composition of groundwater. The mixture of gases include CO2, water steam and H2S.

    Now, I am using TOUGHREACT and EOS3. I am not sure whether it is correct.

    I have built the model and used the Zone Data/Gas in TOUGHREACT, however, when I check the results, I only find gas in the injected cell, none of the other cells. I do not know why.

    This is the INJECTION CELL

    02.JPG.b07218403df686607a3dc1cd6341253e.JPG

    These are other cells:

    01.JPG.50b500e2ab73aa91a7f9010c4c8d6005.JPG

  13. 4 hours ago, Alison said:

    I would recommend that you take a look at a steam table (assuming you are injecting water) to get an idea of enthalpy at various pressure and temperature combinations.

     

    I am not able to post links on this website, but if you do a Google Search for "spirax sarco steam table", you should be able to get to a series of online calculators.

     

    If you are trying to inject at a constant temperature, you should know that the enthalpy needed to maintain a specific injection temperature changes with pressure.  So, it can be tricky to inject at a constant temperature in TOUGH2.  One option would be to anticipate the enthalpy changes needed to maintain a temperature as pressure goes up and down (and vary it with time). 

     

    You can also assigning a very large density such as 1e40 (this gives the material a very large heat capacity).  If you do this, then the fluid leaving the injection cell will always have the same temperature as the initial temperature of the injection cell.

    Actually, I am trying to simulate a vapor dominated system.

    I wish I can inject Steam (Temperature =250~300C, Pressure =1.5 Mpa) to my system.

    In that way, I can observe the mixing process of the hot steam and cool groundwater and get the evolution of phase change.

    By the way, how should I set the boundary condition if I want to inject a mixture of gases, including CO2, water steam, H2S?

    Can I use the chemical zone in toughreact ?

     

    Thank you very much!

     
  14. 4 hours ago, Alison said:

    I would recommend that you take a look at a steam table (assuming you are injecting water) to get an idea of enthalpy at various pressure and temperature combinations.

     

    I am not able to post links on this website, but if you do a Google Search for "spirax sarco steam table", you should be able to get to a series of online calculators.

     

    If you are trying to inject at a constant temperature, you should know that the enthalpy needed to maintain a specific injection temperature changes with pressure.  So, it can be tricky to inject at a constant temperature in TOUGH2.  One option would be to anticipate the enthalpy changes needed to maintain a temperature as pressure goes up and down (and vary it with time). 

     

    You can also assigning a very large density such as 1e40 (this gives the material a very large heat capacity).  If you do this, then the fluid leaving the injection cell will always have the same temperature as the initial temperature of the injection cell.

    Thank you very much!

    I will try to modify the parameters according to your recommend.

  15. Just now, XiaoMao said:

    Recently, I have build a model by tough2

    I want to simulate a case that described the geothermal fluid inject to fracture rock.

    The fluid temperature is about 190~280 ℃, and the rate is about 3E-5 kg/s;

    How can i determine the enthalpy if I use INJECTION?

    I have tried many enthalpies, some will lead to model abnormal, and some only last a low temperature.

    Thanks

    In addition, I wish I can know what the differences between heat in and Enthalpy

×
×
  • Create New...