Hi Jean-Francois,

coming from the checkout-dumux script, setting up dumux-lecture can indeed be an obstacle to overcome. But as you say, if you want to set up a Dune project, you anyway have to get into that. Nevertheless, it is a good idea to include dumux-lecture in the checkout-dumux script.

My rating for the programming difficulty of implementing a new fluidsystem would be a 3 out of 10, where 1 would be to change the value of a boundary condition in a problem file, and 10 to implement another spatial discretization that works for all implicit porous media models (maybe this scale is logarithmic ;-) ).

You have to supply
- one file for each component, so two in your case since water is already there. - one file for each pairing of the components to describe binary coefficients, so three in your case.
- one file for the fluidsystem itself.
An example 3p3c system is given in dumux/material/fluidsystems/h2oairxylenefluidsystem.hh with components h2o.hh, air.hh, xylene.hh in dumux/material/components and binary coefficients h2o_air.hh, h2o_xylene.hh, air_xylene.hh in dumux/material/binarycoefficients.

You then have to adapt your problem file such that the 3p3c model with your new fluidsystem is chosen and that the correct boundary and initial conditions are provided.

However, I can't foresee the effort that will be required to get the 3p3c model with your new fluidsystem numerically stable. Ideally, there will be no such effort, in the worst case, that effort can be pretty substantial.

Kind regards
Bernd


On 11/27/2014 04:19 PM, [email protected] wrote:
Thanks a Lot Bernd!
I just had a look at the example you kindly pointed out and it is more than 
what I was expected for!  superb!
...we can start from there tweak a few things and we will have at least in 2d a 
very good starting point...

One comment and one question tough

1- Compile dune-lecture as a standalone module in our already compiled root 
directory alluded us [ well we did not spend more than a few hours.. but it is 
far from obvious to a newcomer.. the howto in the dune project date back to 
2009 so we did not went there afraid of having to face too many changes....

Instead we recompiled everything.
  it was a quick fix but at some point we will have to figure out how to 
include a new module in an already existing dune/dumux installation.

2 A question: on a scale of 1 to 10 how difficult is it going to be to set up 
new fluid systems in dumux( based on your experience..).?

Is there some known issues related to what work/don't work in the fluid system?

  Our fluid system will be water + organic liquids

the "interesting" part in the fluid systems we are investigating  is that the organic liquid is a 
mixture of 2 components. The  lighter one  will  outgase when temperature starts to increase below water 
boiling point. in doing so it is going to carry away water vapor [ similar to humid air heat transport] . 
"Back of the envelope" estimates indicate that this "drying effect" will carry 
significant heat even before boiling point and has the potential in some case to increase the critical flux.. 
which is why we are interested :-)

This means that our fluid system is a 3p3c and all the vapor pressures and  
henry coefficient will have to be described..
Sorry if these questions sound naives but as initially mentioned we are usually 
more on the experimental side .of these things..but we need to get on the 
modeling side on this one if we want to have a chance to understand our 
results...

Thanks a lo (again)!!
JF
https://www.mail.ensam.eu/owa/?ae=Item&t=IPM.Note&a=Open&s=Draft&id=RgAAAADJdokWs2xdRYAk7ZquPWpaBwBhsR8VbF5ERKx3wo8b4fd4AAAAvoc1AABhsR8VbF5ERKx3wo8b4fd4AAAJsZMnAAAJ#
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux


--
_______________________________________________________________

Bernd Flemisch                         phone: +49 711 685 69162
IWS, Universität Stuttgart             fax:   +49 711 685 60430
Pfaffenwaldring 61            email: [email protected]
D-70569 Stuttgart            url: www.hydrosys.uni-stuttgart.de
_______________________________________________________________

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

Reply via email to