CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

UDF lookup table or similar...

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

LinkBack Thread Tools Display Modes
Old   August 12, 2009, 11:15
Default UDF lookup table or similar...
New Member
Join Date: Jun 2009
Posts: 6
Rep Power: 8
bobo is on a distinguished road

i have points (x,y) of temperature measured along a surface. i want to use these points as a wall temperatures. i have a UDF where i can assign temperatures to a face via functions, but i want to input the real temperature points.

can anyone help me please?

DEFINE_PROFILE(temperature_profile, thread, position) 
  real r[ND_ND];        /* this will hold the position vector */
  real x;
  real y;
  face_t f;

  begin_f_loop(f, thread)
      x = r[0];
      F_PROFILE(f, thread, position) = some temperature function;
  end_f_loop(f, thread)
bobo 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
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
Convergence on anisotropic tetahedral meshes pbo OpenFOAM Running, Solving & CFD 12 December 14, 2010 12:59
Dynamic Mesh UDF Qureshi FLUENT 1 December 2, 2009 01:27
lookup table UDF for dynamic mesh potrero Fluent UDF and Scheme Programming 1 March 30, 2009 01:41
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 05:03

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