Hello,
2) You have to implement your custom "FluidSystem" class that can,
e.g., inherits from whatever fluid system you used before and overload
the viscosity function. You can use the surfactant concentration
passed in through the fluidState from the VolumeVariables class.
I'm trying to do this thing but I have some doubts ...
Let's assume that I have 1p2c (polymer and water component in water phase).
I want to say that viscosity depends also on polymer concentration (or
molar/mass fraction).
Let's say that I have some tabulated value for such dependency which I
can interpolate.
Then, should I write such tables/interpolation in the component file
(i.e. liquidviscosity() function) or in the fluidsystem file?
In any case, how to overload the viscosity function adding the
fluidstate.molefraction variable (or something similar) as arguments?
Is there any example?
Thank you,
Lorenzo Campoli
--
________________________________________________________
Le informazioni
contenute in questo messaggio di posta elettronica sono strettamente
riservate e indirizzate esclusivamente al destinatario. Si prega di non
leggere, fare copia, inoltrare a terzi o conservare tale messaggio se non
si è il legittimo destinatario dello stesso. Qualora tale messaggio sia
stato ricevuto per errore, si prega di restituirlo al mittente e di
cancellarlo permanentemente dal proprio computer.
The information
contained in this e mail message is strictly confidential and intended for
the use of the addressee only. If you are not the intended recipient,
please do not read, copy, forward or store it on your computer. If you have
received the message in error, please forward it back to the sender and
delete it permanently from your computer system.
_______________________________________________
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux