Chapter 31: Simulating a Single Battery Cell Using the MSMD Battery Model

31.1. Introduction

This tutorial is used to show how to set up a battery cell simulation in Ansys Fluent.

This tutorial demonstrates how to do the following:

  • Set up a battery cell simulation using the NTGK battery submodel

  • Perform the calculations for different battery discharge rates and compare the results using the postprocessing capabilities of Ansys Fluent

  • Use the reduced order method (ROM) in a battery simulation

  • Simulate a battery pulse discharge

  • Introduce external and internal short-circuits in a battery simulation

31.2. Prerequisites

This tutorial is written with the assumption that you have completed the introductory tutorials found in this manual and that you are familiar with the Ansys Fluent outline view and ribbon structure. Some steps in the setup and solution procedure will not be shown explicitly.

31.3. Problem Description

The discharge behavior of a lithium-ion battery described in Kim’s paper [2] will be modeled in this tutorial. You will use the NTGK model. The battery is a 14.6 Ah LiMn2O4 cathode/graphite anode battery. The geometry of the battery cell is shown in Figure 31.1: Schematic of the Battery Cell Problem. You will study the battery’s behavior at different discharge rates.

Figure 31.1: Schematic of the Battery Cell Problem

Schematic of the Battery Cell Problem

For external and internal short-circuit treatment, you will consider an extreme case where external and internal short-circuits occur at the same time. You will simulate post-short-circuit battery processes. You can assume that the internal short is caused by a nail penetration occurring near the center of the battery.

31.4. Setup and Solution

31.4.1. Preparation

  1. Download the battery_cell.zip file here .

  2. Unzip battery_cell.zip to your working directory.

    The mesh file unit_battery.msh.h5 can be found in the folder.

  3. Use the Fluent Launcher to start Ansys Fluent.

  4. Select Solution in the top-left selection list to start Fluent in Solution Mode.

  5. Select 3D under Dimension.

  6. Enable Double Precision under Options.

  7. Set Solver Processes to 1 under Parallel (Local Machine).

31.4.2. Reading and Scaling the Mesh

  1. Read the mesh file unit_battery.msh.h5.

     File Read Mesh...

    When prompted, browse to the location of the unit_battery.msh.h5 and select the file.

    Once you read in the mesh, it is displayed in the embedded graphics windows.

    The geometry is already in the correct scale. You don’t need to scale it.

  2. Check the mesh.

     Domain Mesh Check Perform Mesh Check

31.4.3. NTGK Battery Model Setup

31.4.3.1. Specifying Solver and Models

  1. In the Solver group of the General task page, enable a time-dependent calculation.

     Setup  General Transient

  2. Enable the battery model.

     Setup Models Battery Model Edit

    1. In the Battery Model dialog box, select Enable Battery Model.

      The dialog box expands to display the battery model’s settings.

      Figure 31.2: Model Options

      Model Options

      Once you enable the battery model, the Energy equation will be automatically enabled in order to solve for the temperature field.

    2. Under the Model Options tab (Figure 31.2: Model Options), configure the following battery operation conditions:

      1. Ensure that MSMD is selected for Solution Method.

      2. Under E-Chemistry Models, enable the NTGK/DCIR Model.

      3. Under Electrical Parameters, retain the default value of 14.6 Ah for Nominal Cell Capacity.

      4. Select Enable Joule heat in Passive Zones in the Energy Source Options group box.

      5. Retain the default selection of Specified C-Rate and the value of 1 for C-Rate.

      6. Retain the default value of 3 V for Min. Stop Voltage.

    3. Under the Conductive Zones tab (Figure 31.3: Conductive Zones), configure the following settings:

      Group

      Control or List

      Value or Selection

      Active Components

      Zone (s)

      e-zone

      Passive Components

      Zone (s)

      tab_nzone

      tab_pzone

      For this single cell case, there are no busbar zones. Electro-chemical reactions occur only in the active zone. Battery tabs are usually modeled as passive zones, in which the potential field is also solved.

      Figure 31.3: Conductive Zones

      Conductive Zones


    4. Under the Electric Contacts tab (Figure 31.4: Electric Contacts), configure the contact surface and external connector settings as follows:

      Group

      Control or List

      Value or Selection

      External Connectors

      Negative Tab

      tab_n

      Positive Tab

      tab_p

      The corresponding current or voltage boundary condition will be applied to those boundaries automatically.

      Under the Electric Contacts tab, you can also define extra contact resistance for each zone.

      Figure 31.4: Electric Contacts

      Electric Contacts

    5. Click the Print Battery System Connection Information button.

      Ansys Fluent prints the battery connection information in the console window:

      Battery Network Zone Information:
      -------------------------------------
       Battery 1s1p
           Active zone:  e_zone
      
       Passive zone 0:
              tab_nzone
       Passive zone 1:
              tab_pzone
      -------------------------------------
      Number of battery series stages =1;  Number of batteries in parallel per series stage=1
      ****************END OF BATTERY CONNECTION INFO**************

    6. Verify that the connection information is correct.

    7. Under the Model Parameters tab, retain the default settings for Y and U coefficients.


      Note:
      • If in your case, Y and U functions are not in the same function form as in Kim’s paper, you need to modify the cae_user.c source code file.

      • For a given battery, you can perform a set of constant current discharging tests, and then use the battery's parameter estimation tool to obtain the Y and U functions.


    8. Click OK to close the Battery Model dialog box.

      In the background, Fluent automatically hooks all the necessary UDFs for the problem.

    9. Click OK to close the Information dialog box.

