|
[Sponsors] |
February 3, 2011, 13:56 |
energy_source_UDF
|
#1 |
New Member
flanker1
Join Date: Feb 2011
Posts: 15
Rep Power: 15 |
Hi,
I could learn from FLUENT Manuals that an energy source can be defined if the dependence of production rate is constant or depends on the location, when this dependence is given by an analytical function. My question is: is it possibe to write a UDF if the analytical form of the energy production as a function of spatial coordinates is not known, but its value in each cell center is given. [To fit a 3D function to this individual values is not easy, thus it would be nice to avoid it.] Thank you in advance for any answer. |
|
February 3, 2011, 15:25 |
|
#2 |
New Member
Amir
Join Date: Nov 2010
Location: Shiraz,Iran
Posts: 12
Rep Power: 15 |
Hi,
I think the reasonable way is to use UDM here. by a loop you can store source derivative in a UDM and then use it in define source macro. |
|
February 4, 2011, 03:26 |
thank you
|
#3 |
New Member
flanker1
Join Date: Feb 2011
Posts: 15
Rep Power: 15 |
Thanks amirezza. I will have a look at this method concerning UDM.
|
|
Tags |
energy source udf |
|
|