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://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course> 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://git.iws.uni-stuttgart.de/dumux-repositories/dumux-lecture/-/tree/master/lecture/efm> 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 <vuongvanp...@ku.edu> 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: > 3D box-shape reservoir > One single well for injection of hydrogen gas into the reservoir > Reservoir has 2-phases: > A petroleum fluid with pre-defined properties (i.e, viscosity, temperature, > etc) > Water > 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: vuongvanp...@ku.edu <mailto:vuongvanp...@ku.edu> > Phone: +1-(785)-979-2664 > > > > From: Timo Koch <koch_t...@hotmail.com> > Sent: 08 Tháng Ba 2022 3:52 CH > To: DuMuX User Forum <dumux@listserv.uni-stuttgart.de> > Cc: Pham, Vuong Van <vuongvanp...@ku.edu> > 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%7C3f67d1fdcccc44c0702e08da014de4d4%7C3c176536afe643f5b96636feabbe3c1a%7C0%7C0%7C637823731756049464%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=b3jeiOuL%2FLRfKY5xuD2RABECe%2F54MI5TTnSAn%2BpHlbw%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 <vuongvanp...@ku.edu > <mailto:vuongvanp...@ku.edu>> 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: vuongvanp...@ku.edu <mailto:vuongvanp...@ku.edu> > Phone: +1-(785)-979-2664 > > > > From: Pham, Vuong Van > Sent: 23 Tháng Hai 2022 4:11 CH > To: dumux@listserv.uni-stuttgart.de <mailto:dumux@listserv.uni-stuttgart.de> > 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: vuongvanp...@ku.edu <mailto:vuongvanp...@ku.edu> > Phone: +1-(785)-979-2664 > > <installdumux.log>_______________________________________________ > DuMux mailing list > DuMux@listserv.uni-stuttgart.de <mailto:DuMux@listserv.uni-stuttgart.de> > 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%7C3f67d1fdcccc44c0702e08da014de4d4%7C3c176536afe643f5b96636feabbe3c1a%7C0%7C0%7C637823731756049464%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=b3jeiOuL%2FLRfKY5xuD2RABECe%2F54MI5TTnSAn%2BpHlbw%3D&reserved=0>
_______________________________________________ DuMux mailing list DuMux@listserv.uni-stuttgart.de https://listserv.uni-stuttgart.de/mailman/listinfo/dumux