|
[Sponsors] |
January 27, 2015, 20:57 |
Using UDF in fuel cell addon module
|
#1 |
New Member
Brian
Join Date: Jan 2015
Posts: 7
Rep Power: 11 |
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? |
|
Tags |
fuel cell, module, udf |
|
|
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 |