Alpha-type Stirling engine

Inspiration from Wikipedia.

engine_stirling_alpha-001.pngengine_stirling_alpha-002.pngengine_stirling_alpha-003.pngengine_stirling_alpha-004.png

Edit and compile if you like:

% Author: Izaak Neutelings (March 2019)
% Inspiration: https://commons.wikimedia.org/wiki/File:Alpha_Stirling.gif
\documentclass[border=3pt,tikz]{standalone}
\usetikzlibrary{calc}
\tikzset{>=latex} % for LaTeX arrow head
\colorlet{mylightblue}{blue!10}
\colorlet{mydarkblue}{blue!30!black}
\tikzstyle{arrow}=[->,line width=2,mydarkblue]
\tikzstyle{vector}=[->,line width=2,green!50!black]
\tikzstyle{gas}=[top color=red!30,bottom color=blue!20,shading angle=-45]
\tikzstyle{cold gas}=[blue!20]
\tikzstyle{hot gas}=[red!30]
\tikzstyle{knob}=[line width=2,mydarkblue,fill=blue!20!black!70]
\tikzstyle{arm1}=[very thick,mydarkblue,top color=blue!20!black!25,bottom color=blue!20!black!50]
\tikzstyle{arm2}=[very thick,mydarkblue,top color=blue!20!black!50,bottom color=blue!20!black!60]
\tikzstyle{piston1}=[very thick,mydarkblue,top color=blue!20!black!40,bottom color=blue!20!black!50,middle color=blue!20!black!40,shading angle=90]
\tikzstyle{piston2}=[very thick,mydarkblue,top color=blue!20!black!50,bottom color=blue!20!black!60,middle color=blue!20!black!40,shading angle=0]
% ANGLE
\newcommand{\getangle}[3]{%
\pgfmathanglebetweenpoints{\pgfpointanchor{#2}{center}}
{\pgfpointanchor{#3}{center}}
\global\let#1\pgfmathresult
}
% ENGINE
\def\engine#1{
\def\R{2} % flywheel
\def\Ra{1.8} % arm attachment on flywheel
\def\l{5.0} % arm length
\def\w{0.2} % arm width
\def\wa{0.3} % piston rod width
\def\ha{1.5} % piston rod length
\def\wp{3.8} % piston width
\def\hp{2.0} % piston height
\def\wt{1.0} % tube width
\def\W{4.0} % wall width
\def\H{8.4} % wall height
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Click to download: engine_stirling_alpha.texengine_stirling_alpha.pdf
Open in Overleaf: engine_stirling_alpha.tex

Leave a Reply

Your email address will not be published.