File:LETexampleForRelativePermeability.png

Summary

Description
English: Example of relative permeability curve from LET-correlation
Date
Source Own work
Author Berland

Source code

Made in Latex, tikz and pgfplots:

\documentclass{minimal}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\centering
\newcommand{\Lw}{2}
\newcommand{\Ew}{2}
\newcommand{\Tw}{2}
\newcommand{\Lo}{2}
\newcommand{\Eo}{2}
\newcommand{\To}{2}
\newcommand{\Korw}{0.6}

\begin{tikzpicture}
  \begin{axis}[height=5cm,width=5cm,
    xmin=0,xmax=1,ymin=0,ymax=1,samples=200,
    xlabel=$S_{wn}$, ylabel=$K_r$,
    scale only axis,axis y line=left]
  \end{axis}
  \begin{axis}
    [height=5cm,width=5cm,
    xmin=0,xmax=1,ymin=0,ymax=1,
    scale only axis,axis y line=right,
    axis x line=none,samples=200,grid=both]

    % water curve
    \addplot[thick,blue] {\Korw*x^\Lw/(x^\Lw + \Ew*(1-x)^\Tw)};

    % oil curve
    \addplot[thick,red] {(1-x)^\Lo/((1-x)^\Lo+\Eo*x^\To)};

    \node[name=Krwo,yshift=10pt] at (axis cs:0.85,\Korw) {$K_{rw}^o$};
    \draw[thick,->] (Krwo) -- (axis cs:0.98,\Korw);
    %\legend{$K_{rw} = K_{rw}^o S_{wn}^2$, $K_{row}=(1-S_{wn})^2$}
  \end{axis}
\end{tikzpicture}
\end{document}

Then run the commands:

pdflatex let.tex
pdftoppm -r 600 let.pdf let-untrimmed
convert -trim let-untrimmed-1.ppm let.png

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Category:CC-BY-SA-3.0#LETexampleForRelativePermeability.png
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
Category:License migration redundant#LETexampleForRelativePermeability.pngCategory:GFDL#LETexampleForRelativePermeability.png
You may select the license of your choice.
Category:Self-published work
Category:Physics diagrams Category:Multiphase flow Category:TikZ graphics Category:Images with LaTeX source code
Category:CC-BY-SA-3.0 Category:GFDL Category:Images with LaTeX source code Category:License migration redundant Category:Multiphase flow Category:Physics diagrams Category:Self-published work Category:TikZ graphics