CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

Custom Field Function

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

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

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, 15:47
Senior Member
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,496
Rep Power: 64
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


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
cannot find grid field function in custom field function mehdiataei FLUENT 0 March 19, 2017 04:53
Mass Flow Rate Custom Field Function AJoubert FLUENT 2 March 23, 2013 08:50
Gradient of the Custom Field Function oghazian FLUENT 2 June 29, 2011 14:00
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 04:37
time step size in Custom Field Function Tong FLUENT 0 May 2, 2008 15:51

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