1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
%%
%% A DANTE-Edition example
%%
%%
%% Copyright (C) 2010 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[]{article}
\pagestyle{empty}
\setlength\textwidth{375.57637pt}
\setlength\parindent{0pt}
\usepackage{pstricks,pst-circ}
\newcommand*\pswall[3]{% ll ur lr
\psframe[linecolor=white,fillstyle=hlines,hatchcolor=black](#1)(#2)% (ll)(ur)
\psline[linecolor=black](#1)(#3)}
\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}
|