31.4.3.2. Defining New Materials for Cell and Tabs

Define the new e_material material for the battery’s cell, p_material for the positive tab, and n_material for the negative tab.

In the battery model, two transport equations are solved for the positive and negative potentials, respectively. To specify the electric conductivity of the active material you need to define the two electric conductivities, one for each potential field..

  1. Create the electric material.

     Physics Materials Create/Edit...

    1. In the Create/Edit Materials dialog box, select solid from the Material Type drop-down list.

    2. Enter e_material for Name and e for Chemical Formula.

    3. Under Properties, set Density to 2092 [kg/m3].

    4. Set Cp (Specific Heat) to 678 [J/kg-K].

    5. Set Thermal Conductivity to 18.2 [W/m-K].

    6. Select defined-per-uds from the Electrical Conductivity drop-down list.

    7. In the UDS Diffusion Coefficients dialog box, specify the user-defined scalars.

      1. Select uds-0 in the User-Defined Scalar Diffusion list.

      2. Retain constant from the Coefficient drop-down list.

      3. Set Coefficient to 1.19e6.

      4. In a similar way, set uds-1 to 9.83e5 and click OK to close the UDS Diffusion Coefficients dialog box.

      5. In the Question dialog box, click No to retain aluminum and add the new material (e_material) to the materials list.


        Note:  Refer to Appendix for information on how to calculate the battery cell property values.


  2. Create a new material for the positive tab by modifying copper from the solid material database.

    1. In the Create/Edit Materials dialog box, click Fluent Database....

    2. In the Fluent Database Materials dialog box, make sure that solid is selected for Material Type.

    3. Select copper from Fluent Solids Materials and click Copy and then Close.

      The Create/Edit Materials dialog box now displays the copied properties for copper.

    4. Enter p_material for Name and pmat for Chemical Formula.

    5. Ensure constant is selected for Electrical Conductivity and enter 1.0e7.

    6. Click Change/Create.

    7. In the Question dialog box, click Yes to overwrite copper.

      The new material (p_material) appears under Materials.

  3. Create a new material for the negative tab with the same properties as the material for the positive tab.


    Note:  You do not need to create two different materials for the positive and negative tabs if the positive and negative tabs are made of the same material. In this tutorial, the two different tab materials with the same physical properties have been created for demonstration purposes only.


    1. From Fluent Solid Materials drop-down list, select p_material.

    2. Enter n_material for Name and nmat for Chemical Formula.

    3. Click Change/Create.

    4. In the Question dialog box, click No to retain p_material and add the new material (n_material) to the materials list.

    5. Close the Create/Edit Materials dialog box.

31.4.3.3. Defining Cell Zone Conditions

Assign e_material to the cell zone, p_material to the positive tab and n_material to the negative tab.

  1. Assign e_material to the e_zone zone.

     Setup  Cell Zone Conditions   e_zone Edit...

    1. In the Solid dialog box, select e_material from the Material Name drop-down list.

    2. Click Apply.

  2. In a similar manner, assign p_material to tab_pzone and n_material to tab_nzone.

31.4.3.4. Defining Boundary Conditions

