Re: [DuMux] Calculate solution at a given position

2024-02-17 Thread Timo Koch
/intersectingentities.hh you find intersectingEntities, which you can use similar to this auto entities = intersectingEntities(point, gridGeometry.boundingBoxTree()) auto element = gridGeometry.element(entities[0]); to get the element that contains your point. Best wishes Timo On 13 Feb 2024

Re: [DuMux] forking dumux project on git.iws.uni-stuttgart

2024-02-13 Thread Timo Koch
Timo On 12 Feb 2024, at 20:07, Giraud, Mona wrote: Dear Dumux developper, Following the contribution guidelines<https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/blob/master/CONTRIBUTING.md#contributing>, I joined the GitLab instance of dumux and tried to fork the project. However,

Re: [DuMux] Questions about residual saturation

2023-08-31 Thread Timo Koch
Dear Nicolas,the residual saturation relates to the mobility of the phase (in terms of transport of the phase). But the “immobile” water can still evaporate, so in the compositional models in dumux by phase change the liquid saturation can still go to 0 when the gas phase is mobile. (Only then you

Re: [DuMux] Problem with linear solver residual computation

2023-06-26 Thread Timo Koch
Hi Leo,did you try parallel vs sequential and is there a difference? This would help narrowing down where a potential problem could come from?BestTimoOn 26 Jun 2023, at 11:13, leopold.stad...@baw.de wrote: Hi Bernd,   Thank you fro your advice. My code does not

Re: [DuMux] richardsnc for more than two components

2023-06-19 Thread Timo Koch
). Then you can set different properties via the input file, e.g. [1.Component] LiquidDiffusionCoefficient = 3e-9 [2.Component] LiquidDiffusionCoefficient = 1e-10 Let us know if you get stuck. Good luck! Best wishes Timo > On 19 Jun 2023, at 22:09, Giraud, Mona wrote: > >  > Dear Dum

[DuMux] Dune User Meeting 2023 Dresden

2023-06-12 Thread Timo Koch
/2023-09-usermeeting/ I hope to see many of you there :=) Best wishes Timo ___ DuMux mailing list DuMux@listserv.uni-stuttgart.de https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Re: [DuMux] [DuMuX installation] Unable to install DuMuX on Ubuntu

2023-01-25 Thread Timo Koch
it in a completely new folder Let me know if the problem persists. Best wishes Timo > On 25 Jan 2023, at 11:11, Timothé Ménard (Student at CentraleSupelec) > wrote: > > ___ DuMux mailing list DuMux@listserv.uni-stuttgart.de https://

Re: [DuMux] Gas Injection - Time

2022-11-23 Thread Timo Koch
Hi Mohammad, This seems like a C++ problem not a Dumux issue. What have you tried so far? What does it mean “it will abort”? "Method 2” has the wrong logic. “Method 1” looks correct (apart from underscore missing for injectionEnd_). Your attached file neither implements 1 nor 2. Best

Re: [DuMux] Printing Flow Rate or Flux in VTK

2022-11-23 Thread Timo Koch
istserv.uni-stuttgart.de/msg02744.html> mail-archive.com<https://www.mail-archive.com/dumux@listserv.uni-stuttgart.de/msg02744.html> [apple-touch-icon-114x114.png] <https://www.mail-archive.com/dumux@listserv.uni-stuttgart.de/msg02744.html> Best Timo 23. nov. 2022 kl.

Re: [DuMux] Alugrid - error

2022-11-07 Thread Timo Koch
and the debugger will tell) and caused by some access of a vector out-of-bounds or dereferencing of a nullptr or similar. Best Timo On 6 Nov 2022, at 18:08, kenza bouznari mailto:bouznari.ke...@gmail.com>> wrote: Hi Timo, Sorry, I didn't copy the whole message I was getting but it is

Re: [DuMux] Output face fluxes in VTU

2022-11-05 Thread Timo Koch
// Best wishes Timo > On 5 Nov 2022, at 15:10, Rafael March wrote: > > Hello, > > How to output normal face fluxes in the VTU files? > > I'm using a cell-centered TPFA scheme (two-phase) with a YASP (cartesian) > grid. Hence, the

Re: [DuMux] Alugrid - error

2022-11-05 Thread Timo Koch
method 'ALUGRID_SpaceFillingCurve(9)'. Hi, that‘s not an error. It‘s a warning. And it says it‘s being ignored. There should be nothing wrong with this. You could open an issue in dune-alugrid for the alugrid developers that their „warning“ (just an info in my opinion) looks a bit aggressive. Best Timo Best r

Re: [DuMux] Negative Values -Gas Saturation

2022-11-04 Thread Timo Koch
rate this might happen. But it looks like you plotted your material laws and it looks fine? You could start with less extreme values to see if the same happens. Also make sure the Newton is actually converged. Best Timo Looking forward to your help. Best Regards, Mohammad

Re: [DuMux] Alugrid - error

2022-11-04 Thread Timo Koch
and no fifth number afterwards (the expected parameter). Best, Timo On 4 Nov 2022, at 21:38, kenza bouznari mailto:bouznari.ke...@gmail.com>> wrote: Hi Timo, Yes, I did and to make sure that the modifications in the source files are well done, I tested by using a simple 3D [Grid] in the inpu

Re: [DuMux] Alugrid - error

2022-11-04 Thread Timo Koch
Hi Kenza, did you change the AluGrid type in the Grid property from 2D to 3D? This is a compile time parameter. Best, Timo 4. nov. 2022 kl. 19:51 skrev kenza bouznari :  Dear DuMux users, I have installed ALUGrid and successfully built DuMux and run test_2p2c_injection_box. I also made all

Re: [DuMux] Computing Boundary Fluxes

2022-10-17 Thread Timo Koch
alue for each equation in case of two-phase flow, so you might need to adapt the code a bit to sum up to fluxes of the phase that you are interested in. Let me know if you have questions. Best wishes Timo > > Thank you, > Rafael March. > > > _

Re: [DuMux] Printing Permeability in VTK Files

2022-10-12 Thread Timo Koch
Hi Mohammad, the same way you do it the first time. By calling the function you wrote problem->updateVtkOutput(x); Timo On 12 Oct 2022, at 13:34, Mohammad Hodroj (Student) mailto:mn...@mail.aub.edu>> wrote: Dears , Thanks for your reply. How can I update the fields in every

Re: [DuMux] Printing Permeability in VTK Files

2022-10-12 Thread Timo Koch
Dear Mohammad, as Dennis said, you have to update the fields in every time step when they are time-dependent but you don’t seem to do that in your main file Timo On 12 Oct 2022, at 13:25, Mohammad Hodroj (Student) mailto:mn...@mail.aub.edu>> wrote: Dears, Thanks for your email.

Re: [DuMux] Printing Permeability in VTK Files

2022-10-12 Thread Timo Koch
value directly. Best wishes Timo On 12 Oct 2022, at 12:40, Mohammad Hodroj (Student) mailto:mn...@mail.aub.edu>> wrote: Dear DuMux Community, I hope this email finds you well. I am writing to kindly ask for your support in this matter: Given: 1. I am using the porous medium

Re: [DuMux] Anisotropic heat conductivity tensor in heat conduction simulation

2022-09-12 Thread Timo Koch
) You can then make Dumux use your custom class MyOnePVolumeVariables by setting it via the property system (specialise Property::VolumeVariables for your problem’s TypeTag). Best wishes Timo On 12 Sep 2022, at 18:40, Helena Kschidock mailto:h.kschid...@gmail.com>> wrote: Hi Bernd,

Re: [DuMux] Question - Domain Shape

2022-09-09 Thread Timo Koch
gmsh -save mymesh.msh -format msh2 to convert a version 4 mesh) Best wishes Timo > On 9 Sep 2022, at 10:14, Melanie Lipp > wrote: > > Dear Mohammad, > > you can use subgrid and define a selector as in > dumux/test/io/gridmanager/test_gridmanage

Re: [DuMux] GridError: Unknown priority 4

2022-09-05 Thread Timo Koch
Hi Dmitry, you can follow https://gitlab.dune-project.org/core/dune-grid/-/merge_requests/597 where the problem and hopefully solution will be tracked. Best Timo On 4 Sep 2022, at 23:45, Timo Koch mailto:timok...@math.uio.no>> wrote: Hi Dmitry, thanks for reporting this. I also n

Re: [DuMux] GridError: Unknown priority 4

2022-09-04 Thread Timo Koch
, because alugrid guarantees thread-safe grid views and this is also better tested. Best wishes Timo > On 4 Sep 2022, at 21:06, Dmitry Pavlov wrote: > > Hello, > > Since the introduction of multithreading in DuMux, some of my programs became > broken unless I turn off

Re: [DuMux] Problems with DUNE_THROW

2022-08-26 Thread Timo Koch
Loop) with the time loop. Are you doing that? Timo > On 26 Aug 2022, at 15:53, Kai Wendel wrote: > > Hello, > > by trying to implement some experimental features, I did now for the second > time encounter the following problem: > A porous medium flow simulations r

Re: [DuMux] DuMuX Simulation-Permeabilityupscaling example

2022-08-10 Thread Timo Koch
I can see something similar in the test 2p example. > Also, I figured that all the values obtained are in SI units. Is that correct? yes SI units. Best wishes Timo > > Regards, > Rucha > > Von: Timo Koch > Gesendet: Mittwoch, 10. August 2022 15:35 > An: DuMuX Us

