Example 3 : Torsion of a cylinder
Suppose that the cross-section of the cylinder is bounded by the
curves:

A statically admissible Prandtl stress function for this cross-section is
![{\displaystyle \phi =[x_{2}^{2}-g^{2}(x_{1})]f(x_{1})}](../e4a5afc86d89bcca65dd6650613a853d9628106a.svg)
with the restrictions that
is twice continuously differentiable and
.
We seek to derive the best approximate Prandtl stress function of this form by minimizing the complementary energy.
You can show that the complementary energy
per unit length of the cylinder can be expressed as
![{\displaystyle \Pi ^{c}[\phi (x_{1},x_{2})]=\int _{\mathcal {S}}\left[{\frac {1}{2\mu }}(\phi _{1}^{2}+\phi _{,2}^{2})-2\alpha \phi \right]~dA}](../3e4f422a213291324b1e2e119d00e23a5e65f86f.svg)
Plugging in the given form of
and after some algebra, we get
![{\displaystyle \Pi ^{c}[f(x_{1})]={\frac {15}{16\mu }}\int _{c}^{d}\left[{\frac {1}{2}}g^{5}(f^{'})^{2}+{\frac {5}{2}}g^{4}g^{'}ff^{'}+{\frac {15}{4}}g^{3}(g^{'}f)^{2}+{\frac {5}{4}}g^{3}f^{2}+{\frac {5}{2}}\mu \alpha g^{3}f\right]~dx_{1}}](../9107fda97d5b35b66c596f274e0b402fe7ab1ebc.svg)
Taking the variation of
, and after considerable manipulation, we get
![{\displaystyle \delta \Pi ^{c}={\frac {15}{16\mu }}\int _{c}^{d}{\frac {g^{5}}{4}}\left[f^{''}-{\frac {5}{g^{2}}}(g^{2}f)^{''}+{\frac {10}{g^{2}}}f+{\frac {10\mu \alpha }{g^{2}}}\right]\delta f~dx_{1}}](../a3467db893ec0a9d10b9fbe1ad5dd13d1a284076.svg)
Now, if we consider the cross-section to be rectangular, then we have
,
, and
. Therefore, the above equation reduces to
![{\displaystyle \delta \Pi ^{c}={\frac {15}{16\mu }}\int _{-a}^{a}{\frac {b^{5}}{4}}\left[f^{''}-5f^{''}+{\frac {10}{b^{2}}}f+{\frac {10\mu \alpha }{b^{2}}}\right]\delta f~dx_{1}}](../e571fe2c64700368adb457f6a72cf4c31fb4e01d.svg)
Therefore, the function
that minimizes
satisfies the equation

or,

with the static admissibility conditions
.
The general solution of the above equation is

Therefore, from the BCs,

We can substitute back into
to get the approximate Prandtl stress
function for this problem. The error between the exact and this
approximate solution is generally less than 1%.