Hello Gerardo,
please have a look at the original file of the tutorial you have edited,
where in the function of the source values are assigned as follows:
values[Indices::contiWEqIdx] = 0.0;
values[Indices::contiNEqIdx]= 0.0;
Each component (or in the 2p models phase, respectively) is given an
individual value - only in this special case (both entries having the
same value), it would be sufficient to write
values = 0;
In your case, you only want an outflow of water. Therefore specify this
by using the appropriate index, i.e.
values[Indices::contiWEqIdx] = -1.;
values[Indices::contiNEqIdx]= 0.0;
I would also like to encourage you to spend more time on the focus,
structure and readability of your questions, and apply some
spell-checking software. This might sound old-fashioned, but, in my
opinion, is an essential ingredient of showing respect and being polite,
if you are about to seek help from somebody else.
Best regards,
Benjamin Faigle
On 02/17/2014 12:07 PM, Gerardo Zegers R wrote:
> Thanks for the help, but I still have the other doubt about the
> extraction of water.
>
> Iam the two phase model with a fluidsustem ( h2oairfluid system), where
> water as wetting phase and air as non-wetting phase. In the function of
> SourceAtpos when i put the value ( negative for extraction) I think is
> extracting air , how i can only extract water??
>
> Thanks
>
.......
>
> --
> Gerardo Zegers R
> 89850305
>
>
> _______________________________________________
> Dumux mailing list
> [email protected]
> https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
>
--
*******************************************************
::: CMWR 2014: 10th - 13th June 2014 in Stuttgart ::::
::: Please visit www.cmwr14.de ::::
*******************************************************
Dipl.-Ing. Benjamin Faigle
Universität Stuttgart
Institut für Wasser- und Umweltsystemmodellierung
Lehrstuhl für Hydromechanik & Hydrosystemmodellierung
Pfaffenwaldring 61 *** 70569 Stuttgart
http://www.hydrosys.uni-stuttgart.de/
Tel.: (+49) 711/ 685-60460
[email protected]
*******************************************************
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux