|
[Sponsors] |
udf temperature/velocity profile-> equation problems |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 24, 2009, 11:58 |
udf temperature/velocity profile-> equation problems
|
#1 |
New Member
Robert Kaiser
Join Date: Aug 2009
Posts: 2
Rep Power: 0 |
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 |
|
August 24, 2009, 15:04 |
|
#2 |
Member
Join Date: Apr 2009
Posts: 78
Rep Power: 17 |
The C compiler uses the function pow(). For example, x^2 is pow(x,2.)
|
|
August 25, 2009, 05:44 |
|
#3 |
New Member
Robert Kaiser
Join Date: Aug 2009
Posts: 2
Rep Power: 0 |
Thank you very much.
|
|
|
|
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 |