Problem 2: ME 303 Spring 1998

M.M. Yovanovich

S98MTPROB3.MWS

Solution for Problem 2.

> restart:

(a) Nondimensionalize the PDE with [Maple Math] .

Transformation of the terms [Maple Math] and [Maple Math] .

> ux:= diff(u(zeta,tau),zeta)*diff(zeta(x),x);

[Maple Math]

> uxx:= diff(u(zeta,tau),zeta,zeta)*diff(zeta(x),x)^2;

[Maple Math]

> ut:= diff(u(zeta,tau),tau)*diff(tau(t),t);

[Maple Math]

Introduce [Maple Math] into the PDE.

> zeta:=x-> x/L; diff(zeta(x),x);
tau:= t->alpha*t/L^2;
u(zeta,tau):= phi(zeta,tau)*u[ref];

[Maple Math]

[Maple Math]

[Maple Math]

[Maple Math]

Transformations of space and time terms of PDE.

> uxx:= uxx;

[Maple Math]

> ut:= ut;

[Maple Math]

Substitute into the dimensional PDE to get nondimensional PDE:

> pdend:= uxx + P/k - ut/alpha = 0;

[Maple Math]

Multiply through by [Maple Math] to get another form of the PDE.

> pde2:= expand(L^2/u[ref]*pdend);

[Maple Math]

(b) Select the arbitrary reference temperature [Maple Math] such that the source term becomes 1.

> u[ref]:= L^2*P/k;

[Maple Math]

(c) Specify the nondimensional steady-state ODE and the boundary conditions, and obtain the solution.

The steady-state ODE is obtained from the transient PDE by setting the transient term to zero. The two steady-state boundary conditions are obtained from the conditions:

[Maple Math] and [Maple Math] . They are [Maple Math] and [Maple Math] .

> unassign(zeta):
odes:= diff(phis(zeta),zeta,zeta) + 1 = 0;

[Maple Math]

> sol:= dsolve(odes, phis(zeta));

[Maple Math]

> bc1:= subs(zeta = 0, diff(rhs(sol),zeta)) = 0;

[Maple Math]

> bc2:= subs(zeta = 1, rhs(sol)) = 0;

[Maple Math]

> consts:= solve({bc1,bc2},{_C1,_C2});

[Maple Math]

> assign(consts):

> sol:= sol;

[Maple Math]

(d) >From the nondimensional steady-state solution determine the dimensionless heat transfer rates at the two boundaries defined as [Maple Math] at [Maple Math] and [Maple Math] at [Maple Math] .

> Qstar[0]:= -subs(zeta =0, diff(rhs(sol),zeta));

[Maple Math]

> Qstar[1]:= -subs(zeta =1, diff(rhs(sol),zeta));

[Maple Math]

>

The boundary at [Maple Math] is adiabatic and all of the heat generated inside the system leaves through the right boundary.