|
[Sponsors] |
September 5, 2015, 11:26 |
Differentiation
|
#1 |
New Member
Anwar
Join Date: Nov 2014
Posts: 28
Rep Power: 11 |
if r=f(x,z) as r:radius & x:x distance & z: z distance
a=f(u,w) as a:axial velocity & u:x velocity component & w:z velocity component I want to get (da/dr) as I have only the values of du/dx & du/dz & dw/dx & dw/dz |
|
September 5, 2015, 11:46 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
Quote:
sorry but your question is not very clear to me .... u and v are funcion of (x,z) only? the function f is the same ??? |
||
September 5, 2015, 12:09 |
|
#3 |
New Member
Anwar
Join Date: Nov 2014
Posts: 28
Rep Power: 11 |
r is curvature radius in xz plane , so r is a function of x,z
a is axial velocity in curvature axis dimension , and so it is a function of u (x-velocity component ) and w (z-velocity component ) I want a direct relation between variation of axial velocity through r-direction. In cfd i can get du/dx , du/dz, dw/dx, dw/dz only and so i want da/dr using only the four differentials |
|
September 5, 2015, 12:20 |
|
#4 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
Quote:
r=r(x,z) and a=a[u(x,z),w(x,z)] Therefore you can get the total differential da = da/du du + da/dw dw and then developping further |
||
September 5, 2015, 13:16 |
|
#5 |
New Member
Anwar
Join Date: Nov 2014
Posts: 28
Rep Power: 11 |
r=(x^2+z^2(^0.5
a^2=(u^2+w^2) da/du=u/a da/dw=w/a da=da/du *du +da/dw *dw =u/a *du + w/a *dw what is the value of du or dw ? Are they equal to (du/dx or du/dz) or (dw/dx or dw/dz) ? |
|
September 5, 2015, 14:02 |
|
#6 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
Quote:
du = du/dx dx + du/dy dy and similar for dw |
||
September 5, 2015, 14:24 |
|
#7 |
New Member
Anwar
Join Date: Nov 2014
Posts: 28
Rep Power: 11 |
That's good & all thanks
also, I should have values of dx & dz ! Is this right ? How can I get their values ? i.e from a certain point (0,0) or assumption ? |
|
September 5, 2015, 14:43 |
|
#8 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
they are the incremental of the position x,z starting from x0,y0 as you do in a Taylor expansion
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
cppAD (Automatic Differentiation) | Behzad60 | Main CFD Forum | 0 | November 13, 2010 09:47 |
Nonlinear solver & Differentiation Chain Rule | Frank | Main CFD Forum | 2 | February 6, 2009 02:17 |
Automatic Differentiation | Frauke Ramseck | Main CFD Forum | 8 | March 5, 2008 06:19 |
Automatic Differentiation | eriks | OpenFOAM Post-Processing | 2 | October 30, 2006 12:35 |
Automatic Differentiation (AD) for PDE's | dav | Main CFD Forum | 4 | February 4, 2003 16:26 |