Define the thermal boundary conditions for all walls for the cell, and positive and negative tabs.

  1. Set the convection boundary condition for wall_active.

     Setup  Boundary Conditions Wall   wall_active Edit...

    1. In the Wall dialog box, under the Thermal tab, under Thermal Conditions, enable Convection.

    2. Set Heat Transfer Coefficient to 5 [w/m2K].

    3. Retain the default value of 300 [K] for Free Stream Temperature.

    4. Click Apply and close the Wall dialog box.

      You do not need to change the settings under the UDS tab since the boundary conditions for the two UDS scalars have been set automatically when you defined the cell zone conditions.

  2. Copy the boundary conditions for wall_active to wall_p and wall_n.

     Setup  Boundary Conditions wall_active  Copy...

    1. Make sure that wall_active is selected in the From Boundary Zone list.

    2. Select wall_n and wall_p in the To Boundary Zone list.

    3. Click Copy, click OK in the confirmation prompt, and close the Copy Conditions dialog box.

31.4.3.5. Specifying Solution Settings

  1. Turn off the flow and turbulence equations.

     Solution Controls Equations...

    1. In the Equations dialog box, deselect Flow and Turbulence from the Equation selection list.

    2. Click OK.

  2. Remove the convergence criteria to ensure that automatic convergence checking does not occur.

     Solution Reports Residuals...

    1. In the Residual Monitors dialog box, enable Show Advanced Options.

    2. Select none from the Convergence Criterion drop-down list.

    3. Click OK.

  3. Create a surface report definition for the voltage at the positive tab.

     SolutionReports Definitions New Surface Report Area-Weighted Average

    1. In the Surface Report Definition dialog box, enter voltage_vp for Name.

    2. Select Battery Variables... and Passive Zone Potential from the Field Variable drop-down lists.

    3. From the Surfaces selection list, select tab_p.

    4. In the Create group box, enable Report File, Report Plot and Print to Console.

    5. Click OK to save the voltage_vp report definition and close the Surface Report Definition dialog box.

    6. Rename the report output file.

       Solution Monitors Report Files voltage_vp-rfile  Edit...

      1. Enter ntgk-1c.out for File Name.

      2. Click OK to close the Edit Report File dialog box.

    7. Modify the attributes of the plot axes.

       Solution Monitors Report Plots voltage_vp-rplot  Edit...

      1. In the Edit Report Plot dialog box, under the Plot Window group box, click the Axes... button to open the Axes dialog box.

      2. Select the X axis and set Precision to 0.

      3. Click Apply.

      4. Select the Y axis and set Precision to 2.

      5. Click Apply and close the Axes dialog box.


        Note:  You must click Apply to save the modified settings for each axis.


      6. Make sure that time-step is selected from the Get Data Every drop-down list.

      7. Click OK to close the Edit Report Plot dialog box.

  4. Create a volume report definition for the maximum temperature in the domain.

     SolutionReports Definitions New Volume Report Max...

    1. In the Volume Report Definition dialog box, enter max_temp for Name.

    2. Select Temperature... and Static Temperature from the Field Variable drop-down lists.

    3. From the Cell Zones selection list, select all zones.

    4. In the Create group box, enable Report File, Report Plot and Print to Console.

    5. Click OK to save the volume report definition settings and close the Volume Report Definition dialog box.

    6. Rename the report output file.

       Solution Monitors Report Files max_temp-rfile  Edit...

      1. Enter max-temp-1c.out for Output File Base Name.

      2. Click OK to close the Edit Report File dialog box.

    7. Modify the axis attributes by setting the Precision to 0 for the X axis and to 2 for the Y axes (in a manner similar to the surface plot definition).

    8. Click OK.

  5. Save the case file (unit_battery.cas.h5).

     File Write Case...

