CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

partial derivative

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 17, 2006, 13:12
Default partial derivative
  #1
Rita
Guest
 
Posts: n/a
I want to define the Richardson number as an own expression. But therefore I need the partial derivative of the temperature dT/dx (read as partial) and of the velocity du/dx. How can I define it? I have only found examples with UserFortran and the calculation of the gradient. Do I also have to use UserFortran but how does it have to look like?

Regards

Rita
  Reply With Quote

Old   January 20, 2006, 11:12
Default Re: partial derivative
  #2
Jeff
Guest
 
Posts: n/a
Rita,

UserFortran is the only way to get your spacial derivatives. If you look in the back end of the Solver Modeling manual, you will see several examples on calculating the gradients of variables in User Fortran. It's pretty straight forward to take these and modify them for your use. The actual files are located in the examples directory on you installation path as well.

Jeff
  Reply With Quote

Old   May 21, 2018, 03:27
Default
  #3
Member
 
Jimmy
Join Date: Sep 2016
Location: Japan
Posts: 38
Rep Power: 9
Jimmyhanchn is on a distinguished road
Quote:
Originally Posted by Jeff
;74621
Rita,

UserFortran is the only way to get your spacial derivatives. If you look in the back end of the Solver Modeling manual, you will see several examples on calculating the gradients of variables in User Fortran. It's pretty straight forward to take these and modify them for your use. The actual files are located in the examples directory on you installation path as well.

Jeff
Do you mean that it is impossible to input partial derivative in CEL function?
Jimmyhanchn is offline   Reply With Quote

Old   May 21, 2018, 07:24
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,655
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
These posts were done 12 years ago and CFX has a lot more functions for calculating gradients and similar things now. I recommend you read the CFX Reference Manual, the section on CEL variables and functions for an explanation of what is available.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Derivative matrix jollage Main CFD Forum 0 September 21, 2011 19:16
can i get pressure derivative in UDF? ruirui389 Fluent UDF and Scheme Programming 4 April 8, 2011 05:12
Obtaining substantial or partial derivative of vel KRK FLUENT 0 January 10, 2007 13:35
Partial Derivative on a unstructured grid Alessandro FLUENT 0 September 7, 2005 16:40
Arbitrary Matching & Partial Boundaries George Siemens 6 July 10, 2001 10:58


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