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

energy_source_UDF

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 3, 2011, 13:56
Default energy_source_UDF
  #1
New Member
 
flanker1
Join Date: Feb 2011
Posts: 15
Rep Power: 5
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, 15:25
Default
  #2
New Member
 
Amir
Join Date: Nov 2010
Location: Shiraz,Iran
Posts: 12
Rep Power: 5
amirreza_m is on a distinguished road
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.
amirreza_m is offline   Reply With Quote

Old   February 4, 2011, 03:26
Default thank you
  #3
New Member
 
flanker1
Join Date: Feb 2011
Posts: 15
Rep Power: 5
flanker1 is on a distinguished road
Thanks amirezza. I will have a look at this method concerning UDM.
flanker1 is offline   Reply With Quote

Reply

Tags
energy source udf

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 19:47.