14.4.2. User Inputs for Electrochemical Reactions

The steps needed to incorporate electrochemical reactions in your problem are as follows:

  1. For unsteady simulations, select Transient from the Setting Up Physics ribbon tab (Solver group).

  2. Enable chemical species transport model.

     Setup → Models → Species   Edit...

    Figure 14.17:  The Species Model Dialog Box with Electrochemical Reactions Enabled

    The Species Model Dialog Box with Electrochemical Reactions Enabled

    1. In the Species Model dialog box, under Model, enable Species Transport.

    2. Under Reactions, select Volumetric and Electrochemical.


      Note:  Once you enable the Electrochemical reactions, the electric potential solver will be automatically enabled (under the Models tree branch).


  3. In the Create/Edit Materials dialog box, define all the species materials that are present in the electrolyte and electrodes.

     Setup →   Materials

    1. Copy the new species from the Fluent database to your case as described in Copying Materials from the ANSYS Fluent Database. If your species material is not present in the database, copy a similar species material and edit its properties, including Name and Chemical Formula.


      Note:
      • When copying species (including corroded and deposited solid species), make sure that fluid is selected as Material Type in the Fluent Database Materials dialog box.

      • It is not necessary to represent the electron in the reaction, and e- can be safely ignored.


    2. Under the Properties group box, set Charge Number for the new species.


      Important:  By default, Charge Number is set to 0, which means that the species is neutral. Make sure to specify the Charge Number for all relevant species.



      Note:  Do not specify Electrical Conductivity for individual species. You will specify Electrical Conductivity for the mixture.


  4. Edit the mixture composition using the Species dialog box (opened by clicking Edit next to Mixture Species under Properties of the Create/Edit Materials dialog box).

    1. Remove unused species and add the electrochemical species to the Selected Species list as described in Adding Species to the Mixture.

    2. If solid species are involved in the electrochemical reactions (for example, in corrosion or electroplating simulations), add them to the Selected Solid Species list.


      Note:  Make sure that the bulk species is the last species in the Selected Species list. ANSYS Fluent solves transport equations for all but the last species in the Selected Species list. The order of the solution is the same as the order of the species in Selected Species.


  5. Specify the reactions in the Reactions dialog box (opened by clicking Edit next to Reactions under Properties of the Create/Edit Materials dialog box).

    Figure 14.18:  The Reactions Dialog Box

    The Reactions Dialog Box

    For each reaction, configure the following settings:

    1. Select Electrochemical as the reaction type.

    2. If you want the Tafel Equation 7–81 in the Fluent Theory Guide, rather than the Bulter-Volmer Equation 7–80, to be used in the kinetics calculation, select Tafel Parameters.

    3. Specify the following Butler-Volmer/Tafel Parameters:

    4. Enter the th species dimensionless power ( in Equation 7–80 in the Fluent Theory Guide) as Rate Exponent.

    5. Under the Butler-Volmer/Tafel Parameters group box, click the Specify Reference Mass Fractions... button and in the Reference Mass Fractions dialog box that opens, enter the reference species mass fractions ( in Equation 7–80 in the Fluent Theory Guide).


      Note:  A user-defined function (UDF) hook for the electrochemical reaction rate is available as a DEFINE_EC_RATE function. Refer to DEFINE_EC_RATE in the Fluent Customization Manual for details about defining DEFINE_EC_RATE functions.


  6. Define reaction mechanisms using the Reaction Mechanisms dialog box (opened by clicking Edit next to Mechanism under Properties of the Create/Edit Materials dialog box).

    Figure 14.19:  The Reaction Mechanisms Dialog Box

    The Reaction Mechanisms Dialog Box

    1. Specify Number of Mechanisms. If you type in the value, be sure to press Enter.

    2. For each electrochemical reaction mechanism, configure the following settings:

      1. Set the Mechanism ID of the mechanism you want to define. Again, if you type in the value, be sure to press Enter.

      2. Select Electrochemical as a reaction type.

      3. Under Reactions, select the reaction and in the Name text entry field, specify a meaningful name for the mechanism (for example, mechanism-anode or mechanism-cathode).

  7. In the Create/Edit Materials dialog box, set the remaining mixture properties, such as Density (typically volume-weighted-mixing-law), Mass Diffusivity, and Electrical Conductivity.

    Note that if the anode, cathode, and electrolyte have different material properties, such as species mass diffusivities, it is best to use a UDF. Alternatively, you can create new materials for the anode and cathode by copying existing materials from the Fluent database, renaming them, and then assigning these materials to the anode and cathode fluid zones in the Cell Zone Conditions dialog box.

  8. For electrolyte and electrode zones, set cell zone conditions using Cell Zone Conditions Task Page.

     Setup →   Cell Zone Conditions

    1. In the Fluid dialog box, specify whether or not the selected zone is an electrolyte zone by selecting or clearing the Electrolyte check box. By default, all fluid zones are electrolyte zones.

    2. If there is no volumetric reactions, clear the Reaction check box.

  9. Set the electrochemical boundary conditions for all relevant walls using Boundary Conditions Task Page.

     Setup →   Boundary Conditions

    Figure 14.20:  Wall Potential Boundary Condition

    Wall Potential Boundary Condition

    Electrochemical reaction can be defined at either exterior (1-sided) walls or interior (2-sided) walls with only one side exposed to electrolyte.

    In the Wall dialog box, configure the following settings:

    1. For exterior (1-sided) walls, set the potential boundary conditions as described in Using the Electric Potential Model.

    2. Specify whether or not the wall is Faradaic by selecting or clearing the Electrochemical Reaction check box.

    3. For Faradaic walls, from the Reaction Mechanism drop-down list, select the reaction mechanism that you have previously defined.

    4. If the electrochemical reaction is defined on the wall (Electrochemical Reaction is selected), you can include the reaction heat in the energy equation by selecting the Faradaic Heat check box.


    Note:  For the 2-sided wall, you need to specify the potential boundary conditions only on one side of the wall. The settings you have specified will be automatically copied to the other side of the wall.


  10. (optional) You can include additional sources in the energy, continuity, and species transport equations as described in the following sections:

  11. Set the solution parameters in the Solution Methods Task Page and Solution Controls Task Page.

    In many electrochemical applications, fluid convection can be neglected, in which case the Flow equation should be disabled in the Equations control box (accessible from the Solution Controls Task Page).

    Similarly, for isothermal simulations, the Energy equation should be disabled.


    Important:  If the potential equation has difficulty converging, you can lower the Faradaic Interface Current under-relaxation factor in the Solution Controls task page to improve stability.


  12. Once the solution is converged, you can display or report the following variables that are available under the Potential category:

    • Electric Potential

    • Electric Conductivity

    • Faradaic Current Density

    • Total Surface Corrosion Rate

    • Electrode Surface Potential

    • Current Density

    • Joule Heat Source

    • Faradaic Heat Source

    • Total Echem Heat Source

    In addition, you can display

    • Echem Reaction Rate of each reactions (under the Reactions category)

    • Surface Corrosion Rate of each solid species on a wall (under Species category)


Release 18.2 - © ANSYS, Inc. All rights reserved.