16.12.2012 Views

Computer Algebra Recipes

Computer Algebra Recipes

Computer Algebra Recipes

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.2. DIFFUSION AND LAPLACE'S EQUATION MODELS 241<br />

kept at T =0andT = 1, respectively, while the circular surface is kept at<br />

T = 1. Determine the steady-state temperature pro¯le inside the cylinder and<br />

plot the contours of equal temperature.<br />

Problem 5-27: Elliptic cross section<br />

An in¯nitely long bar of elliptic cross section has its curved surface, x2 +4 y2 =1,<br />

kept at T =0 ± . Determine the temporal evolution of T in the cylinder if initially<br />

T =100 ± everywhere inside and the di®usion constant d=1. Animate the result.<br />

5.2.5 Hugo Prepares for His Job Interview<br />

I'm notorious for giving a bad interview. I'm an actor and I can't<br />

help but feel I'm boring when I'm on as myself.<br />

Rock Hudson, American movie actor (1925{1985)<br />

Hugo has been invited by International Hydrodynamics Inc. to interview for a<br />

research position with their company, which specializes in designing streamlined<br />

hulls for surface vessels as well as underwater craft. As part of his preparation,<br />

Hugo decides to create some ¯les for the interview that demonstrate his skills<br />

at simulating liquid °ow around a variety of rigid geometrical shapes. As a<br />

\warm-up" exercise, he recalls from his undergraduate days a problem involving<br />

uniform incompressible °uid °ow around a sphere, a problem that can be<br />

solved analytically. Hugo remembers that the °uid can be characterized by a<br />

velocity potential U that satis¯es Laplace's equation. The velocity ~ V of a °uid<br />

element is then given by ~ V = ¡rU.<br />

Since a spherical boundary of, say, radius a is involved, Hugo chooses to use<br />

spherical coordinates (r; μ; Á) with the origin at the center of the sphere and the<br />

physicist's convention that μ is measured from the positive z-axis and Á from<br />

the positive x-axis. Then, the Cartesian and spherical polar coordinates are<br />

connected by the relations x = r sin μ cos Á, y = r sin μ sin Á, andz = r cos μ.<br />

The range of r is from 0 to 1, μ from 0 to ¼, andÁfrom0to2¼. At a distance r far from the sphere, the °uid °ow is assumed to be uniform<br />

and directed along the z-axis.Theasymptotic(larger) form of the velocity is<br />

~V = V0 ^ez where V0 is the undisturbed °uid speed. Thus, since<br />

~V = ¡ @U<br />

@x ^ex ¡ @U<br />

@y ^ey ¡ @U<br />

@z ^ez = V0 ^ez; (5.11)<br />

then, on equating vector components and integrating, the asymptotic velocity<br />

potential is given (to within an arbitrary constant) by U = ¡V0 z = ¡V0 r cos μ.<br />

This will serve as one of the boundary conditions on the solution. The other<br />

boundary condition is at the surface of the sphere. If the surface is idealized to<br />

be absolutely rigid, it will acquire no momentum from the °uid. This implies<br />

that the normal component of the °uid velocity vector must vanish at r = a.<br />

Writing the gradient operator in spherical polar coordinates, this means that<br />

the velocity potential must satisfy the boundary condition @U=@rjr=a =0.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!