I have a hollow bar with outer diameter d1
and inner diameter d2
. One end of the bar is fixed and the other is subjected load. Due to this load bending stress are generated in the bar and it is given by
\begin{align}
\sigma=\frac{M c}{I_{xx}} \label{eq:stress}
\end{align}
I am interested in reducing this stress for any given value of M
. The form of c
and Ixx
is given by
\begin{align*}
c=\frac{d_{o}}{2};\quad I_{xx}=\frac{\pi (r_{o}^4-r_{i}^4)}{4}
\end{align*}
The outer and the inner radius r1
and r2
are related by below equation
\begin{align}
r_{o}-r_{i}=t
\label{eq:const}
\end{align}
Now my objective is to minimize the stress σ
. which I have written as f
such that the constraint is satisfied
\begin{align}
f&=\frac{4Mr_{o}}{\pi(r_{o}^4-r_{i}^4)}\\
\end{align}
ClearAll["Global`*"];
d1 = 2*r1;(*outer diameter*)
d2 = 2*r2;(*Inner diameter*)
aixx = Simplify[(π (d1^4 - d2^4))/64];
sigmax = Simplify[(M*r1)/aixx];
f = sigmax; (*opjective function*)
r1 = r2 + t;
Minimize[{f, r1}, {r2, t}]
g
is not a constraint, andt
is not defined. $\endgroup$r1
andr2
are related byt
. and I have slightly modified the OP is that OK $\endgroup$Minimize[f, {r2, t}]
$\endgroup$