CFD Online Logo CFD Online URL
Home > Forums > 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

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

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


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

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

All times are GMT -4. The time now is 08:35.