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

Using UDF in fuel cell addon module

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 27, 2015, 20:57
Question Using UDF in fuel cell addon module
  #1
New Member
 
Brian
Join Date: Jan 2015
Posts: 7
Rep Power: 11
qwe2077 is on a distinguished road
Hi I'm using PEM fuel cell addon module in fluent.
I'm tring to model the micro porous layer to a unit cell.
But in the fuel cell module, I can give only one porocity and one contact angle to the porous cell zone.
So I need to change boundary conditions in the porous media.
then I should use UDF macro to give boundary conditions.

so I got in to the pem_user.c file and found

DEFINE_DIFFUSIVITY(diff,c,t,j_spe)
{
return pem_diff(c,t,j_spe);
}

and in the pem.h file,
real pem_diff(cell_t c, Thread *t, int j_spe);

My questions are,

1. Is there no way to see the contents of pem_diff(c,t,j_spe) ?
2. How can I use UDF Macro in the fuel cell addon module?
3. Can you give me a advise about modeling extra layer of porous media?
qwe2077 is offline   Reply With Quote

 

Tags
fuel cell, module, udf


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
Setting cell variable values in a fluid zone using UDF eromon84 Fluent UDF and Scheme Programming 6 March 28, 2021 11:59
Identifying cell in parallel UDF upeksa Fluent UDF and Scheme Programming 0 July 24, 2013 11:27
UDF for heat source on surface instead of the whole cell zone?? benson621 Fluent UDF and Scheme Programming 4 December 8, 2011 11:54
Fuel Cell Module Tutorial Mesh File. PEM_Fuel_Cell Main CFD Forum 1 September 13, 2006 16:11
Warning 097- AB Siemens 6 November 15, 2004 04:41


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