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

Custom Field Function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2017, 11:59
Default Custom Field Function
  #1
New Member
 
Njit
Join Date: Dec 2016
Posts: 9
Rep Power: 10
Njit is on a distinguished road
Hello

I need to write (d-axialvelocity/d-radialcoordinate)^2.5 in the custom field function to extract the data. However, custom field function in FLUENT is not accepting a decimal number(2.5) in power and gives absurd results in the extracted data. However it gives correct results for a whole number. Can someone help me in this issue and provide me way to write 2.5 in power while writing a function in the custom field function.
Thanks in advance.
Njit is offline   Reply With Quote

Old   June 24, 2017, 16:47
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Try using pow 2 and sqrt.

Also check if the error is caused by neg numbers since ^2.5 would return imaginary numbers.
LuckyTran 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
cannot find grid field function in custom field function mehdiataei FLUENT 0 March 19, 2017 05:53
Mass Flow Rate Custom Field Function AJoubert FLUENT 2 March 23, 2013 09:50
Gradient of the Custom Field Function oghazian FLUENT 2 June 29, 2011 15:00
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
time step size in Custom Field Function Tong FLUENT 0 May 2, 2008 16:51


All times are GMT -4. The time now is 18:20.