Re: [DuMux] DuMuX Simulation-Permeabilityupscaling example

2022-08-10 Thread Timo Koch
and one with the solution. Best wishes, Timo > On 10 Aug 2022, at 15:29, wrote: > > Hi Team, > > My name is Rucha and I am currently working with DuMuX on the permeability > upscaling example. > When I run the simulation for my dgf file I can only see 2 time steps

Re: [DuMux] Error while running PoreNetwork Model Example-Weishaupt2019a

2022-07-19 Thread Timo Koch
Ok great to see that it worked. Looks correct. Timo On 19 Jul 2022, at 15:04, rucha.ku...@dlr.de<mailto:rucha.ku...@dlr.de> wrote: Hi, I retried and got this. It says that installation has worked but there were some warnings in between. I have attached a text file for this. Best r

Re: [DuMux] Error while running PoreNetwork Model Example-Weishaupt2019a

2022-07-19 Thread Timo Koch
to the CMAKE_FLAGS in the *.opts file helps. Remember to also use the modified opts file in the last installation step (dunecontrol). Best wishes Timo On 19 Jul 2022, at 10:31, Timo Koch mailto:timok...@math.uio.no>> wrote: Dear Rucha, from the attached log it looks like you have dune-uggrid p

Re: [DuMux] Doubts for Using DUMUX-Installation and Importing geometries

2022-07-05 Thread Timo Koch
dumux/-/tree/master/dumux/porenetwork/util Pore-network extractions are also very useful to learn more about your sample in general (you might have done that already?). Best wishes Timo 1. Looking forward to hearing from you. Thank you for the support in advance. Best Regards,

Re: [DuMux] Singular matrix and MPI

2022-06-30 Thread Timo Koch
Dear Dmitry, thank you! Can you try if this https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/merge_requests/3178 fixes your issue? Best Timo On 30 Jun 2022, at 13:14, Dmitry Pavlov mailto:dmitry.pav...@outlook.com>> wrote: Timo, Thank you. I filed a bug report:

Re: [DuMux] Turn parallel on and off

2022-06-30 Thread Timo Koch
Dear Ana, apologies for the very late answer, somehow I missed this. On 17 Jun 2022, at 09:27, Ana Carolina Loyola mailto:anacarolina...@gmail.com>> wrote: Dear Timo Thank you, that’s clear. What I am trying to do in my code is, before solving the system, Calling some external

Re: [DuMux] Singular matrix and MPI

2022-06-30 Thread Timo Koch
on all processes). Thanks for reporting this. Would you open a bug report? Best wishes Timo On 29 Jun 2022, at 19:36, Dmitry Pavlov mailto:dmitry.pav...@outlook.com>> wrote: Hello, In one porous flow simulation, I get this message: Newton iteration 6 done, residual = 3.1654e+13 Solve: M

Re: [DuMux] 1D grid and MPI

2022-06-30 Thread Timo Koch
.iws.uni-stuttgart.de/dumux-repositories/dumux/-/blob/master/dumux/linear/istlsolverfactorybackend.hh>) Best regards, Timo > On 29 Jun 2022, at 15:57, Dmitry Pavlov wrote: > > Hello, > > I have a 1D radial mode porous flow simulation implemented via > > Dune::Y

Re: [DuMux] DuMux - Help

2022-06-21 Thread Timo Koch
yer thicker and the account for the size different by scaling permeability and extrusion factor for the layer. Best wishes Timo > > I am looking forward to your help. > > Thanks for your time and help. > > > Best Regards, > Mohammad Hodroj > > >

Re: [DuMux] Turn parallel on and off

2022-06-17 Thread Timo Koch
a subcommunicator of one process and give that to the grid on construction, again depending on what you are trying to achieve. Best Timo Timo 16. jun. 2022 kl. 18:53 skrev Ana Carolina Loyola :  Hello, I am working on a multi-domain problem in Dumux 3.2 and I am aware that I can not solve

Re: [DuMux] dune-subgrid_FOUND failed

2022-05-23 Thread Timo Koch
at least Dune 2.8 (should say so in the CMake output). Timo Timo 23. mai 2022 kl. 10:47 skrev Kai Wendel :  Hello, when I want to run the dumux test dumux/build-cmake/test/multidomain/boundary/darcydarcy/1p_1p/test_md_boundary_darcy1p_darcy1p_lens the following message is printed in the command

Re: [DuMux] hydrogen injection setup

2022-05-20 Thread Timo Koch
On 18. May 2022, at 11:30, Pham, Vuong Van mailto:vuongvanp...@ku.edu>> wrote: Hi Timo, I hope this email finds you well, and I appreciate your support by far in the usage of DuMuX. Continuing from the previous emails I sent, I write this email to clarify a few terminologies used in

