Student Support Forum: 'Heat equation at sphere's surface' topicStudent Support Forum > General > "Heat equation at sphere's surface"

 < Previous Comment | Next Comment > Help | Reply To Comment | Reply To Topic
 Author Comment/Response Michael 07/26/12 07:56am I'm not sure what you're asking. It seems, but I may be wrong, that you know that the partial dh/dt in Mathematica is D[h[theta,phi,t], t] the 2nd partial is D[h[theta,phi,t], t, t] and so on for partials with resp. to theta, phi. So translating the derivatives doesn't seem a problem. You have probably found out that sin(phi) in Mathematica is written Sin[phi] Write == instead of = for equations. The form of NDSolve is NDSolve[{yourSphericalDE, listOfInitialConditions}, h, variables]. You'll need to figure out the initial conditions. If theta is the longitudinal variable, then one condition is h[0,phi,t]==h[2 Pi, phi,t] for h to be continuous. Specifying the derivative at the boundary is trickier: Derivative[1,0,0][h][0,phi,t]==Sin[phi], or whatever. Derivative[1,0,0][h] represents the 1st partial derivative of h with respect the first argument. Derivative[2,0,0][h] represents the 2nd partial derivative of h with respect the first argument. Derivative[0,1,0][h] represents the 1st partial derivative of h with respect the second argument. And so on. Those are my first thoughts... URL: ,

 Subject (listing for 'Heat equation at sphere's surface') Author Date Posted Heat equation at sphere's surface George 07/25/12 6:38pm Re: Heat equation at sphere's surface Michael 07/26/12 07:56am Re: Re: Heat equation at sphere's surface George 07/26/12 9:14pm Re: Heat equation at sphere's surface George 07/28/12 7:13pm
 < Previous Comment | Next Comment > Help | Reply To Comment | Reply To Topic