31.4.3.6. Obtaining Solution

  1. Initialize the field variables using the Standard Initialization method.

     Solution Initialization

    1. Retain the selection of the Standard method (Initialization group).

    2. Click Initialize.

      You do not need to modify Initial Values in the Solution Initialization task page, because these values are not used for initialization. The Ansys Fluent solver automatically computes the initial condition for UDS0 and UDS1.


    Note:  Warning messages are printed in the Fluent console informing you about interior zones between different solids. Such messages appear when two adjacent solid zones separated by an interior face type are using two different materials. The message suggests using the mesh/modify-zones/slit-interior-between-diff-solids text command to slit the interior zone between solid zones of differing materials to create a wall/wall-shadow interfaces. In general, the material property interpolation at wall/wall-shadow is more accurate if different materials are used at two sides of an interface. However, the battery model is implemented in such a way that both treatments are equivalent, and such messages could be ignored.


  2. Run the simulation.

     Solution Run Calculation

    1. Set Time Step Size to 30 seconds and No. of Time Steps to 100.

    2. Click Calculate.

      The residual plot, the report for voltage at the positive tab and the history of the maximum temperature in the domain are shown in Figure 31.5: Residual History of the Simulation, Figure 31.6: Report Plot of Discharge Curve at 1 C, and Figure 31.7: History of Maximum Temperature in the Domain, respectively.

      Figure 31.5: Residual History of the Simulation

      Residual History of the Simulation

      Figure 31.6: Report Plot of Discharge Curve at 1 C

      Report Plot of Discharge Curve at 1 C

      Figure 31.7: History of Maximum Temperature in the Domain

      History of Maximum Temperature in the Domain

  3. Save the case and data files (unit_battery.cas.h5 and unit_battery.dat.h5).

     File Write Case & Data...

31.4.4. Postprocessing

In this section, postprocessing capabilities for the MSMD battery model solution are demonstrated.

  1. Display the contour plot of the phase potential for the positive electrode.

     Results Graphics Contours New...

    1. Enter contour-phi+ for Contour Name.

    2. Select Banded in the Coloring group box.

    3. From the Contours of drop-down list, select Battery Variables... and Cathode Potential.

    4. Click the Toggle Tree View button next to the Surfaces filter and from the drop-down list, select Surface Type (under Group by).

    5. From the Surfaces selection list, under Wall, select wall_active.

    6. Click Save/Display and close the Contours dialog box.


      Note:  To change the precision for the colormap labels, click Colormap Options... to open the Colormap dialog box, and increase the value of Precision.


      Figure 31.8: Contour Plot of Phase Potential for the Positive Electrode

      Contour Plot of Phase Potential for the Positive Electrode

  2. In a similar manner, display the contour plot of the phase potential for the negative electrode.

     Results Graphics Contours New...

    1. Enter contour-phi- for Contour Name.

    2. Select Banded in the Coloring group box.

    3. From the Contours of drop-down list, select Battery Variables... and Anode Potential.

    4. From the Surfaces selection list, select wall_active.

    5. Click Save/Display and close the Contours dialog box.

      Figure 31.9: Contour Plot of Phase Potential for the Negative Electrode

      Contour Plot of Phase Potential for the Negative Electrode

  3. Display a contour plot of the phase potential in the passive zones

     Results Graphics Contours New...

    1. Enter contour-phi-passive for Contour Name.

    2. Select Banded in the Coloring group box.

    3. From the Contours of drop-down list, select Battery Variables... and Passive Zone Potential.

    4. From the Surfaces selection list, select tab_n, tab_p, wall_n, and wall_p.

    5. Click Save/Display and close the Contours dialog box.

      Figure 31.10: Contour Plot of Phase Potential for Passive Zones

      Contour Plot of Phase Potential for Passive Zones

  4. Display the contour plot of the temperature.

     Results Graphics Contours New...

    1. Enter contour-temp for Contour Name.

    2. Select Banded in the Coloring group box.

    3. From the Contours of drop-down list, select Temperature... and Static Temperature.

    4. Select Wall in the Surfaces selection list.

      The surfaces listed under Wall are automatically selected in the Surfaces list.

    5. Click Save/Display and close the Contours dialog box.

      Figure 31.11: Contour Plot of Temperature

      Contour Plot of Temperature

  5. Display the vector plot of current density.

     Results Graphics Vectors New...

    1. Enter vector-current-dens for Vector Name.

    2. Select arrow from the Style drop-down list.

    3. In the Vectors dialog box, select current-density-j from the Vectors of drop-down list.

    4. Select Battery Variables... and Current Magnitude from the Color by drop-down list.

    5. Click the Toggle Tree View button next to the Surfaces filter and from the drop-down list, select Surface Type (under Group by).

    6. From the Surfaces selection list, select Wall.

    7. In the Options group, enable Draw Mesh and in the Mesh Display dialog box, set the mesh display options as desired.

    8. Click Save/Display and close the Vectors dialog box.

      Figure 31.12: Vector Plot of Current Density

      Vector Plot of Current Density

  6. Save the case file as ntgk.cas.h5. You will use this saved case later to treat electric short-circuits.

  7. Repeat the simulation for the following charge rates and time steps:

    C-Rate

    Number of Time Steps

    0.5 C

    230

    5 C

    23

    Make the following changes in the model’s settings:

     Setup Models Battery Model   Edit...

    1. In the Battery Model dialog box, under the Model Options tab, specify the value listed in the above table for the C-Rate.

    2. Modify the output filename for the voltage_vp-rfile report file by entering ntgk-C-Rate.out for Output File Base Name in the corresponding Edit Report File dialog box, where C-Rate is the value of the battery discharge rate. (For example, for C-Rate = 0.5 C, you will enter ntgk-0.5c.out for the filename).

    3. Similarly, modify the output filename for max_temp-rfile by entering max-temp-C-Rate.out for Output File Base Name in the corresponding Edit Report File dialog box.

    4. Initialize and run the solution for the number of the times steps specified in the above table.


      Note:  The Fluent solver will stop either after completing the specified number of time steps or when the Min. Stop Voltage condition is reached.


  8. Display the discharge curves for the positive tab for the different discharge rates.

    1. Open the Plot Data Sources dialog box.

       Results Plots Data Sources...

    2. Click Load File... to open the Select File dialog box.

    3. Change the Files of type: drop-down filter to All Files (*), select ntgk-0.5c.out and click OK.

    4. Deselect flow-time from the Y Axis Variables selection list.

    5. Select voltage_vp in the Legend Names group box, enter 0.5c in the text box that populates below it and click Change Legend Entry.

    6. Do the same for ntgk-1c.out and ntgk-5c.out and change their legend entries accordingly.

    7. Enter Discharge Rate for the Legend Label in the Plot group box.

    8. Click Plot and close the Plot Data Sources dialog box.


      Note:  Use the Axes dialog box to set the precision for the plot axes.


      The Figure 31.13: NTGK Model: Discharge Curves shows the discharge curves for different discharge rates in the function of time.

      Figure 31.13: NTGK Model: Discharge Curves

      NTGK Model: Discharge Curves

  9. In a manner similar to the previous step, load the files max-temp-0.5c.out, max-temp-1c.out, and max-temp-5c.out and display the maximum temperature curves in the domain.

    Figure 31.14: NTGK Model: Maximum Temperature in the Domain shows the maximum temperature curves in the simulation for different discharge rates.

    Figure 31.14: NTGK Model: Maximum Temperature in the Domain

    NTGK Model: Maximum Temperature in the Domain

