CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Differentiation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 5, 2015, 11:26
Exclamation Differentiation
  #1
New Member
 
Anwar
Join Date: Nov 2014
Posts: 28
Rep Power: 11
4asino is on a distinguished road
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
4asino is offline   Reply With Quote

Old   September 5, 2015, 11:46
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by 4asino View Post
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

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 ???
FMDenaro is offline   Reply With Quote

Old   September 5, 2015, 12:09
Default
  #3
New Member
 
Anwar
Join Date: Nov 2014
Posts: 28
Rep Power: 11
4asino is on a distinguished road
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
4asino is offline   Reply With Quote

Old   September 5, 2015, 12:20
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by 4asino View Post
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


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
FMDenaro is offline   Reply With Quote

Old   September 5, 2015, 13:16
Default
  #5
New Member
 
Anwar
Join Date: Nov 2014
Posts: 28
Rep Power: 11
4asino is on a distinguished road
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) ?
4asino is offline   Reply With Quote

Old   September 5, 2015, 14:02
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by 4asino View Post
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) ?
no, I defined the total differential as function, therefore you have to consider

du = du/dx dx + du/dy dy

and similar for dw
FMDenaro is offline   Reply With Quote

Old   September 5, 2015, 14:24
Default
  #7
New Member
 
Anwar
Join Date: Nov 2014
Posts: 28
Rep Power: 11
4asino is on a distinguished road
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 ?
4asino is offline   Reply With Quote

Old   September 5, 2015, 14:43
Default
  #8
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
they are the incremental of the position x,z starting from x0,y0 as you do in a Taylor expansion
FMDenaro is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 01:13.