CFD Online Logo CFD Online URL
Home > Forums > FLUENT

UDF Interpretation Error

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

LinkBack Thread Tools Display Modes
Old   July 18, 2011, 11:57
Default UDF Interpretation Error
New Member
Join Date: Feb 2011
Posts: 3
Rep Power: 8
levonlarson is on a distinguished road
Hi, I am trying to impose a time-dependent boundary condition on a face with a UDF. I am using a monitor to verify that my input function is being read properly and I see that Fluent is interpreting a function other than the one that I am inputting. My UDF is as follows:

#include "udf.h"
DEFINE_PROFILE(unsteady_pressure, thread, position)
face_t f;
real t = CURRENT_TIME;
begin_f_loop(f, thread)
F_PROFILE(f, thread, position) = (912199393440*t)*t + (1260098450)*t;
end_f_loop(f, thread)

The problem is that Fluent is reading the above function and reading back the following function with an area-weighted average monitor:
p = 2348190783*t*t + 1259645132*t

Notice that the linear term is interpreted properly but the squared term is not. I have also verified that this is not an issue with choosing to use an area-weighted average monitor instead of something else like an integral or max or whatever.

Has anyone else seen this before?
levonlarson is offline   Reply With Quote


fluent, udf

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
CGNS Compiling Diego Main CFD Forum 17 December 21, 2014 02:40
polynomial thermophysical properties II sebastian OpenFOAM Running, Solving & CFD 53 April 10, 2014 05:45
OpenFOAM install on Ubuntu Natty 11.04 bkubicek OpenFOAM 13 May 26, 2011 05:48
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50

All times are GMT -4. The time now is 10:04.