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

"if statement" Custom Field Functions

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 11, 2015, 09:52
Default "if statement" Custom Field Functions
  #1
Senior Member
 
Astio Lamar
Join Date: May 2012
Location: Pipe
Posts: 169
Rep Power: 6
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"?

Thanks.
asal is offline   Reply With Quote

Old   October 11, 2015, 10:22
Default
  #2
Senior Member
 
ghost82's Avatar
 
Daniele
Join Date: Oct 2010
Location: Italy
Posts: 993
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

Reply

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 alessio.nz 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 19:02.