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

UDF_for_energy_source

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 3, 2011, 15:19
Default UDF_for_energy_source
  #1
New Member
 
flanker1
Join Date: Feb 2011
Posts: 15
Rep Power: 15
flanker1 is on a distinguished road
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.
flanker1 is offline   Reply With Quote

Old   February 3, 2011, 21:33
Default
  #2
Senior Member
 
Real Name :)
Join Date: Jan 2010
Location: United States
Posts: 192
Rep Power: 16
ComputerGuy is on a distinguished road
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
ComputerGuy is offline   Reply With Quote

Old   February 4, 2011, 04:21
Smile thanks
  #3
New Member
 
flanker1
Join Date: Feb 2011
Posts: 15
Rep Power: 15
flanker1 is on a distinguished road
Thanks a lot for the answer. I haven't known about this online fitting tool. It looks smart.
flanker1 is offline   Reply With Quote

Old   February 4, 2011, 10:16
Default
  #4
New Member
 
James R. Phillips
Join Date: Feb 2011
Posts: 1
Rep Power: 0
zunzun is on a distinguished road
Quote:
Originally Posted by ComputerGuy View Post
Have you tried the following:http://www.zunzun.com/ for curve fitting? It's really great, and makes regression very simple.
Thank you for recommending my web site, zunzun.com. Please do not hesitate to contact me directly if you have any questions or suggestions for the site.

James R. Phillips
2548 Vera Cruz Drive
Birmingham, AL 35235 USA

zunzun@zunzun.com e-mail
(1 USA) 205-854-4697 home phone
zunzun is offline   Reply With Quote

Reply

Tags
define_source


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



All times are GMT -4. The time now is 14:10.