CFD Online Logo CFD Online URL
Home > Forums > FLUENT

UDF question on getting value from a boundary

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

LinkBack Thread Tools Display Modes
Old   October 21, 2011, 00:30
Question UDF question on getting value from a boundary
New Member
Join Date: Mar 2011
Posts: 6
Rep Power: 8
tongx051 is on a distinguished road
Hello everyone,
I'm very new to UDF. I was trying to write a UDF that can get surface temperature on a wall at the end of the calculation and store it to a UDMI.
Here is the code I wrote:


Domain *d;
Thread *t;
face_t f;
d = Get_Domain(1);
t = Lookup_Thread(d, 16); /*16 is boundary ID*/


F_UDMI(f,t,0) = F_T(f,t);

When I plot it, there is nothing showing. I guess there must be something wrong in my code, so the temperature is not stored into the UDMI yet. Could anybody help me figure out what I did wrong.
tongx051 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
Domain Imbalance HMR CFX 5 October 10, 2016 05:57
Very technical question about solving wall boundary layer ... jlb001 FLUENT 6 December 27, 2014 06:56
Import problem ARC Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 February 27, 2010 11:56
correct UDF code for unsteady pressure boundary James W FLUENT 0 November 2, 2005 12:38
Please help with flow around car modelling! Tudor Miron CFX 17 March 19, 2004 20:23

All times are GMT -4. The time now is 08:00.