CFD Online Logo CFD Online URL
Home > Forums > FLUENT

"if statement" Custom Field Functions

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

LinkBack Thread Tools Display Modes
Old   October 11, 2015, 09:52
Default "if statement" Custom Field Functions
Senior Member
Astio Lamar
Join Date: May 2012
Location: Pipe
Posts: 181
Rep Power: 7
asal is on a distinguished road
Hello all!

I want to calculate the following expression in "Custom Field Functions" in Fluent.

(5 * sqrt (|V|) * |V| + 0.625)

I need to check if the velocity =0, then Velocity = 0.01.
Is there any possibility to do so in "Custom Field Functions"?

asal is offline   Reply With Quote

Old   October 11, 2015, 10:22
Senior Member
ghost82's Avatar
Join Date: Oct 2010
Location: Italy
Posts: 998
Rep Power: 17
ghost82 will become famous soon enough
I think no, but you can create an udf and store your variable in a udm.
Google is your friend and the same for the search button!
ghost82 is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
problems after decomposing for running OpenFOAM 6 December 23, 2015 15:27
Problem in sampling data of custom field function in ANSYS FLUENT v14 apek_great ANSYS 1 February 26, 2014 06:10
Custom field functions sivakumar FLUENT 1 October 12, 2001 06:36
Custom Field Functions ak FLUENT 2 October 8, 2001 10:23

All times are GMT -4. The time now is 11:40.