|
[Sponsors] |
December 23, 2010, 18:43 |
derivative of scalar
|
#1 |
New Member
Gloria
Join Date: Feb 2010
Posts: 16
Rep Power: 16 |
||
December 24, 2010, 10:53 |
|
#2 |
New Member
Michael Woopen
Join Date: Nov 2010
Location: Aachen, Germany
Posts: 12
Rep Power: 15 |
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 |
|
December 25, 2010, 16:06 |
|
#3 |
New Member
Gloria
Join Date: Feb 2010
Posts: 16
Rep Power: 16 |
Thank you akOOma. Seems there is no direct code for the derivative of scalar. I will use this basic method. Happy New Year!
|
|
December 26, 2010, 05:02 |
|
#4 |
New Member
Michael Woopen
Join Date: Nov 2010
Location: Aachen, Germany
Posts: 12
Rep Power: 15 |
If you kow the analytical form of the function you may give an exact derivative. Otherwise you have to use numerical approximations.
|
|
|
|
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 22:05 |
dieselFoam problem!! trying to introduce a new heat transfer model | vivek070176 | OpenFOAM Programming & Development | 10 | December 24, 2014 00:48 |
the derivative of Scalar on time ? | owen | FLUENT | 0 | March 5, 2009 05:59 |
scalar and its derivative | sucker | Main CFD Forum | 1 | April 15, 2008 14:28 |