Re: [DuMux] hydrogen injection setup

2022-05-12 Thread Timo Koch
On 12. May 2022, at 18:27, Pham, Vuong Van mailto:vuongvanp...@ku.edu>> wrote: Hi Timo, I appreciate your swift response. Thanks for your support, I am now capable of setting up my own DuMux model using the resources you suggested. Regarding the recent recommendation you mentioned i

Re: [DuMux] hydrogen injection setup

2022-05-12 Thread Timo Koch
://dumux.org/docs/doxygen/master/a18478.html Best wishes Timo On 11. May 2022, at 18:28, Pham, Vuong Van mailto:vuongvanp...@ku.edu>> wrote: Hi Timo, I hope this email finds you well. I write this email to concern about the capability of DuMux in: 1. Simulating hydrogen inj

Re: [DuMux] info about the software

2022-04-21 Thread Timo Koch
Dear Sevinj, please always reply to the mailing list so that others can profit from the answers too. > On 21. Apr 2022, at 08:36, sevinj.mammad...@stud.tu-darmstadt.de wrote: > > > Dear Timo, > > thank you very much. Your email and the links are very helpful. Yes, I ne

Re: [DuMux] info about the software

2022-04-20 Thread Timo Koch
/master/examples/shallowwaterfriction). The SWE model has been successfully tested on HPC clusters. The code is highly customisable build with the intention that almost every piece can be swapped out for a custom implementation. Best wishes Timo > On 20. Apr 2022, at 14:57, sevinj.mam

Re: [DuMux] Reentrant DuMuX

2022-04-16 Thread Timo Koch
he parameter. These parameters should be settable from the “outside”, via the class interface either with dedicated interface functions or by passing a parameter tree explicitly. Any improvements are welcome. Best, Timo > > > Do I miss any oth

Re: [DuMux] Inheritance of properties

2022-03-29 Thread Timo Koch
hey don’t want to overwrite. Broad defaults, or as in your case a default for all type tags ever defined is probably seldom useful. Hope this explains it. Best Timo > On 29. Mar 2022, at 11:11, Dmitry Pavlov wrote: > > Hello, > > Seeking advice on DuMux's (DUNE's) mechanism of type tag

[DuMux] hydrogen injection setup

2022-03-28 Thread Timo Koch
d 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

Re: [DuMux] Installation issues

2022-03-08 Thread Timo Koch
Dear Vuong, please subscribe to the dumux mailing list (https://listserv.uni-stuttgart.de/mailman/listinfo/dumux), 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 wrote: > > To someon

Re: [DuMux] Model coupling in DUMUX

2022-03-08 Thread Timo Koch
flow model in this example. Hope this is good as a starting point Timo > On 8. Mar 2022, at 18:13, Etienne Ahusborde > wrote: > > Hello DuMuX users, > > With my colleague we work on the simulation of thermo-hydro-chemical > processes in porous media. > > We d

Re: [DuMux] CO2 geological storage

2022-02-16 Thread Timo Koch
ww.mail-archive.com/dumux@listserv.uni-stuttgart.de/msg02533.html> Best regards, Timo > On 15. Feb 2022, at 19:11, Etienne Ahusborde > wrote: > > Dear Sebastian, > > You were right, it was the same problem as yours. Now I obtain a good result > > > Thank you very m

Re: [DuMux] CO2 geological storage

2022-02-15 Thread Timo Koch
a more consistent incorporation of gravity, introduces quite some time ago. However, there can be a mistake in there. Thank you in advance Timo > On 15. Feb 2022, at 19:11, Etienne Ahusborde > wrote: > > Dear Sebastian, > > You were right, it was the same problem as yours. N

Re: [DuMux] DuMuX Installation Problem

2022-02-15 Thread Timo Koch
Hi, just for documentation purposes: this question was answered on the mailing list here: https://www.mail-archive.com/dumux@listserv.uni-stuttgart.de/msg02594.html Timo > On 15. Feb 2022, at 17:07, Flemisch, Bernd > wrote: > > Hi Farzaneh, > > you can delete the "-m

Re: [DuMux] Contribution to DuMuX - Suggestion to improve the course-documentation

2022-01-13 Thread Timo Koch
improving the docs. Thanks for considering Dumux. Let us know if you have any questions regarding the contribution workflow (https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/blob/master/CONTRIBUTING.md) Best wishes Timo > On 13. Jan 2022, at 14:10, Axel Schumacher > wrote: > >

Re: [DuMux] parallel msh grid

2022-01-13 Thread Timo Koch
user data you might need to manually distribute that). As long as your macro grid fits into memory it should also be fine to distribute that initially, then refine (each process will refine) and then redistribute to optimise load balance. Best wishes, Timo > On 13. Jan 2022, at 13:46, Gerg

