File:CoreyExampleForRelativePermeability.png

From formulasearchengine
Jump to navigation Jump to search

Original file(1,657 × 1,433 pixels, file size: 73 KB, MIME type: image/png)

This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

Summary

Description
English: Example of the Corey approxmation for relative permeability in porous medium.
Date
Source Own work
Author Berland


Source code

Made in Latex, tikz and pgfplots:

\documentclass{minimal}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\centering
\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]
    \addplot[thick,blue] {0.6*x^2};
    \addplot[thick,red] {(1-x)^2};
    \node[name=Krwo] at (axis cs:0.85,0.6) {$K_{rw}^o$};
    \draw[thick,->] (Krwo) -- (axis cs:0.98,0.6);
    \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 corey.tex
pdftoppm -r 600 corey.pdf corey-untrimmed
convert -trim corey-untrimmed-1.ppm corey.png

Conversion to SVG should be done when tools mature. I tried with inkscape, but the resulting SVG was buggy.

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.
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.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

2 March 2010

image/png

60253cc4d13e9a561fc0a4a1d602a5ed5f2b09ca

74,447 byte

1,433 pixel

1,657 pixel

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current23:08, 26 September 2016Thumbnail for version as of 23:08, 26 September 20161,657 × 1,433 (73 KB)wikimediacommons>CmdrjamesonCompressed with pngout. Reduced by 31kB (30% decrease).

There are no pages that use this file.