CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Peters flame regime diagram [Latex] (https://www.cfd-online.com/Forums/openfoam-solving/227084-peters-flame-regime-diagram-latex.html)

openfoamer93 May 16, 2020 19:36

Peters flame regime diagram [Latex]
 
1 Attachment(s)
Dear All,

This is an open-source plot of the Peters flame regime diagram
you can just copy&paste it in any Latex editor [I recommend using overleaf].
Regarding the annotations of the regimes, one can use adobe illustrator (I use this option) or Latex itself to define the regimes.

All the best.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\documentclass{article}
\usepackage{pgfplots}
\usetikzlibrary{pgfplots.groupplots}

\begin{document}

\begin{tikzpicture}
\begin{axis}[
xlabel={$l/l_F$},
ylabel={$u'/S_u$},
xmode=log,
ymode=log,
width=10cm,
height=10cm,
xmin=1e-1,
ymin=1e-1,
xmax=1e3,
ymax=1e3,
]
\addplot [mark=none,black, thick] coordinates {(10,0.1)(0.1,10)};
\addplot [mark=none,black, thick] coordinates {(1,1)(1000,1)};
\addplot [mark=none,black, thick] coordinates {(1,1)(1000,10)};
\addplot [mark=none,black, thick] coordinates {(0.1,10)(1000,215.443469)};
\addplot [mark=none,black, thick] coordinates {(0.1,10)(1000,215.443469)};
\addplot [mark=none,lightgray] coordinates {(1,1)(100,100)};
%points of the (lengthRatio,velocityRatio):
\addplot [blue, mark=o,only marks,thick] coordinates {(9.81539,1.2573)(14.216,1.09591)(13.59276,1.31127 )};
\addplot [red, mark=o,only marks,thick] coordinates {(8.11824,3.9575)(8.33839,3.91448)(8.09698,4.90553 )};
\end{axis}
\end{tikzpicture}

\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


All times are GMT -4. The time now is 22:12.