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

Write UDF to add a sink term for PEM fuel cell design

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 15, 2012, 05:56
Default Write UDF to add a sink term for PEM fuel cell design
  #1
New Member
 
karthik
Join Date: Oct 2010
Posts: 14
Rep Power: 15
kitrax is on a distinguished road
Hi,

I am currently working on a UDF to write the hydrogen consumption term as a sink for my model.

I have a 3-D geometry and have to define an area of one of the faces. I have to write the UDF such that it automatically reads the dimensions from fluent input rather than hardcoding the dimensions into the UDF (this is to allow for variations in dimensions)

I also wanted to know what marco I should use for defining a sink term

I was thinking DEFINE_NET_REACTION_RATE but I have seen some people use the DEFINE_SOURCE macro.

Any help would be greatly appreciated.
kitrax is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
fuel cell pour FLUENT 3 August 7, 2012 08:42
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 16:45
udf for fuel cell pour FLUENT 0 August 4, 2008 09:13
UDF for multi source term for a spherical cell Kaushal Kumar Jha FLUENT 0 July 9, 2007 14:35
has someone use udf to add source term? yinyue FLUENT 2 April 15, 2005 10:08


All times are GMT -4. The time now is 11:01.