Dear Timo,
I appreciate your support. Please keep in touch as I shall need your expertise 
to help me build my model in DuMuX.

Best regards,
Vuong Van Pham
Graduate Research Assistant (GRA)
Department of Chemical and Petroleum Engineering (CPE), University of Kansas
Email: [email protected]<mailto:[email protected]>
Phone: +1-(785)-979-2664



From: Timo Koch <[email protected]>
Sent: Monday, March 28, 2022 6:12 AM
To: DuMuX User Forum <[email protected]>
Cc: Pham, Vuong Van <[email protected]>
Subject: [DuMux] hydrogen injection setup

Hi Vuong,

in short, yes, this is something that Dumux should be good for.

As you didn’t succeed with the help of the examples and tests so far I would 
first recommend two other resources:

A) Try to complete the Dumux course material 
https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.iws.uni-stuttgart.de%2Fdumux-repositories%2Fdumux-course&data=04%7C01%7Cvuongvanpham%40ku.edu%7C111446846f61468e3eb408da10abcfa3%7C3c176536afe643f5b96636feabbe3c1a%7C0%7C0%7C637840628194675624%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=VS2Y1u7oW7X2M6KLYF%2BklvgZgYHnVdNsD2fawfm3pjI%3D&reserved=0>
In particular it discusses the basics of using Dumux. And it has an exercise 
and some explanations regarding 2-phase immiscible and compositional models 
(which directly apply to your use case).
More over there are exercises on how to change the fluid system (which you need 
for your hydrogen + water fluid system).

B) There is also some lecture material for 2-phase models here: 
https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-lecture/-/tree/master/lecture/efm<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.iws.uni-stuttgart.de%2Fdumux-repositories%2Fdumux-lecture%2F-%2Ftree%2Fmaster%2Flecture%2Fefm&data=04%7C01%7Cvuongvanpham%40ku.edu%7C111446846f61468e3eb408da10abcfa3%7C3c176536afe643f5b96636feabbe3c1a%7C0%7C0%7C637840628194675624%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=R6hwJLjfjLRSayJigGVy11nrpyvERuLmxH5a5MfKruM%3D&reserved=0>

In case I have misunderstood your setup and you have a three phase system 
(water, oil, gas) you need to use the 3p (immiscible) or 3p3c (compositional) 
model.
But the resources will still be helpful.

If you know the basics, you need to know which equations you are trying to 
solve and what software components are required for your specific setup.
Some short answers for your point
1. Define grid by Grid.LowerLeft/UpperRight/Cells in the input file (using 
YaspGrid)
2. Implement the well as a source term in the “problem” class (functions 
“source” (interface for volumetric source terms) or “pointSource” (interface 
for points sources at specified location))
3. Implement a fluid system class with your given properties (inspired by some 
of the existing fluid systems)

For the rest I can’t answer anything right now. You would need to be more 
specific about what mathematical model you are using and which physical 
processes you want to consider.
After having worked with resources A) and B), I would suggest you to start with 
one of the 2p2c/3p3c tests that seem closest to your setup and modify from 
these.

Best wishes
Timo


On 26. Mar 2022, at 03:12, Pham, Vuong Van 
<[email protected]<mailto:[email protected]>> wrote:

Dear Timo,
My name is Vuong Van Pham, and I am a graduate research assistant who is 
interested in using DuMuX for academic use. I believe that DuMux allows me to 
build a model as follow:

1.      3D box-shape reservoir

2.      One single well for injection of hydrogen gas into the reservoir

3.      Reservoir has 2-phases:

a.       A petroleum fluid with pre-defined properties (i.e, viscosity, 
temperature, etc)

b.      Water

4.      The property to be observed is the dispersion of hydrogen gas inside 
the reservoir over time
However, I got lost in understanding DuMux’s file inheritance system, therefore 
I am unable to know which header files (i.e, .hh files) are needed to build the 
model I described as above. Please, if possible, give me a starting guideline 
to build it. I readily tried to read the examples/tests from DuMux’s gitlab, 
however they are not quite helpful for me to apply for my model building case.

I look forward to hearing from you.
Best regards,
Vuong Van Pham
Graduate Research Assistant (GRA)
Department of Chemical and Petroleum Engineering (CPE), University of Kansas
Email: [email protected]<mailto:[email protected]>
Phone: +1-(785)-979-2664



From: Timo Koch <[email protected]<mailto:[email protected]>>
Sent: 08 Tháng Ba 2022 3:52 CH
To: DuMuX User Forum 
<[email protected]<mailto:[email protected]>>
Cc: Pham, Vuong Van <[email protected]<mailto:[email protected]>>
Subject: Re: [DuMux] Installation issues

Dear Vuong,

please subscribe to the dumux mailing list 
(https://listserv.uni-stuttgart.de/mailman/listinfo/dumux<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.uni-stuttgart.de%2Fmailman%2Flistinfo%2Fdumux&data=04%7C01%7Cvuongvanpham%40ku.edu%7C111446846f61468e3eb408da10abcfa3%7C3c176536afe643f5b96636feabbe3c1a%7C0%7C0%7C637840628194675624%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=Mb4qbOlJbtBc0h5sjZKyVslVVBqTJTgiwjrElYe37Tc%3D&reserved=0>),
 so you can see the answers to your post. Two people already posted answers to 
your question.

Best
Timo



On 7. Mar 2022, at 04:56, Pham, Vuong Van 
<[email protected]<mailto:[email protected]>> wrote:

To someone who may concern,
My name is Vuong Van Pham, and I am a graduate research assistant who is 
interested in using DuMuX for academic use. While tempting to install DuMuX 
following the guideline, I scoped with the issue (detailed in the attached 
file).
Please respond to this email with further instruction to resolve this issue.

Best regards,
Vuong Van Pham
Graduate Research Assistant (GRA)
Department of Chemical and Petroleum Engineering (CPE), University of Kansas
Email: [email protected]<mailto:[email protected]>
Phone: +1-(785)-979-2664



From: Pham, Vuong Van
Sent: 23 Tháng Hai 2022 4:11 CH
To: [email protected]<mailto:[email protected]>
Subject: Installation issues

To someone who may concern,
My name is Vuong Van Pham, and I am a graduate research assistant who is 
interested in using DuMuX for academic use. While tempting to install DuMuX 
following the guideline, I scoped with the issue (detailed in the attached 
file).
Please respond to this email with further instruction to resolve this issue.

Best regards,
Vuong Van Pham
Graduate Research Assistant (GRA)
Department of Chemical and Petroleum Engineering (CPE), University of Kansas
Email: [email protected]<mailto:[email protected]>
Phone: +1-(785)-979-2664

<installdumux.log>_______________________________________________
DuMux mailing list
[email protected]<mailto:[email protected]>
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.uni-stuttgart.de%2Fmailman%2Flistinfo%2Fdumux&data=04%7C01%7Cvuongvanpham%40ku.edu%7C111446846f61468e3eb408da10abcfa3%7C3c176536afe643f5b96636feabbe3c1a%7C0%7C0%7C637840628194675624%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=Mb4qbOlJbtBc0h5sjZKyVslVVBqTJTgiwjrElYe37Tc%3D&reserved=0>

_______________________________________________
DuMux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to