Edit and compile if you like:
\documentclass{standalone}\usepackage{circuitikz}\usetikzlibrary{3d,positioning,decorations.markings}\tikzset{decoration={%markings,%mark=at position 0.05 with {\arrow[black]{stealth};},%mark=at position 0.4 with {\arrow[black]{stealth};},%mark=at position 0.6 with {\arrow[black]{stealth};},%mark=at position 0.95 with {\arrow[black]{stealth};}},gradient/.style ={bottom color=blue!50, top color=red},pics/.cd,p charge/.style={code={\node [fill=orange, shape=circle, inner sep=0pt] (pc) {+};\draw[thick,->] (pc)--++(0,-0.5);}},n charge/.style={code={\node [fill=cyan, shape=circle, inner sep=1pt, scale=1.2] (nc) {-};\draw[thick,->] (nc)--++(0,-0.5);}},}\newcommand\heatsink{\draw[fill=blue] (0,0,0) rectangle ++(6,1.5,0)node[midway,color=white]{heat sink};\draw[fill=blue] (6,0,0) -- ++(0,1.5,0) -- ++(0,0,-3) -- ++(0,-1.5,0) -- cycle;\draw[fill=blue] (0,1.5,0) -- ++(6,0,0) -- ++(0,0,-3) -- ++(-6,0,0) -- cycle;\draw[gradient,opacity=0.5] (0.5,1.5,-2.8) -- ++(0,10,0);\draw[gradient,opacity=0.5] (0.5,1.5,-2.8) -- ++(5,0,0);}\begin{document}\begin{circuitikz}[scale=0.4,font=\sffamily,>=stealth]\begin{scope}% heat sink 1\heatsink\draw[gradient,opacity=0.5] (0.5,1.5,-2.8) -- ++(0,0,2.6);\fill[gradient,opacity=0.7] (5.5,1.5,-0.2) -- ++(0,10,0) -- ++(0,0,-2.6) -- ++(0,-10,0) -- cycle;
Click to download: seebeck-effect.tex
Open in Overleaf: seebeck-effect.tex
This file is available on tikz.netlify.app and on GitHub and is MIT licensed.
See more on the author page of Janosh Riebesell..