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

udf temperature/velocity profile-> equation problems

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 24, 2009, 11: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, 15:04
Default
  #2
Member
 
Join Date: Apr 2009
Posts: 78
Rep Power: 17
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, 05: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


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
How to write equation into UDF? Jane Fluent UDF and Scheme Programming 10 August 30, 2023 05:53
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
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 14:16
Some problems about UDF in fluent5.4 Mark FLUENT 2 August 14, 2001 09:03


All times are GMT -4. The time now is 02:12.