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

udf temperature/velocity profile-> equation problems

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 24, 2009, 10:58
Default udf temperature/velocity profile-> equation problems
  #1
New Member
 
Robert Kaiser
Join Date: Aug 2009
Posts: 2
Rep Power: 0
roka1mtr is on a distinguished road
Hello,
i have a thermodynamic problem with a defined temperature profile at the inlet. I have to realise the march of temperature and velocity, f=1/(a+b/x^c). My problem is, that the c compiler in Fluent 6.3 can't work with the "^"-expression. Are there any other possibilities to formulate these equations?

Thanks for helping
roka1mtr is offline   Reply With Quote

Old   August 24, 2009, 14:04
Default
  #2
Member
 
Join Date: Apr 2009
Posts: 78
Rep Power: 8
tstorm is on a distinguished road
The C compiler uses the function pow(). For example, x^2 is pow(x,2.)
tstorm is offline   Reply With Quote

Old   August 25, 2009, 04:44
Default
  #3
New Member
 
Robert Kaiser
Join Date: Aug 2009
Posts: 2
Rep Power: 0
roka1mtr is on a distinguished road
Thank you very much.
roka1mtr 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
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
How to write equation into UDF? Jane Fluent UDF and Scheme Programming 7 May 15, 2009 15:32
How to specify the Velocity profile (eqn) by UDF Anant FLUENT 1 February 27, 2008 15:54
DEFINE_GEOM UDF Problems Pat FLUENT 0 August 14, 2003 13:16
Some problems about UDF in fluent5.4 Mark FLUENT 2 August 14, 2001 08:03


All times are GMT -4. The time now is 17:55.