CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   How to simulate PEMFC by CFD (Fluent)? (https://www.cfd-online.com/Forums/fluent/173644-how-simulate-pemfc-cfd-fluent.html)

dmfo June 23, 2016 14:59

How to simulate PEMFC by CFD (Fluent)?
 
Dear colleagues,
I've just started to simulate PEMFC by Fluent 17.0, and I have some questions about it. So, first of all, Fluent has addon module for PEMFC modeling. I can choose [3] FC and Electrolysis model and/or [9] PEM FC model through TUI console. Which model should I get? What is difference from each other? Secondly, I have a pemfc_user.c. Should I change data in it for boundary conditions definition? Finally, is there any tutorial/guide on PEMFC simulation? Key point I've got is to obtain working (basic) case without any user-defined complex models?

Thx

navidamin June 25, 2016 07:03

Here I have uploaded a tutorial for PEM you can use:
http://s000.tinyupload.com/index.php...70361651896302
You should use [9]PEMFC. the specific materials and models of PEM are set as default in this option.
Quote:

I have a pemfc_user.c. Should I change data in it for boundary conditions definition?
It depends on the code. you may need to change it to be compatible with the specific definitions of PEM module.

dmfo June 25, 2016 15:02

Thank you for your detailed answer, navidamin!

Following this manual, I have an error while case start to calculate. I guess B.C. could be wrong.

* iter continuity x-velocity y-velocity z-velocity energy h2 o2 h2o uds-0 uds-1 uds-2 uds-3 uds-4 time/iter

V_stack = 0.700000 (V) ... V_open = 1.202589 (V) (single cell)

fcu: I_anode = 0.000000 (A/cm^2) ... I_cathode = 513.984313 (A/cm^2) ... dI_mea = -513.984313 (A/cm^2) ... dI_stk = -513.984313 (A/cm^2)

1 1.0000e+00 5.2176e-06 5.2115e-06 1.0626e-01 1.5037e-02 5.2407e-07 1.0161e-06 3.2142e+01 1.2270e-15 2.0960e-02 1.0000e+00 3.3268e+02 6.5911e-03 1:46:08 199

V_stack = 0.700000 (V) ... V_open = 1.188126 (V) (single cell)

fcu: I_anode = 0.000000 (A/cm^2) ... I_cathode = -0.000096 (A/cm^2) ... dI_mea = 0.000096 (A/cm^2) ... dI_stk = 0.000096 (A/cm^2)

# Divergence detected in AMG for species-0, protective actions enabled!

# Divergence detected in AMG for species-0, temporarily solve with BCGSTAB!

# Divergence detected in AMG for species-1, protective actions enabled!

# Divergence detected in AMG for species-1, temporarily solve with BCGSTAB!

# Divergence detected in AMG for species-2, protective actions enabled!

# Divergence detected in AMG for species-2, temporarily solve with BCGSTAB!


Error: Divergence detected in AMG solver: species-2


Error: Divergence detected in AMG solver: species-2

Error Object: #f

How to simulate PEMFC by CFD (Fluent)? - ResearchGate. Available from: https://www.researchgate.net/post/Ho...4854e24b112dd0 [accessed Jun 25, 2016].

navidamin June 25, 2016 16:01

Make sure you have defined the right boundary conditions. Some BCs are not mentioned in the tutorial, you have to find them out yourself.
Double check the BCs for all the interfaces.for example:
Collector/GDL:
Wall
Coupled boundary for electrical potential and temperature
Channel/gdl:
Interior

And a very important point:
In inket and oulet boundary condition/momentum tab : change the coordinate system to Cartesian and in the three fields below, enter the right directions of inlet and oulet flow.

A CFD free user June 26, 2016 08:21

Quote:

Originally Posted by navidamin (Post 606594)
Make sure you have defined the right boundary conditions. Some BCs are not mentioned in the tutorial, you have to find them out yourself.
Double check the BCs for all the interfaces.for example:
Collector/GDL:
Wall
Coupled boundary for electrical potential and temperature
Channel/gdl:
Interior

And a very important point:
In inket and oulet boundary condition/momentum tab : change the coordinate system to Cartesian and in the three fields below, enter the right directions of inlet and oulet flow.




For those having problems running PEMFC tutorial, the issue is due to the boundary condition as Navid mentioned. And the most important one, the last point.

Thank you Navid

sabrina sabi January 26, 2018 11:52

please can you give me tutorial about sofc tubular urgent please

sabrina sabi February 14, 2018 16:53

Quote:

Originally Posted by navidamin (Post 606594)
Make sure you have defined the right boundary conditions. Some BCs are not mentioned in the tutorial, you have to find them out yourself.
Double check the BCs for all the interfaces.for example:
Collector/GDL:
Wall
Coupled boundary for electrical potential and temperature
Channel/gdl:
Interior

And a very important point:
In inket and oulet boundary condition/momentum tab : change the coordinate system to Cartesian and in the three fields below, enter the right directions of inlet and oulet flow.

please tell me how define BC on detail please i need it urgent


All times are GMT -4. The time now is 06:33.