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

derivative of scalar

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 23, 2010, 17:43
Default derivative of scalar
  #1
lig
New Member
 
Gloria
Join Date: Feb 2010
Posts: 16
Rep Power: 16
lig is on a distinguished road
Hi, All,

Merry Christmas and Happy New Year!

Please help me to get the expression of derivative of scalar d\Phi /dx.

Thanks

lig
lig is offline   Reply With Quote

Old   December 24, 2010, 09:53
Default
  #2
New Member
 
Michael Woopen
Join Date: Nov 2010
Location: Aachen, Germany
Posts: 12
Rep Power: 15
akOOma is on a distinguished road
You mean in terms of numerical means? Ever heard of finite differences?

Like: f'(x)=(f(x+h)-f(x))/h

or central: f'(x)=(f(x+h)-f(x-h))/2h
akOOma is offline   Reply With Quote

Old   December 25, 2010, 15:06
Default
  #3
lig
New Member
 
Gloria
Join Date: Feb 2010
Posts: 16
Rep Power: 16
lig is on a distinguished road
Thank you akOOma. Seems there is no direct code for the derivative of scalar. I will use this basic method. Happy New Year!
lig is offline   Reply With Quote

Old   December 26, 2010, 04:02
Default
  #4
New Member
 
Michael Woopen
Join Date: Nov 2010
Location: Aachen, Germany
Posts: 12
Rep Power: 15
akOOma is on a distinguished road
If you kow the analytical form of the function you may give an exact derivative. Otherwise you have to use numerical approximations.
akOOma 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
Fluent udf--spatial derivative of user-defined scalar tas38 Fluent UDF and Scheme Programming 13 October 26, 2020 21:05
dieselFoam problem!! trying to introduce a new heat transfer model vivek070176 OpenFOAM Programming & Development 10 December 23, 2014 23:48
the derivative of Scalar on time ? owen FLUENT 0 March 5, 2009 04:59
scalar and its derivative sucker Main CFD Forum 1 April 15, 2008 13:28


All times are GMT -4. The time now is 03:53.