Unspoken math rules are breaking my confidence in advanced math
Non-newtonian cylindrical flow
(Graduate) (ChemE) (Transport) (Fluid mech)
Solving cauchy equation for non newtonian fluid in cylindrical coordinates. I am finding the minimum radius where flow occurs which is the condition where T = T0
Rheology is given by: Sqrt(T)=Sqrt(T0)+eta*Sqrt(dv/dr)
Cauchy after initial simplification (dv/dtheta =0, steady state, etc.) Reduces to
dP/dr = -((1/r)d/dr(rT) + pg
Here's where I get absolutely lost and end up off by a factor of 2. I have a constant expression for dP/dr (combined with the constant pg term I'll call it alpha) and am allowed to substite it in just fine. But if I assume T to be constant T0 (which I believe is fine since that is what my prof plugs in at a later time than I) and plug it in, I get:
- alpha = -(1/r)d/dr(rT0)
alpha = -(1/r)T0 (since d/dx of cx is c)
T0/(-alpha) = r
The problem is that the answer is off by a factor of 2. I'm apparently supposed to keep T as an unknown and solve like this:
- alpha = -(1/r)d/dr(rT)
-alpha*r = d/dr(rT)
int -alpha*r dr = int d(rT) (treat it as a 1st order ode, from a BC I know the constant of integration is 0)
-alpha (r^2/2)= rT
(-alpha*r)/2 = T
Then I plug in knowing T is a constant T0 to get
r= (2*T0)/(-alpha)
What fundamental general math rule/not so obvious assumption is broken by doing it the way I did? I'm fine plugging dP/dr in early but can't for the embedded T? Why? From what I see I should have no problem evaluating what d/dr(rT0) is but it's wrong.
It's breaking my reality of math because outside of order of operations math should always work out to the same answer regardless of how you got there. Apparently there must be a rule for when you are plugging things in since I'm off by 2 otherwise.
I want math to be fluent for me, not an algorithm, and I keep being tripped up by these seemingly unspoken rules.