Hello,

I refine a bit my question.

Is it corrent, respect to the definition of fluid system that I need, to write:


// In the following we define our fluid properties.
template<class TypeTag>
struct FluidSystem<TypeTag, TTag::FiveSpotProblemTypeTag>
{
    // We define a convenient shortcut to the property Scalar:
    using Scalar = GetPropType<TypeTag, Properties::Scalar>;

    // First, we create a fluid system that consists of one liquid water phase. We use the simple     // description of water, which means we do not use tabulated values but more general equations of state.     using WettingPhase = FluidSystems::LiquidPhaseTwoC<Scalar, myH2O<Scalar>, myPolymer<Scalar> >;

    // Second, we create another fluid system consisting of a liquid phase as well, the Trichlorethene (DNAPL) phase:     using NonwettingPhase = FluidSystems::OnePLiquid<Scalar, myOil<Scalar> >;

    // Third, we combine both fluid systems in our final fluid system which consist of two immiscible liquid phases:     using type = FluidSystems::TwoPImmiscible<Scalar, WettingPhase, NonwettingPhase>;
};

If, yes, then, I'm a bit confused on how to define the indexes for phases and components.


Best regards,

Lorenzo


On 27.01.2020 12:35, lc wrote:
Dear Dumux-ers,

I'd like to ask, how to create a fluid system with 2 phases: water and oil and 2 components, water and "polymer" only in the water phase?

The definietion of the "polymer" component is not important for the moment, it will be obtained overloading some other component and changing the property values.


Thank you,

Kind regards,

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
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to