JHZR2
Staff member
So I'm always big on saying how important calculus and all is. Of course even those of us who respect and understand the need for it, dont always remember all of the basics. I havent done this one in a while, and Im doing something wrong.
Any math whizzes who can help me out here?
The basis is a laplacian in spherical coordinates.
This would be a PDE, with a time derivative on the LHS, but everything simplifies out to be 1D, so I guess it is really an ODE.
My equation is this, at steady state:
Sql Query:
0 = 1/r^2 ∂/∂r (D*r^2 ∂c/∂r)
Where D is some numerical Scalar, it does not imply a directional derivative or anything.
So the thing that I'm just not remembering is how to deal with the basic function of the form:
Sql Query:
∂/∂r (r^2 ∂c/∂r)
in terms of how to deal with it to make it solvable.
I was kind of under the impression that I should do a chain rule to make it a real ODE, which gives me:
Sql Query:
0 = D*( ∂2c/∂r2 + 2/r ∂c/∂r)
Problem is that the 2/r would integrate into log(r), right? Implementing the BC for the sphere that at r=0, dc/dr=0, I would have an undefined answer since I'd have Log(0).
So something is wrong.
I just dont recall how to solve. I want to actually go through the math to prove it to myself. I know there are solutions for this mind of form, but it annoys me that Im forgetting the basic step to solve this form of equation... so I need to go through the motions with the right start.
Thanks!
Any math whizzes who can help me out here?
The basis is a laplacian in spherical coordinates.
This would be a PDE, with a time derivative on the LHS, but everything simplifies out to be 1D, so I guess it is really an ODE.
My equation is this, at steady state:
Sql Query:
0 = 1/r^2 ∂/∂r (D*r^2 ∂c/∂r)
Where D is some numerical Scalar, it does not imply a directional derivative or anything.
So the thing that I'm just not remembering is how to deal with the basic function of the form:
Sql Query:
∂/∂r (r^2 ∂c/∂r)
in terms of how to deal with it to make it solvable.
I was kind of under the impression that I should do a chain rule to make it a real ODE, which gives me:
Sql Query:
0 = D*( ∂2c/∂r2 + 2/r ∂c/∂r)
Problem is that the 2/r would integrate into log(r), right? Implementing the BC for the sphere that at r=0, dc/dr=0, I would have an undefined answer since I'd have Log(0).
So something is wrong.
I just dont recall how to solve. I want to actually go through the math to prove it to myself. I know there are solutions for this mind of form, but it annoys me that Im forgetting the basic step to solve this form of equation... so I need to go through the motions with the right start.
Thanks!