September 28, 2022 at 11:51 amDiogo MartinhoSubscriber
I need to define a udf where I implement butler Volmer equation. But to calculate the current density I need to calculate the overpotentials of my cell. Do you have any idea of how to get this parameter out of the electrical potential equation? Since this current density will then be used to calculate the gas phase generated at the surface.
October 10, 2022 at 9:39 pmAleksey GerasimovSubscriber
Is there any special reason for writing a UDF instead of using our readily-available Potential or Electrolysis model? By the sound of it, you are trying to model an electrolysis or an electrowinning cell. Is that correct? The activation potentials do not necessarily need to be calculated explicitly, they can be computed inversely. It all depends on the approach.
Please provide more information.
October 11, 2022 at 11:17 amDiogo MartinhoSubscriber
Two main things: I would know exaclty what is implement (which I could also know by reading the book, but at the same time a lot of things would be implemented that I wouldn't want) and also to learn how to implement such UDS and UDF by myself using Fluent.
Yes, but how can I do that, or how can I learn how to do that inversely calculation? Because I understand that it would be much better to do it inversely than explicitly.
Hope this makes sense,
Thanks for your time,
October 11, 2022 at 12:34 pmAleksey GerasimovSubscriber
It is still not clear what kind of problem you are trying to solve. I appreciate that the use of the dedicated fuel-cell modules might not be justified if you are not modelling fuel cells.
Please consider taking an advantage of the simple Potential model. It might be sufficient if you are modelling a single potential. However, typically, fuel cells and electrolyzers with membrane require a solution of two potential equations: one for protonic transfer and another one for the electronic potential.
We cannot elaborate deeper on the exact implementation details due for IP reasons, but when it comes to overpotentials, I can only say that you can use the value of potential from a previous iteration.
My recommendation would be to have a clear set of equations that you are planning to solve and then you might need to use certain submodels and assumptions in order to close the set and solve them.
Please also note that a dual-potential PEM water electrolysis model is available in 2022R2 as a beta feature, you can activate beta features to see it under the Potentail model in the Tree.
Hope this helps, Aleksey.
October 11, 2022 at 1:00 pmDiogo MartinhoSubscriber
I am modelling an alkaline electrolyzer cell :) .
So, yes I would need two potential equations. And how will I relate Butler-Volmer as a source term of such equation.
I am trying to couple an Eulerian model with these two potential equations where Butler-Volmer would be a source term on these potential equations.
October 11, 2022 at 1:38 pmAleksey GerasimovSubscriber
Is this electrolysis cell with or without membrane, do you have porous regions in your electrolyser or is it just a couple of solid electrodes in an aqueous soluiton?
October 11, 2022 at 1:40 pmDiogo MartinhoSubscriber
I have porous regions. I will have one as a membrane (porous region), then the gas compartments, then catalyst layers (porous) and solid electrodes.
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- Suppress Fluent to open with GUI while performing in journal file
- error: Received signal SIGSEGV
- Using GPU in FLUENT
© 2023 Copyright ANSYS, Inc. All rights reserved.