%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  7. Auflage
%% 
%%  Beispiel 23-04-27 auf Seite 505.
%% 
%%  Copyright (C) 2016 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
%% 
\documentclass[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{352.81416pt}
\setlength\parindent{0pt}
%StartShownPreambleCommands
\usepackage{pst-circ}
\newcommand*\pswall[3]{% ll ur lr
  \psframe[linecolor=white,fillstyle=hlines,hatchcolor=black](#1)(#2)% (ll)(ur)
  \psline[linecolor=black](#1)(#3)}
%StopShownPreambleCommands
\begin{document}
\begin{pspicture}(0.5,1)(8,10)
  \rput(3,9.5){\sffamily \textbf{Viscoelasticity}}
  % Kelvin-Voigt model (spring and dashpot parallel): ===========
  \rput[c](1.75,8.85){\sffamily Kelvin-Voigt}
  \pswall{1,8}{2.5,8.5}{2.5,8}% top
  \psline(1.75,8)(1.75,7)% top vertical line
  % node definitions:
  \pnode(1,7){ul1}\pnode(2.5,7){ur1}  \pnode(1,3){ll1}\pnode(2.5,3){lr1}%
  \psline(ul1)(ur1)% top line
  \psline(ll1)(lr1)% bottom line
  \resistor[dipolestyle=zigzag,linewidth=0.5pt](ul1)(ll1){}% spring
  \dashpot[linewidth=0.5pt](ur1)(lr1){}% dashpot
  \psline[arrowscale=3]{->}(1.75,3)(1.75,2)% force
  % Maxwell model (spring and dashpot serial): ==================
  \rput[c](4.5,8.85){\sffamily Maxwell}
  \pswall{4,8}{5,8.5}{5,8}% top
  \pnode(4.5,8){t}\pnode(4.5,4){b}% node definitions
  \resistor[dipolestyle=zigzag,linewidth=0.5pt,labeloffset=1.8](t)(b)% spring
  {\sffamily\small\begin{tabular}{c}\textbf{elasticity}\\(Hookean solid)\end{tabular}}% end spring
  \dashpot[linewidth=0.5pt,labeloffset=1.8](4.5,5)(4.5,3)% dashpot
  {\sffamily\small\begin{tabular}{c}\textbf{viscosity}\\(Newtonian fluid)\end{tabular}
  }% end dashpot
  \psline[arrowscale=3]{->}(4.5,3)(4.5,2)% force
\end{pspicture}
\end{document}
