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

How to modify some results given by Fluent using udf

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By AlexanderZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 7, 2018, 12:59
Question How to modify some results given by Fluent using udf
  #1
Member
 
youhane kha
Join Date: Sep 2017
Posts: 36
Rep Power: 9
youhane is on a distinguished road
Hello everybody,

I have modelled moisture within fluent using the Species model. The model works perfectly, but when I display the contours of relative humidity, sometimes it exceeds 100 % when the humid air passes next to a cold wall like in this picture:



That is normal, because Fluent use a mathematical formula to calculate the relative humidity, but what I want now is to ask if I can write an udf to modify the results of relative humidity as follows:

IF (RH > 100) --> Rh = 100.

Can anyone helps me with that please ?
youhane is offline   Reply With Quote

Old   April 8, 2018, 22:32
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
In Fluent GUI:
results -> graphics -> contours -> switch off auto range option -> put 100 in Max

best regards
youhane likes this.
AlexanderZ is offline   Reply With Quote

Old   April 9, 2018, 08:54
Default
  #3
Member
 
youhane kha
Join Date: Sep 2017
Posts: 36
Rep Power: 9
youhane is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
In Fluent GUI:
results -> graphics -> contours -> switch off auto range option -> put 100 in Max

best regards
I'm extremely grateful to you Mr. AlexanderZ. This is exactly what I want
youhane 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
Dynamic contact angle issue: fluent UDF couldn't set the correct contact angle FelixJJ FLUENT 2 October 20, 2021 03:39
looking for a smart interface matlab fluent chary FLUENT 24 June 18, 2021 10:07
Fluent Radiation/porous media Schmitt pierre-Louis FLUENT 26 September 1, 2016 11:29
fluent udf problem: write specific data for every iteration in a file. nnvoro Fluent UDF and Scheme Programming 1 May 27, 2013 16:26
UDF problem caused by various version of Fluent Yurong FLUENT 3 January 15, 2006 11:57


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