Re: [DuMux] parallel msh grid

2022-01-12 Thread Timo Koch
pieces. How to convert from a distributed gmsh grid to the ALU format you would have to ask the AluGrid developers. Best wishes Timo > On 12. Jan 2022, at 15:51, Gergely Schmidt > wrote: > > Dear Dumux community, > > I'd like to ask a question about mesh decomposition.

Re: [DuMux] How to prescribe an uniform background hydraulic head gradients in DuMuX?

2021-12-23 Thread Timo Koch
ried something like that myself I can’t guarantee this works as expected. Best wishes Timo > Has someone an idea to how we could impose that? > > Thanks in advance for any help > > Regards > > Etienne > > ___ > DuMux mailing l

Re: [DuMux] Help with Target CPU error

2021-12-02 Thread Timo Koch
want * then run dunecontrol --opts=mycmake.opts all Let us know if this works. Best wishes Timo > On 2. Dec 2021, at 12:31, kumbh...@hsu-hh.de wrote: > > Dear Dumux users, > > I am trying to build and execute the 1p rotation symmetry example. Running > the make command re

Re: [DuMux] (no subject)

2021-11-30 Thread Timo Koch
/build-cmake, …) (but please just follow the instructions, it is described there). If you encounter problems with the procedure let us know. Best regards Timo > On 30. Nov 2021, at 20:40, Pham, Vuong Van wrote: > > Dear all, > Thanks for pointing that out, and so that i

Re: [DuMux] Dispersion in radial flow

2021-11-23 Thread Timo Koch
can you add a comment on the open MR? Timo > 23. nov. 2021 kl. 14:28 skrev Dmitry Pavlov : > >  > Timo, > > Thank you for the good news. I had to update from DuMux 3.4 to be able to > apply the patch, now it seems to work! I implemented the > SpatialParams::dispersi

Re: [DuMux] DuMux Digest, Vol 128, Issue 12

2021-11-22 Thread Timo Koch
> On 22. Nov 2021, at 19:09, Ana Carolina Loyola > wrote: > > Dera Timo Koch, > > Yes, this example runs fine ( test_1p_incompressible_tpfa_quad ) here. I > don't know if this issue is related to the Box method, but so far when I run > a

Re: [DuMux] DuMux Digest, Vol 128, Issue 12

2021-11-22 Thread Timo Koch
don’t usually do something like that with permeability it should be fine. But of course I don’t know all of the code. It’s quite difficult to help with the original issue as I’m not familiar with the paper or know exactly how the setup looks like. Best wishes Timo > On 22. Nov 2021, at 1

Re: [DuMux] Dispersion in radial flow

2021-11-22 Thread Timo Koch
itable to model what you are looking for. Best wishes, Timo > On 22. Nov 2021, at 15:18, Dmitry Pavlov wrote: > > Hello, > > It is well known that DuMux models (i. e. 1pnc) include diffusion term. If > the velocity of the flow is constant, diffusion and dispersion can > si

Re: [DuMux] Step post-processing in MPI mode

2021-11-18 Thread Timo Koch
if you want the summed result, e.g. try const auto& comm = this->gridGeometry().gridView().comm(); for (int i = 0; i < FluidSystem::numComponents; ++i) fluxes[i] = comm.sum(fluxes[i]); Best wishes Timo > On 18. Nov 2021, at 13:40, Dmitry Pavlov wrote: > > Hello, >

Re: [DuMux] (no subject)

2021-11-18 Thread Timo Koch
Dear Vuong, it looks like you ran cmake in the source directory. You have to run „make executable“ in the _build_ directory. Per default dumux/build-cmake/… Timo > 18. nov. 2021 kl. 08:19 skrev Kilian Weishaupt > : > >  > Dear Vuong Van, > > did you modify anything i

Re: [DuMux] (no subject)

2021-11-15 Thread Timo Koch
Dear Vuong, welcome to the dumux mailing list. The attached output looks like you already ran the script twice and did some things in between. To be able to reproduce any error can you go to a new empty and run the script in there and post the entire terminal output? Timo > 15. nov. 2021

Re: [DuMux] Question to SPE5 model for porous media

2021-11-08 Thread Timo Koch
Dear Johannes, what is your question? In order to help, we would need a bit more context. What are you trying to solve? What do you mean by it did not work? What is the error message? Best wishes Timo > On 8. Nov 2021, at 16:19, Bauer Johannes Fabian > wrote: > > Dear Dumux-Te

Re: [DuMux] Error in installing Dumux

