January 28, 2022 at 7:59 amlgarciactcSubscriber
I am trying to use Ansys Fluent 2020R1 to simulate a transient model of galvanic corrosion for a 2D couple consisting of iron and aluminium, and sea water as the electrolyte. I am having some trouble that makes me think something in the model is not well set.
I am using the Species Model with volumetric and electrochemical reactions and species migration. The species of the model are Al+3, h2, oh- and h2o, and the solid species is Al.
I have set the Tafel parameters (anodic and cathodic Tafel slopes, exchange current density and equilibrium potential) for each of the two electrochemical Reactions, have created a mechanism for each reaction and assigned the correspondent mechanism at the anode and cathode walls.
The species boundary condition is set to “Zero diffusive flux” for all the species and walls, and the Potential boundary conditions are as follow:March 1, 2022 at 10:17 pmJudy CooperAnsys EmployeeHi Igarciactc:
The current flux or Potential value can be specified at a boundary, Since a potential gradient leads to a current flux, it is indirectly possible to specify the boundary condition you require by setting a zero-current flux at this boundary.
All calculations should be run in double precision. Your result looks like there is something wrong with the boundary conditions. I have a similar case where voltage has the correct trend
March 2, 2022 at 12:43 pmlgarciactcSubscriberThanks for the reply jcooper.
We can indirectly specify the zero potential gradient based on ohmÔÇÖs law (current flux [A/m2] = - conductivity[S/m]*potential gradient[V/m]) because if potential gradient is 0 so does the current flux.
The problem is in the anode and cathode walls, where the potential gradient is not 0. We want to obtain the potential gradient on the electrode surface. To obtain that we have to specify the Boundary Conditions in the anode and cathode walls as Flux Conditions [A/m2]. We are using a DEFINE_PROFILE UDF to specify the flux gradient in these walls but we get a segmentation error while accessing the x-component of the electric potential (UDS 0) with the command C_UDSI_G(f,t,0).
We are obtaining a contour for the Electric Potential (in the electrolyte) very similar to yours, but what we dont really understand is the plot of the Electrode Surface Potential (in the walls). If it is posible, could we see the Electrode Surface Potential that it is obtained in your model?
We expect that the Electrode Surface Potential be equal to 0 in all the walls except in the anode-cathode walls (the opposite of the following plots).
Thank you so much in advance!
March 7, 2022 at 11:34 amlgarciactcSubscriberViewing 3 reply threads
Ansys Innovation Space
- You must be logged in to reply to this topic.
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.Trending discussions
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
© 2023 Copyright ANSYS, Inc. All rights reserved.Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.