|
[Sponsors] |
February 3, 2011, 15:19 |
UDF_for_energy_source
|
#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, 21:33 |
|
#2 |
Senior Member
Real Name :)
Join Date: Jan 2010
Location: United States
Posts: 192
Rep Power: 16 |
The answer is yes, but you'd have to explicitly check the cell centroid at each cell, and specify the energy generation rate on a per-cell basis.
Have you tried the following:http://www.zunzun.com/ for curve fitting? It's really great, and makes regression very simple. ComputerGuy |
|
February 4, 2011, 04:21 |
thanks
|
#3 |
New Member
flanker1
Join Date: Feb 2011
Posts: 15
Rep Power: 15 |
Thanks a lot for the answer. I haven't known about this online fitting tool. It looks smart.
|
|
February 4, 2011, 10:16 |
|
#4 | |
New Member
James R. Phillips
Join Date: Feb 2011
Posts: 1
Rep Power: 0 |
Quote:
James R. Phillips 2548 Vera Cruz Drive Birmingham, AL 35235 USA zunzun@zunzun.com e-mail (1 USA) 205-854-4697 home phone |
||
Tags |
define_source |
|
|