2021-11-04 Thread Timo Koch
In any case, your issue is not related to dumux or dune. Best wishes, Timo > On 4. Nov 2021, at 18:18, Amir Mohammad Norouzi > wrote: > > To whom it may concern, > > I am a researcher at the University of Manchester and I am trying to install > Dumux on my laptop, but I cons

Re: [DuMux] [Dumux] Black-oil-model

2021-10-27 Thread Timo Koch
different project (more geared towards industrial application). Best, Timo > On 27. Oct 2021, at 18:23, Bauer Johannes Fabian > wrote: > > Dear Dumux-Team, > > > I have a question regarding the general possibility to build a non-isothermal > black oil model for the si

Re: [DuMux] How to make DuMux call VolumeVariables::update less frequently?

2021-10-22 Thread Timo Koch
> On 22. Oct 2021, at 00:39, Dmitry Pavlov wrote: > > Timo, > > Sorry, I got distracted from this. > > I had to fix NoPrimaryVariableSwitch to use it, but you already know that > since you saw the merge request. > > EnableGridFluxVariablesCache totally he

Re: [DuMux] How to make DuMux call VolumeVariables::update less frequently?

2021-10-14 Thread Timo Koch
races and for expensive assembly per element as you certainly have you should get a basically optimal speed-up when using more cores (even on smallish grids). I’d be happy if you give it a try and give feedback if this worked. Best wishes, Timo > On 14. Oct 2021, at 11:39, Timo Ko

Re: [DuMux] How to make DuMux call VolumeVariables::update less frequently?

2021-10-14 Thread Timo Koch
already assembled in the end of the > previous step. Even if we reassemble it, it is expected that we have only 6 > calls. > > Sorry I also can’t answer that without looking more into it. Maybe some of the suggestions above already help? Best wishes, T

Re: [DuMux] How to stop a gas injection?

2021-10-05 Thread Timo Koch
roblem->setTime(timeLoop->time() + timeLoop->timeStepSize()); at the beginning of each time loop. Timo > On 5. Oct 2021, at 17:31, kenza bouznari wrote: > > Hello everyone, > > How can I stop a gas injection from a source after a certain time? > > I alre

Re: [DuMux] Using Embedded Python in DuMux

2021-09-09 Thread Timo Koch
Big advantage of pybind11 is also that is does automatic type conversion for you between Python and C++, so you can easily convert between C++ std::vector and Python’s list etc... > On 9. Sep 2021, at 15:03, Timo Koch wrote: > > Hi Leo, > > I would definitely look into thi

Re: [DuMux] Using Embedded Python in DuMux

2021-09-09 Thread Timo Koch
testing code with a fluid system using embedded Python on the branch “feature/python-fluidsystem” in dumux (MR !2001). And of course some test for dumux is also welcome. Timo > 9. sep. 2021 kl. 13:36 skrev leopold.stad...@baw.de: > >  > Hi Bernd, > > thank you for this nice

Re: [DuMux] MaterialLawParams -> FluidMatrixInteraction

2021-09-05 Thread Timo Koch
sry, delete ‘static’ from my comment Timo > 5. sep. 2021 kl. 17:17 skrev Timo Koch : > >  should be ok. Creating the new law is the same cost as creating the old > params, because the static functions have zero size. > > Timo > >>> 5. sep. 2021

Re: [DuMux] MaterialLawParams -> FluidMatrixInteraction

2021-09-05 Thread Timo Koch
should be ok. Creating the new law is the same cost as creating the old params, because the static functions have zero size. Timo > 5. sep. 2021 kl. 16:18 skrev Dmitry Pavlov : > >  > Timo, > > Ah, I see, the krw and krn in PcKrSw are not static, so I can, as you say,

Re: [DuMux] MaterialLawParams -> FluidMatrixInteraction

2021-09-04 Thread Timo Koch
) functions there are now in one class with state. So, if you want a law parametrized with different parameters, you construct a new law with new parameters (within the SpatialParams::fluidMatrixInteraction function). Hope this helps Timo > 5. sep. 2021 kl. 00:41 skrev Dmitry Pavlov : > &g

Re: [DuMux] DuMux Digest, Vol 123, Issue 5

2021-06-16 Thread Timo Koch
mux-repositories/dumux/-/blob/master/dumux/material/fluidmatrixinteractions/2p/interfacialarea/exponentialcubic.hh> And in the documentation you can find the reference to the paper / PhD thesis that discusses these parameters. Timo > On 16. Jun 2021, at 15:10, kenza bouznari wrote: >

Re: [DuMux] DuMux Digest, Vol 123, Issue 3

