Example 3: Rectangular Cylinder
In this case, the form of
is not obvious and has to be
derived from the traction-free BCs

Suppose that
and
are the two sides of the rectangle, and
.
Also
is the side parallel to
and
is the side parallel to
.
Then, the traction-free BCs are

A suitable
must satisfy these BCs and
.
We can simplify the problem by a change of variable

Then the equilibrium condition becomes

The traction-free BCs become

Let us assume that

Then,

or,

Case 1: η > 0 or η = 0
In both these cases, we get trivial values of
.
Case 2: η < 0
Let

Then,

Therefore,
![{\displaystyle {\bar {\psi }}(x_{1},x_{2})=\left[C_{1}\cos(kx_{1})+C_{2}\sin(kx_{1})\right]\left[C_{3}\cosh(kx_{2})+C_{4}\sinh(kx_{2})\right]}](../2bcb2287f2c30081bbf32884dfdc0a1b041a4235.svg)
Apply the BCs at
~~ (
), to get
![{\displaystyle {\begin{aligned}\left[C_{1}\cos(kx_{1})+C_{2}\sin(kx_{1})\right]\left[C_{3}\sinh(kb)+C_{4}\cosh(kb)\right]&=2x_{1}\\\left[C_{1}\cos(kx_{1})+C_{2}\sin(kx_{1})\right]\left[-C_{3}\sinh(kb)+C_{4}\cosh(kb)\right]&=2x_{1}\end{aligned}}}](../b8f3546d1357cc29b7f3b8e541db9f4809ba2b02.svg)
or,

The RHS of both equations are odd. Therefore,
is odd. Since,
is an even function, we must have
.
Also,
![{\displaystyle F(x_{1})\left[G^{'}(b)-G^{'}(-b)\right]=0}](../b7d9023ae4253379b8f94da24302aff5143a00b4.svg)
Hence,
is even. Since
is an odd function, we must
have
.
Therefore,

Apply BCs at
(
), to get

The only nontrivial solution is obtained when
, which means that

The BCs at
are satisfied by every terms of the series

Applying the BCs at
again, we get

Using the orthogonality of terms of the sine series,

we have
![{\displaystyle \int _{-a}^{a}\left[\sum _{n=0}^{\infty }B_{n}\sin(k_{n}x_{1})\right]\sin(k_{m}x_{1})dx_{1}=\int _{-a}^{a}\left[2x_{1}\right]\sin(k_{m}x_{1})dx_{1}}](../2a7507d4b2ef54e1539e8202728c76e9fef29c6e.svg)
or,

Now,

Therefore,

The warping function is

The torsion constant and the stresses can be calculated from
.