31.4.5. Simulating the Battery Pulse Discharge Using the ECM Model

 Setup Models Battery Model   Edit...

  1. In the Battery Model dialog box, under E-Chemistry Models, select Equivalent Circuit Model.

  2. Under Electrical Parameters, retain the default value of 14.6 Ah for Nominal Cell Capacity.

  3. Retain the default selection of Specified C-Rate and enter 1 for C-Rate.

  4. Under the Model Parameters tab, retain the battery specific parameters.

    For a given battery, these model parameters can be obtained using the battery's HPPC testing data.

  5. Click OK to apply the ECM battery model settings and close the Battery Model dialog box

  6. Click OK in the Warning dialog box informing you that the re-initialization of the battery model is required.

  7. In the Solution Initialization task page, click Initialize to re-initialize the field variables.

  8. Simulate the battery pulse discharge by changing the battery operating conditions each time after running the calculation for five minutes.

    1. In the Run Calculation task page, make sure that Time Step Size is set to 30, set Number of Time Steps to 10 and click Calculate.

    2. Click Yes to create new report definition files.

    3. Once the calculation is complete, set C-Rate in the MSMD Battery Model dialog box to 0 and run the calculation for 10 more time steps.

    4. Continue the simulation by alternating the value of C-Rate between 1 C and 0 C until, until the battery is fully discharged.


      Note:  Instead of doing this manually, you can use the Using Profile option in the MSMD Battery Model dialog box and load a profile file with specified C-rate fluctuations to drive the whole process. For more information about the usage of a profile file, refer to Specifying Battery Model Options in the Ansys Fluent User's Guide.


      The battery pulse discharge is summarized in Figure 31.15: Battery Pulse Discharge.

      Figure 31.15: Battery Pulse Discharge

      Battery Pulse Discharge

31.4.6. Using the Reduced Order Method (ROM)