2021-06-15 Thread Timo Koch
would highly recommend going to the newest release. Timo > On 15. Jun 2021, at 17:58, kenza bouznari wrote: > > I am using dumux 2.9 version! > > Kenza > > Le mar. 15 juin 2021 à 10:17, <mailto:dumux-requ...@listserv.uni-stuttgart.de>> a écrit : > Se

Re: [DuMux] Thermal conduction in Dumux

2021-06-09 Thread Timo Koch
ted average. You can exchange it for some other constitutive law by implementing a class with the same interface and set it as the Property “ThermalConductivityModel”. Best wishes, Timo > On 10. Jun 2021, at 03:46, Mahmoud Atef Mahmoud Mohamed Aboelseoud S277151 > wrote: > > Hello

Re: [DuMux] Temporal discretization in Dumux

2021-05-21 Thread Timo Koch
tps://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/blob/master/test/porousmediumflow/tracer/constvel/main.cc> (note that IMPLICIT in this example is a preprocessor variable set to true or false in the CMakeLists.txt) Best Timo > On 21. May 2021, at 16:55, Mahmoud Atef Mahmoud Mohamed A

Re: [DuMux] Temporal discretization in Dumux

2021-05-21 Thread Timo Koch
<https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/issues/940> for current status) and some components have been merged but it’s going to take some time to make it into master. Timo > On 21. May 2021, at 16:25, Mahmoud Atef Mahmoud Mohamed Aboelseoud S277151 > wrote: >

Re: [DuMux] Parallel Multidomain Facet

2021-05-18 Thread Timo Koch
Hi Ana, unfortunately this is not implemented yet. FoamGrid is not parallel yet which would be needed for parallel assembly. The iterative solvers also currently don’t work in the multidomain setting although there is some ongoing work there (e.g. merge request !1950). Timo > On 18. May 2

Re: [DuMux] how to add a kinetic dissolution rate

2021-05-11 Thread Timo Koch
d also need an additional primary variable as the > CO2 in the aqueous phase would be independent of the aqueous phase, as the > equilibrium assumptions currently used would no longer apply. > Hi Johannes, hi Kenza, the latter should be possible with chemical non-equilibrium model. Best wishes

Re: [DuMux] [DuMuX] Numerical derivatives for pressure gradient with the Box method

2021-05-05 Thread Timo Koch
On 5. May 2021, at 13:52, Dmitry Pavlov mailto:dmitry.pav...@outlook.com>> wrote: Timo, I am reviving this old thread about a bug that you fixed ten months ago. It seems that the fix was not merged into the 3.3 release nor in the current master branch. Why is that? Is it b

Re: [DuMux] Setting zero transmissibility along an interface between 2 layers

2021-04-30 Thread Timo Koch
> On 30. Apr 2021, at 19:17, Mahmoud Atef Mahmoud Mohamed Aboelseoud S277151 > wrote: > > > Dear Timo, > > I went with your proposal of copying and modifying the darcyslaw class and > the code is working but I could still monitor a pressure decrease (In

Re: [DuMux] Numerical bug in invertCubicPolynomial

2021-04-29 Thread Timo Koch
Hi Dmitry, thanks for looking into this. It would be very nice if you could provide an MR with the proposed fix together with some unit tests that test corner cases (in test/common/test_math.cc). Timo > On 29. Apr 2021, at 16:05, Dmitry Pavlov wrote: > > Hello, > > I would

Re: [DuMux] Setting zero transmissibility along an interface between 2 layers

2021-04-28 Thread Timo Koch
at the desired positions. I note that you can fully do that in your own module by duplicating the original Darcy’s law, rename the class, make the changes, and set it as the property AdvectionType. For prototyping you can of course just start by modifying Darcy’s law in the dumux core. Timo

Re: [DuMux] Override TwoPNCVolumeVariables::completeFluidState

2021-04-26 Thread Timo Koch
ed doing that and just copy-pasted the entire > implementation, everything has come to normal. Hi Dmitry, that’s slightly strange. Letting your VolumeVariables inherit from TwoPNCVolumeVariables should be ok, too. Best Timo > > Best regards, > > Dmitry > > > On 26.

Re: [DuMux] Question on sourceAtPos function

2021-04-09 Thread Timo Koch
e contribution is added to the equation residual. Whether your values are realistic or not I cannot help you. Initial conditions seem fine. Hope this helps Timo > On 9. Apr 2021, at 12:51, Mahmoud Atef Mahmoud Mohamed Aboelseoud S277151 > wrote: > > > > Dear Timo, > &

Re: [DuMux] Question on sourceAtPos function

2021-04-08 Thread Timo Koch
> On 8. Apr 2021, at 13:42, Mahmoud Atef Mahmoud Mohamed Aboelseoud S277151 > wrote: > > Dear Timo, > > Thanks a lot for your reply. I didn't use the pointSources because I didn't > know how to assign the temperature inside such function for the injection > well

Re: [DuMux] Question on sourceAtPos function

2021-04-07 Thread Timo Koch
have to recheck your scenario to see if you would expect an influence on pressure for the specified production rate. Best wishes Timo > On 6. Apr 2021, at 18:05, Mahmoud Atef Mahmoud Mohamed Aboelseoud S277151 > wrote: > > Hello Dumux team, > > > I'm defining two wells

Re: [DuMux] Oil + gas simulation

2021-03-30 Thread Timo Koch
of chop / semi-smooth Newton. Best regards Timo > On 30. Mar 2021, at 16:36, Dmitry Pavlov wrote: > > >> I have to switch primary variables, similarly to what Etienne said, from >> secondPhaseOnly to bothPhases. So I implemented my own PrimaryVariab

Re: [DuMux] Importing an Eclipse Grid

2021-03-28 Thread Timo Koch
in the matching version. Timo > On 28. Mar 2021, at 15:49, Mahmoud Atef Mahmoud Mohamed Aboelseoud S277151 > wrote: > > Hello Dumux team, > > > Sorry for re-sending this but I just hope someone can help me. > I hope you're all doing great. I want to use

Re: [DuMux] Error building a new module (dumux-trial)

2021-03-09 Thread Timo Koch
Dear Mahmoud, happy to help. Thank you for reporting your problems. It helps us improving the code and the documentation! Best wishes, Timo > On 8. Mar 2021, at 13:25, Mahmoud Atef Mahmoud Mohamed Aboelseoud S277151 > wrote: > > Dear Timo, > > I really can't thank

Re: [DuMux] Error building a new module (dumux-trial)

2021-03-07 Thread Timo Koch
emoves all compiled executables and build files and caches.) Then run dunecontrol again (./dune-common/bin/dunecontrol --opts=dumux/cmake.opts all) Best wishes Timo > On 7. Mar 2021, at 19:47, Mahmoud Atef Mahmoud Mohamed Aboelseoud S277151 > wrote: > > Dear Timo, > >

Re: [DuMux] Error building a new module (dumux-trial)

2021-03-07 Thread Timo Koch
irst link here https://dumux.org/docs/ <https://dumux.org/docs/>) Best Timo > On 7. Mar 2021, at 14:43, Mahmoud Atef Mahmoud Mohamed Aboelseoud S277151 > wrote: > > Dear Christoph, > > Thanks a lot for your reply and advice. I am actually learning C++ these > day

Re: [DuMux] 1p and symmetry

2020-11-11 Thread Timo Koch
> On 11. Nov 2020, at 18:26, Dmitry Pavlov wrote: > > Timo, > > Thank you for the quick answer. > > It is incompressible two-component flow, with viscosity dependent in a > nonlinear fashion on the concentration of a polymer in water. > > The irregularities

Re: [DuMux] 1p and symmetry

2020-11-11 Thread Timo Koch
f this reduces the error. > > Are there any options that I can set for solvers to force them to respect the > symmetry of the problem over one axis? No. You would have to write your own solver. Timo > > (I know that I can use a 1D grid and have a consistent solution, but that

Re: [DuMux] Fugacity of Brine in gas phase

2020-10-23 Thread Timo Koch
and mass constraint assumptions. It should not be too difficult to replace the small linear solver with a small Newton solver if you use numeric differences to compute the Jacobian. Timo > On 23. Oct 2020, at 16:28, MOHAMMADREZA KARAMI wrote: > > sorry, my previous email is not complete.

Re: [DuMux] Switching linear solver causes simulation running on just a part of a 2D grid

2020-09-02 Thread Timo Koch
> On 2. Sep 2020, at 18:39, Dmitry Pavlov wrote: > > Timo, > > Thank you. I am exploring my options. Are all three steps (Assemble, Solve, > Update) normally parallelized? yes > > I also noticed that AMG does itself use UMFPack as a coarse solver, it it > (well

Re: [DuMux] Switching linear solver causes simulation running on just a part of a 2D grid

2020-09-02 Thread Timo Koch
-- _ Timo Koch phone: +49 711 685 64676 IWS, Universität Stuttgart fax: +49 711 685 60430 Pfaffenwaldring 61 email: timo.k...@iws.uni-stuttgart.de D-70569 Stuttgart url

Re: [DuMux] three domain modeling

2020-07-25 Thread Timo Koch
. the subgridmanager with dune-subgrid. A grid doesn‘t need to be connected everywhere, it can also consist of several disconnected patches. You would just need three domains if you have for example Stokes-Darcy1p-Darcy2p or something. Good luck Timo > Am 25.07.2020 um 09:27 schrieb Dennis Gläser > : &

  1   2   3   >