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

Issues with the PEM fuel cell module

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   March 8, 2024, 14:00
Default Issues with the PEM fuel cell module
  #1
New Member
 
Join Date: Mar 2024
Posts: 6
Rep Power: 2
voidcrow is on a distinguished road
Hello. I am trying to get running a PEMFC simulation (very simple geometry, essentially several layers of rectangular prisms, with one flow channel on each side) using the PEM cell add-on module. I am trying to follow the tutorial I found (https://www.youtube.com/watch?v=HX9a5uijvF0) using the same operating and boundary conditions:
  • 353 K inlet temperature
  • 3e-7 kg/s mass-inlet BC at the anode (mass fractions 0.6 H2, 0.4 H2O)
  • 2e-7 kg/s mass-inlet BC at the cathode (0.21 O2, 0.15 H2O)
  • No slip boundary conditions for walls
  • 0 V applied at the anode tab and 0.65 V at the cathode tab
I assigned the parts of the geometry accordingly with the exception of the microporous layer (like in the video, I get a warning message about missing microporous layer). I also made two types of mesh, one more refined and another that is coarser, and both are conformal meshes.

I initialize the solution with the hybrid method and I get the following message: "Warning: It is highly likely that the Anode GDL/CAT are not assigned correctly!" (even though it is assigned in the PEM fuel cell model panel). When I start the solution, it diverges within 3 iterations with the error "Divergence detected in AMG solver: temperature. Error: floating point exception". I disabled the energy equation, and restarted initialization and it also diverges: "Divergence detected in AMG solver: uds-3" (uds-3 is water content). I disabled the water content equation. Only then the solution converges, but I end up with essentially 0 current density magnitude in the anode and cathode tabs.

I did not change any of the source defaults in cell zones. But I noticed that in the video there are more sources (udf :: pemfc) being activated for each zone in the version of Ansys that the individual is using. I attached a screenshot from the video of the sources being defined in the anode flow channel to contrast with the ones that are active by default when I enable the model (on the right). I am using the 2023 R2 version. I tried using a finer mesh and the outcome is the same.



I don't understand how this person was able to get the model to converge with everything enabled. I tried following everything exactly, including replicating the geometry. But the geometry won't be identical since I don't have the dimensions of the cell he used, and also Fluent creates several walls and shadow-walls when I import the .msh file. Any help is appreciated.
Attached Images
File Type: png comp.png (82.7 KB, 3 views)
voidcrow is offline   Reply With Quote

 


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
[openFuelCell] Multiphase PEM Fuel cell code for Counter flow ramakant OpenFOAM Community Contributions 21 August 18, 2023 16:36
InterFOAM water channel case Error mkjmalik OpenFOAM Running, Solving & CFD 4 August 23, 2020 11:32
Fluent Fuel Cell Module Tutorial - Error!!! shamsnoor FLUENT 6 August 7, 2012 07:30
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15
Warning 097- AB Siemens 6 November 15, 2004 04:41


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