I am having a problem differentiating a function. I have a fluid in a channel with moving walls corresponding to y=a(t) (upper wall) and y=-a(t) (lower wall). The fluid is driven by suction out of the walls. The speed of the fluid being sucked out of the walls is the constant v_w. I am using the variable eta=y/a(t) to model the fluid. y is the normal direction to teh channel and x is the streamwise direction of the channel. So I have
x=streamwise direction of the channel
y=normal direction of the channel
a(t)=height of the channel
v_w=constant
t=time
eta=y/a(t) is the similarity variable
u=streamwise velocity
Xi=-v_w*x*F(eta,t)/(a(t)^2)
I want top partially differentiate Xi with respect to t.
I am confused as a(t) depends on t, eta depends on a(t) which in turn depends on t and F depends on t. What would i write on maple to get the correct differentiation?
Thanks
clarification, and probable answer
There appear to be some inconsistencies in your description of the dependencies. Here's what I read:
a(t) depends on t,
eta depends on a(t) which in turn depends on t
and F depends on t
In your sample Maple, you have F depending on both eta and t. If F depends only on t, how does eta enter your equation? What is x?
While I do not know if the following is exactly the form you have in mind, it does show how to enter the dependencies and find the derivative wrt t.
Here is, I hope, the derivative in a typeset form.
Doug
try PDEtools[declare]
You can get slightly more efficient output by using PDEtools[declare]:
Are we getting closer to what you want to do?
Doug
thanks so much for all your
thanks so much for all your help. sorry my description wasnt very good. I should've written F(eta,t) depends on eta and t but eta=y/a(t) so it also depends on t from the a(t) as well. x is unimportant. it can be considered as a constant as the differentiation is with respect to t.
thanks again
mj
andXi:=-v_w*x*F(eta,t)/a(t)^
so i guess all i really need differentiating with respect to t is
Xi:=F(eta,t)/(a(t)^2);
where
eta=y/a(t)
differentiating with respect to t
Using 'PDEtools[declare]', for a more compact output, you may do it like:
Xi:=F(eta,t)/(a(t)^2); Xi1:=subs(eta=y/a(t),Xi); PDEtools[declare]([a(t)],quiet,prime=t); expand(diff(Xi1,t)); D[1](F)(y/a, t) y a' D[2](F)(y/a, t) 2 F(y/a, t) a' - -------------------- + --------------- - -------------- 4 2 3 a a athank you so much to both of
thank you so much to both of you.