You will use the ntgk.cas.h5 case file that you saved earlier to illustrate how to use the ROM for time-efficient calculations. This section assumes that you are already familiar with the Ansys Fluent battery model; only the steps related specifically to using the ROM for problem solution are discussed here.

  1. Read the NTGK model case file ntgk.cas.h5.

  2. Initialize the problem.

  3. In the Run Calculation task page, make sure that Time Step Size is set to 30, set Number of Time Steps to 3 and click Calculate.

    Click No in the Question dialog box when asked if you would like to append the new data to the existing file, and then click Yes in the Warning dialog box to overwrite the existing file.

  4. Once the calculation is complete, enable the ROM.

     Setup Models Battery Model   Edit...

    1. In the MSMD Method Option group box, select Reduced Order Method.

    2. Set Number of Sub-Steps/Time Step to 10 and click OK to close the Battery Model dialog box.

  5. Re-run the simulation continuing from step 2 in Obtaining Solution.

    The solution of the simulation using the ROM is significantly faster than when using the direct method without any changes in results.

31.4.7. External and Internal Short-Circuit Treatment

You will again use the ntgk.cas.h5 case file that you saved earlier to illustrate how to treat external and internal short-circuits in a battery simulation. It is assumed that the battery is experiencing external and internal short-circuit simultaneously. This extreme case will be used to demonstrate the problem setup and postprocessing in a short simulation. This section assumes that you are already familiar with the Ansys Fluent battery model, only the steps related to short simulation are emphasized here.

31.4.7.1. Setting up and Solving a Short-Circuit Problem

  1. Read the NTGK model case file ntgk.cas.h5.

  2. Set up the external electric short-circuit.

     Setup Models Battery Model   Edit...

    1. In the Battery Model dialog box, under the Model Options tab, in the Solution Options group box, enable Specified Resistance.

    2. For External Resistance, enter 0.5 Ohm and click OK.

  3. Set up the internal electric short-circuit in the center of the battery cell.

    1. Mark the short-circuit zone shown in Figure 31.16: Internal Short Circuit Region Marked for Patching using a region register.

       Solution Cell Registers  New Region...

      Figure 31.16: Internal Short Circuit Region Marked for Patching

      Internal Short Circuit Region Marked for Patching

      1. In the Region Register dialog box, enter the following values for Input Coordinates.

        X Min

        X Max

        Y Min

        Y Max

        Z Min

        Z Max

        -0.01

        0.01

        -0.01

        0.02

        -1

        1

      2. Click Save/Display and close the Region Register dialog box.

        Fluent reports in the console that 12 cells were marked for refinement.

  4. Initialize the field variables using the standard initialization method.

     Solution Initialization Initialize

  5. Patch the internal short circuit zone with the short resistance value.

     Solution Initialization Patch...

    1. In the Patch dialog box, select Battery Short Resistance under Variable.

    2. Select region_0 under Registers to Patch.

    3. For Value, enter 5.0e-7.

    4. Click Patch and close the Patch dialog box.

  6. Save the case file (ntgk_short_circuit.cas.h5).

     File Write Case...

  7. Run the simulation for 5 seconds.

     Solution Run Calculation

    1. Set Time Step Size to 1 second and No. of Time Steps to 5.

    2. Click Calculate.

  8. Save the case and data files (ntgk_short_circuit.cas.h5 and ntgk_short_circuit.dat.h5).

     File Write Case & Data...

