Dear Kenza,

if you are using the Box method, the volume of a SubControlVolume (scv) is 
considered.

If you want to inject a certain mass flow (kg/s), the pointSource() function 
should be the right choice for you.


Have a look at the tests 
https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/tree/master/test/porousmediumflow/1p/implicit/pointsources

to see how they are used (can be timedependent or not). You need to adapt both 
your problem and main file as done in the tests.


Best regards

Kilian


________________________________
Von: Dumux <[email protected]> im Auftrag von kenza 
bouznari <[email protected]>
Gesendet: Donnerstag, 28. Mai 2020 20:30
An: [email protected]
Betreff: [DuMuX] SourceAtPos()

Hello,

I am injecting gas into a 2D cell of sand saturated with water. For this I use 
SourceAtPos () to inject from a single node. On Doxygen documentation, I saw 
that it corresponds to a mass flow per unit of volume (Kg / m3.s-1).
I therefore divide my mass flow (kg / s) per unit of volume into which I inject 
(ie the volume of one element in my case).
Curiously, I get gas saturation 10 times lower than what I can expect.
So I wonder if I'm using the SourceAtPos option properly. I would like also to 
have your opinion on what could cause this underestimation of gas quantity in 
my domain.
P.S I use the Box method for my simulations.

Thank you for your time.
Best regards,

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

Reply via email to