.. _TwoPhaseImmiscibleFluid: ############################################ Two-phase immiscible fluid model ############################################ Overview ========================= This model represents a two-phase immiscible fluid with pressure-dependent density and viscosity. For each phase, both density and viscosity are described as tabulated data, either in the form of ``TableFunction`` or text files. In the case of text files, one file is expected per phase and should consist of three columns: pressure, density and viscosity. Note that currently, there is no temperature dependence in the model. Parameters ========================= The model is represented by ```` node in the input. The following attributes are supported: .. include:: /docs/sphinx/datastructure/TwoPhaseImmiscibleFluid.rst Example using TableFunctions ============================ .. code-block:: xml Example using text files ========================= .. code-block:: xml with, for example, ``water.txt`` being set as: .. code-block:: text # P(Pa) Dens(kg/m3) Visc(Pa.s) 2068000 980.683 0.0003 5516000 982.07 0.0003 30600000 992.233 0.0003 55160000 1002.265 0.0003