31.4.7.2. Postprocessing

  1. Compute the battery tab voltage .

     Results Reports Surface Integrals...

    1. In the Surface Integrals dialog box, from the Report Type drop-down list, select Area-Weighted Average.

    2. From the Field Variable drop-down lists, select Battery Variables... and Passive Zone Potential.

    3. In the Surfaces filter, type t to display surface names that begin with "t" and select tab_p from the selection list.

    4. Click Compute and close the Surface Integrals dialog box.

      The battery tab voltage of approximately 4.077 V is printed in the Area-Weighted Average field and in the Fluent console.

  2. Compute the battery tab current .

     Results Reports Volume Integrals...

    1. In the Report Type group box, select Volume Integrals.

    2. From the Field Variable drop-down lists, select Battery Variables... and Total Current Source.

    3. From the Cell Zones selection list, select e_zone.

    4. Click Compute and close the Volume Integrals dialog box.

      Fluent reports in the Total Volume Integral field and in the console that the total volume integral for the volumetric current source is approximately 8.155 A.

      The computed values of the battery tab current and voltage satisfy the tab boundary condition .

  3. Display the vector plot of current at the positive and negative current collectors.

     Results Graphics Vectors New...

    1. Enter vector-current+ for Vector Name.

    2. Select arrow from the Style drop-down list.

    3. In the Vectors dialog box, select current-density-jp from the Vectors of drop-down list.

    4. Select Battery Variables... and Current Magnitude from the Color by drop-down lists.

    5. From the Surfaces selection list, select Wall.

      The surfaces of the "wall" type are automatically selected in the Surfaces list.

    6. Click Save/Display.

    7. The plot shows the vector plot of electric current flow in the positive current collector of the battery cell.

      Figure 31.17: The Vector Plots of Current at the Positive Current Collectors

      The Vector Plots of Current at the Positive Current Collectors

    8. In a similar manner, display the current for the negative current collector by selecting current-density-jn from the Vectors of drop-down list.

      The plot shows the vector plots of electric current flow in the negative current collector of the battery cell. These plots clearly show that besides providing tab current, short current flows from positive electrode to the negative electrode through the short area.

      Figure 31.18: The Vector Plots of Current at the Negative Current Collectors

      The Vector Plots of Current at the Negative Current Collectors

    9. Close the Vectors dialog box.

  4. Display the contour plot of the temperature as you did previously.

     Results Graphics Contours contour-temp  Display

    1. Figure 31.19: Contour Plot of Temperature

      Contour Plot of Temperature

      Figure 31.19: Contour Plot of Temperature shows a temperature hotspot in the internal shorted area of the battery cell.

  5. Check for different electric current flow rates in the manner described in step 2.

     Results Reports Volume Integrals...

    1. Generate volume integral reports for the field variables listed in the table below.

      Field Variable

      Notation

      Reported Value

      Short Current Source

      -15.843 A

      ECHEM Current Source

      23.999 A

    2. Verify that the total produced electric current equals to the sum of tab and short current, that is .

  6. Check for different types of heat generation rates.

    1. As you did for the current source reports, generate reports for the field variables listed in the table below.

      Field Variable

      Notation

      Reported Value

      Joule Heat Source

      0 W

      Echem Heat Source

      1.092 W

      Short-Circuit Heat Source

      64.607 W

      Total Heat Source

      65.699 W

    2. Verify that the total heat generation rate is the sum of different contributions, that is .

  7. Save the case file (ntgk_short_circuit.cas.h5).

     File Write Case...

Note that, as battery's temperature increases, thermal runaway may occur. If thermal runaway starts, some undesirable exothermic decomposition reactions will occur. For thermal runaway simulations, the default electrochemistry model cannot be used. Short treatment can only capture the thermal ramp-up process before the onset of thermal runaway.

31.5. Summary

In this tutorial, you studied how to solve a battery cell problem using the NTGK submodel with the default settings. You then used the ROM to speed up the computation time of the battery model simulation. In addition, you learned how to use the MSMD model capability to treat external and internal short-circuits.

For more information about using the Dual-Potential MSMD Battery model, see the Ansys Fluent User's and Theory Guides.

31.6. Appendix

The battery cell cross-section is shown in the figure below.

You can estimate the material properties for your battery cell using the following correlations:

  • For density , heat capacity , and thermal conductivity :

    where is the effective property value of a material property (such as density, heat capacity, or thermal conductivity), is the thickness. The subscripts , , and refer to current collector, electrode, and separator, respectively. The superscripts and refer to positive and negative, respectively.

  • For electric conductivity :

The material properties are taken from Kim’s papers [2] and [1]. The computed material properties for the battery cell presented in the tutorial are shown in the table below.

Zone

Total

[um]

20

150

12

145

10

322

[kg/m3]

2700

1500

1200

2500

8960

2092

[J/kg-K]

900

700

700

700

385

678

[W/m-K]

238

5

1

5

398

18.2

[s/m]

3.83e7

13.9

 

100

6.33e7

= 1.19e6

= 9.83e5

31.7. References

  1. U. S. Kim et al, "Effect of electrode configuration on the thermal behavior of a lithium-polymer battery", Journal of Power Sources, Volume 180 (2), pages 909-916, 2008.

  2. U. S. Kim, et al., "Modeling the Dependence of the Discharge Behavior of a Lithium-Ion Battery on the Environmental Temperature", J. of Electrochemical Soc., Volume 158 (5), pages A611-A618, 2011.