Table of Contents

Using This Manual
1. The Contents of the Fluent Manuals
2. Typographical Conventions
3. Mathematical Conventions
4. Technical Support
I. ANSYS Fluent Battery Module
Using This Manual
1. The Contents of This Manual
1. Introduction
1.1. Overview
1.2. General Procedure
1.3. Installing the Battery Module
2. Single-Potential Empirical Battery Model
2.1. Single-Potential Empirical Battery Model Theory
2.1.1. Introduction
2.1.2. Computation of the Electric Potential and Current Density
2.1.3. Thermal and Electrical Coupling
2.2. Using the Single-Potential Empirical Battery Model
2.2.1. Geometry Definition for the Single-Potential Empirical Battery Model
2.2.2. Loading the Single-Potential Empirical Battery Module
2.2.3. Getting Started With the Single-Potential Empirical Battery Model
2.2.3.1. Specifying Single-Potential Empirical Battery Model Parameters
2.2.3.2. Specifying Separator Parameters
2.2.3.3. Specifying Electric Field Parameters
2.2.4. Solution Controls for the Single-Potential Empirical Battery Model
2.2.5. Postprocessing the Single-Potential Empirical Battery Model
2.2.6. User-Accessible Functions
2.2.6.1. Compiling the Customized Battery Source Code
2.2.6.1.1. Compiling the Customized Source Code Under Linux
2.2.6.1.2. Compiling the Customized Source Code Under Windows
2.2.7. Using the Single-Potential Empirical Battery Model Text User Interface
3. Dual-Potential MSMD Battery Model
3.1. Dual-Potential MSMD Battery Model Theory
3.1.1. MSMD approach
3.1.2. NTGK Model
3.1.3. ECM Model
3.1.4. Newman’s P2D Model
3.1.5. Coupling Between CFD and Submodels
3.1.6. Battery Pack Simulation
3.1.7. Reduced Order Solution Method (ROM)
3.1.8. External and Internal Electric Short-Circuit Treatment
3.1.9. Thermal Abuse Model
3.2. Using the Dual-Potential MSMD Battery Model
3.2.1. Limitations
3.2.2. Geometry Definition for the Dual-Potential MSMD Battery Model
3.2.3. Loading the Dual-Potential MSMD Battery Module
3.2.4. Setting up the Dual-Potential MSMD Battery Model
3.2.4.1. Specifying Battery Model Options
3.2.4.2. Specifying Battery Model Parameters
3.2.4.2.1. Inputs for the NTGK Empirical Model
3.2.4.2.2. Inputs for the Equivalent Circuit Model
3.2.4.2.3. Inputs for the Newman’s P2D Model
3.2.4.2.4. Input for the User-Defined E-Model
3.2.4.3. Specifying Conductive Zones
3.2.4.4. Specifying Electric Contacts
3.2.4.5. Specifying Advanced Option
3.2.4.6. Specifying External and Internal Short-Circuit Resistances
3.2.5. Initializing the Battery Model
3.2.6. Modifying Material Properties
3.2.6.1. Specifying UDS Diffusivity for the Active Material
3.2.6.2. Specifying UDS Diffusivity for the Passive Material
3.2.6.3. Defining Different Materials for Positive and Negative Electrodes
3.2.7. Solution Controls for the Dual-Potential MSMD Battery Model
3.2.8. Postprocessing the Dual-Potential MSMD Battery Model
3.2.9. User-Accessible Functions
3.2.9.1. Compiling the Customized Battery Source Code
3.2.9.1.1. Compiling the Customized Source Code Under Linux
3.2.9.1.2. Compiling the Customized Source Code Under Windows
3.2.10. Using the Dual-Potential MSMD Battery Model Text User Interface
4. Tutorial: Simulating a Single Battery Cell Using the MSMD Battery Model
5. Tutorial: Simulating a 1P3S Battery Pack Using the MSMD Battery Model
Bibliography
II. ANSYS Fluent Continuous Fiber Module
Using This Manual
1. The Contents of This Manual
1. Introduction
2. Continuous Fiber Model Theory
2.1. Introduction
2.2. Governing Equations of Fiber Flow
2.3. Discretization of the Fiber Equations
2.3.1. Under-Relaxation
2.4. Numerical Solution Algorithm of Fiber Equations
2.5. Residuals of Fiber Equations
2.6. Coupling Between Fibers and the Surrounding Fluid
2.6.1. Momentum Exchange
2.6.2. Mass Exchange
2.6.3. Heat Exchange
2.6.4. Radiation Exchange
2.6.5. Under-Relaxation of the Fiber Exchange Terms
2.7. Fiber Grid Generation
2.8. Correlations for Momentum, Heat and Mass Transfer
2.8.1. Drag Coefficient
2.8.2. Heat Transfer Coefficient
2.8.3. Mass Transfer Coefficient
2.9. Fiber Properties
2.9.1. Fiber Viscosity
2.9.1.1. Melt Spinning
2.9.1.2. Dry Spinning
2.9.2. Vapor-Liquid Equilibrium
2.9.3. Latent Heat of Vaporization
2.9.4. Emissivity
2.10. Solution Strategies
3. Using the Continuous Fiber Module
3.1. Installing the Continuous Fiber Module
3.2. Loading the Continuous Fiber Module
3.3. Getting Started With the Continuous Fiber Module
3.3.1. User-Defined Memory and the Adjust Function Setup
3.3.2. Source Term UDF Setup
3.4. Fiber Models and Options
3.4.1. Choosing a Fiber Model
3.4.2. Including Interaction With Surrounding Flow
3.4.3. Including Lateral Drag on Surrounding Flow
3.4.4. Including Fiber Radiation Interaction
3.4.5. Viscous Heating of Fibers
3.4.6. Drag, Heat and Mass Transfer Correlations
3.5. Fiber Material Properties
3.5.1. The Concept of Fiber Materials
3.5.2. Description of Fiber Properties
3.6. Defining Fibers
3.6.1. Overview
3.6.2. Fiber Injection Types
3.6.3. Working with Fiber Injections
3.6.3.1. Creating Fiber Injections
3.6.3.2. Modifying Fiber Injections
3.6.3.3. Copying Fiber Injections
3.6.3.4. Deleting Fiber Injections
3.6.3.5. Initializing Fiber Injections
3.6.3.6. Computing Fiber Injections
3.6.3.7. Print Fiber Injections
3.6.3.8. Read Data of Fiber Injections
3.6.3.9. Write Data of Fiber Injections
3.6.3.10. Write Binary Data of Fiber Injections
3.6.3.11. List Fiber Injections
3.6.4. Defining Fiber Injection Properties
3.6.5. Point Properties Specific to Single Fiber Injections
3.6.6. Point Properties Specific to Line Fiber Injections
3.6.7. Point Properties Specific to Matrix Fiber Injections
3.6.8. Define Fiber Grids
3.6.8.1. Equidistant Fiber Grids
3.6.8.2. One-Sided Fiber Grids
3.6.8.3. Two-Sided Fiber Grids
3.6.8.4. Three-Sided Fiber Grids
3.7. User-Defined Functions (UDFs) for the Continuous Fiber Model
3.7.1. UDF Setup
3.7.1.1. Linux Systems
3.7.1.2. Windows Systems
3.7.2. Customizing the fiber_fluent_interface.c File for Your Fiber Model Application
3.7.2.1. Example: Heat Transfer Coefficient UDF
3.7.2.2. Example: Fiber Specific Heat Capacity UDF
3.7.3. Compile Fiber Model UDFs
3.7.3.1. Linux Systems
3.7.3.2. NT/Windows Systems
3.7.4. Hook UDFs to the Continuous Fiber Model
3.8. Fiber Model Solution Controls
3.9. Postprocessing for the Continuous Fibers
3.9.1. Display of Fiber Locations and Grid Points
3.9.2. Exchange Terms of Fibers
3.9.3. Analyzing Fiber Variables
3.9.3.1. XY Plots
3.9.3.2. Fiber Display
3.9.4. Running the Fiber Module in Parallel
3.10. Using the Continuous Fiber Module Text User Interface
Bibliography
III. ANSYS Fluent Macroscopic Particle Module
Using This Manual
1. The Contents of This Manual
1. Introduction
2. Macroscopic Particle Model Theory
2.1. Momentum Transfer to Fluid Flow
2.2. Fluid Forces and Torques on Particle
2.3. Particle/Particle and Particle/Wall Collisions
2.4. Field Forces
2.5. Particle Deposition and Buildup
3. Using the Macroscopic Particle Model
3.1. Overview and Limitations
3.2. Loading the MPM add-on Module
3.3. Setting up MPM Model Simulations
3.4. Modeling Macroscopic Particles
3.4.1. Specifying Particle Tracking Parameters
3.4.2. Specifying the Drag Law
3.4.3. Defining Parameters for Particle-Particle and Particle-Wall Collisions
3.4.4. Specifying Deposition Parameters
3.4.5. Specifying Injection Parameters
3.4.5.1. Defining MPM Injection Properties
3.4.5.2. Inputs for point Injections
3.4.5.3. Inputs for plane Injections
3.4.5.4. Inputs for packing Injections
3.4.5.5. Inputs for from-file Injections
3.4.6. Defining Field Forces
3.4.7. Initializing the MPM model
Bibliography
IV. ANSYS Fluent Fuel Cell Modules
Using This Manual
1. The Contents of This Manual
1. PEMFC Model Theory
1.1. Introduction
1.2. Electrochemistry Modeling
1.2.1. The Cathode Particle Model
1.3. Current and Mass Conservation
1.4. Water Transport and Mass Transfer in PEMFC
1.4.1. The Dissolved Phase Model
1.4.2. The Liquid Phase Model
1.4.2.1. Liquid Water Transport Equation in the Porous Electrode and the Membrane
1.4.2.2. Liquid Water Transport Equation in Gas Channels
1.5. Heat Source
1.6. Properties
1.7. Transient Simulations
1.8. Leakage Current (Cross-Over Current)
1.9. Zones where User-Defined Scalars are Solved
2. Using the PEMFC Model
2.1. Overview and Limitations
2.2. Geometry Definition for the PEMFC Model
2.3. Installing the PEMFC Model
2.4. Loading the PEMFC Module
2.5. Workflow for Using the PEMFC Module
2.6. Setting Up the PEMFC Module
2.6.1. Specifying Model Options (Model Tab)
2.6.2. Specifying Model Parameters (Parameters Tab)
2.6.3. Specifying Anode Properties (Anode Tab)
2.6.3.1. Specifying Current Collector Properties for the Anode
2.6.3.2. Specifying Flow Channel Properties for the Anode
2.6.3.3. Specifying Porous Electrode Properties for the Anode
2.6.3.4. Specifying Catalyst Layer Properties for the Anode
2.6.3.5. Specifying Micro Porous Layer (Optional) Properties for the Anode
2.6.3.6. Specifying Cell Zone Conditions for the Anode
2.6.4. Specifying Electrolyte/Membrane Properties (Electrolyte Tab)
2.6.4.1. Specifying Cell Zone Conditions for the Membrane
2.6.5. Specifying Cathode Properties (Cathode Tab)
2.6.5.1. Specifying Current Collector Properties for the Cathode
2.6.5.2. Specifying Flow Channel Properties for the Cathode
2.6.5.3. Specifying Porous Electrode Properties for the Cathode
2.6.5.4. Specifying Catalyst Layer Properties for the Cathode
2.6.5.5. Specifying Micro Porous Layer (Optional) Properties for the Cathode
2.6.5.6. Specifying Cell Zone Conditions for the Cathode
2.6.6. Setting Advanced Properties (Advanced Tab)
2.6.6.1. Setting Contact Resistivities for the PEMFC Model
2.6.6.2. Setting Coolant Channel Properties for the PEMFC Model (Optional)
2.6.6.3. Managing Stacks for the PEMFC Model
2.6.7. Reporting on the Solution (Reports Tab)
2.7. PEMFC Model Boundary Conditions
2.8. Solution Guidelines for the PEMFC Model
2.9. Postprocessing the PEMFC Model
2.10. User-Accessible Functions
2.10.1. Compiling the Customized PEMFC Source Code
2.10.1.1. Compiling the Customized Source Code Under Linux
2.10.1.2. Compiling the Customized Source Code under Windows
2.11. Using the PEMFC Text User Interface
2.11.1. IV-Curve Calculations Using the Text Interface
3. Fuel Cell and Electrolysis Model Theory
3.1. Introduction
3.1.1. Introduction to PEMFC
3.1.2. Introduction to SOFC
3.1.3. Introduction to Electrolysis
3.2. Electrochemistry Modeling
3.3. Current and Mass Conservation
3.4. Heat Source
3.5. Liquid Water Formation, Transport, and its Effects (PEMFC Only)
3.6. Properties
3.7. Transient Simulations
3.8. Leakage Current (Cross-Over Current)
4. Using the Fuel Cell and Electrolysis Model
4.1. Overview and Limitations
4.2. Geometry Definition for the Fuel Cell and Electrolysis Model
4.3. Installing the Fuel Cell and Electrolysis Model
4.4. Loading the Fuel Cell and Electrolysis Module
4.5. Workflow for Using the Fuel Cell and Electrolysis Module
4.6. Setting Up the Fuel Cell and Electrolysis Module
4.6.1. Specifying Model Options (Model Tab)
4.6.2. Specifying Model Parameters (Parameters Tab)
4.6.3. Specifying Anode Properties (Anode Tab)
4.6.3.1. Specifying Current Collector Properties for the Anode
4.6.3.2. Specifying Flow Channel Properties for the Anode
4.6.3.3. Specifying Porous Electrode Properties for the Anode
4.6.3.4. Specifying Catalyst Layer Properties for the Anode
4.6.3.5. Specifying Cell Zone Conditions for the Anode
4.6.4. Specifying Electrolyte/Membrane Properties (Electrolyte Tab)
4.6.4.1. Specifying Cell Zone Conditions for the Membrane
4.6.5. Specifying Cathode Properties (Cathode Tab)
4.6.5.1. Specifying Current Collector Properties for the Cathode
4.6.5.2. Specifying Flow Channel Properties for the Cathode
4.6.5.3. Specifying Porous Electrode Properties for the Cathode
4.6.5.4. Specifying Catalyst Layer Properties for the Cathode
4.6.5.5. Specifying Cell Zone Conditions for the Cathode
4.6.6. Setting Advanced Properties (Advanced Tab)
4.6.6.1. Setting Contact Resistivities for the Fuel Cell and Electrolysis Model
4.6.6.2. Setting Coolant Channel Properties for the Fuel Cell and Electrolysis Model
4.6.6.3. Managing Stacks for the Fuel Cell and Electrolysis Model
4.6.7. Reporting on the Solution (Reports Tab)
4.7. Modeling Current Collectors
4.8. Fuel Cell and Electrolysis Model Boundary Conditions
4.9. Solution Guidelines for the Fuel Cell and Electrolysis Model
4.10. Postprocessing the Fuel Cell and Electrolysis Model
4.11. User-Accessible Functions
4.11.1. Compiling the Customized Fuel Cell and Electrolysis Source Code
4.11.1.1. Compiling the Customized Source Code Under Linux
4.11.1.2. Compiling the Customized Source Code Under Windows
4.12. Using the Fuel Cell and Electrolysis Text User Interface
4.12.1. IV-Curve Calculations Using the Text Interface
5. SOFC Fuel Cell With Unresolved Electrolyte Model Theory
5.1. Introduction
5.2. The SOFC With Unresolved Electrolyte Modeling Strategy
5.3. Modeling Fluid Flow, Heat Transfer, and Mass Transfer
5.4. Modeling Current Transport and the Potential Field
5.4.1. Cell Potential
5.4.2. Activation Overpotential
5.4.3. Treatment of the Energy Equation at the Electrolyte Interface
5.4.4. Treatment of the Energy Equation in the Conducting Regions
5.5. Modeling Reactions
5.5.1. Modeling Electrochemical Reactions
5.5.2. Modeling CO Electrochemistry
6. Using the Solid Oxide Fuel Cell With Unresolved Electrolyte Model
6.1. Limitation on Modeling Solid Oxide Fuel Cells
6.2. Installing the Solid Oxide Fuel Cell With Unresolved Electrolyte Model
6.3. Loading the Solid Oxide Fuel Cell With Unresolved Electrolyte Module
6.4. Solid Oxide Fuel Cell With Unresolved Electrolyte Module Set Up Procedure
6.5. Setting the Parameters for the SOFC With Unresolved Electrolyte Model
6.6. Setting Up the Electrochemistry Parameters
6.7. Setting Up the Electrode-Electrolyte Interfaces
6.8. Setting Up the Electric Field Model Parameters
6.9. User-Accessible Functions for the Solid Oxide Fuel Cell With Unresolved Electrolyte Model
6.9.1. Compiling the Customized Solid Oxide Fuel Cell With Unresolved Electrolyte Source Code
6.9.1.1. Compiling the Customized Source Code Under Linux
6.9.1.2. Compiling the Customized Source Code Under Windows
6.10. Using the Solid Oxide Fuel Cell With Unresolved Electrolyte Text User Interface
Bibliography
V. ANSYS Fluent Magnetohydrodynamics (MHD) Module
Using This Manual
1. The Contents of This Manual
1. Introduction
2. Magnetohydrodynamic Model Theory
2.1. Introduction
2.2. Magnetic Induction Method
2.2.1. Case 1: Externally Imposed Magnetic Field Generated in Non-conducting Media
2.2.2. Case 2: Externally Imposed Magnetic Field Generated in Conducting Media
2.3. Electric Potential Method
3. Implementation
3.1. Solving Magnetic Induction and Electric Potential Equations
3.2. Calculation of MHD Variables
3.3. MHD Interaction with Fluid Flows
3.4. MHD Interaction with Discrete Phase Model
3.5. General User-Defined Functions
4. Using the ANSYS Fluent MHD Module
4.1. MHD Module Installation
4.2. Loading the MHD Module
4.3. MHD Model Setup
4.3.1. Enabling the MHD Model
4.3.2. Selecting an MHD Method
4.3.3. Applying an External Magnetic Field
4.3.4. Setting Up Boundary Conditions
4.3.5. Solution Controls
4.4. MHD Solution and Postprocessing
4.4.1. MHD Model Initialization
4.4.2. Iteration
4.4.3. Postprocessing
4.5. Limitations
A. Guidelines For Using the ANSYS Fluent MHD Model
A.1. Installing the MHD Module
A.2. An Overview of Using the MHD Module
B. Definitions of the Magnetic Field
C. External Magnetic Field Data Format
D. MHD Module Text Commands
Bibliography
VI. ANSYS Fluent Population Balance Module
Using This Manual
1. The Contents of This Manual
1. Introduction
1.1. The Discrete Method
1.2. The Inhomogeneous Discrete Method
1.3. The Standard Method of Moments
1.4. The Quadrature Method of Moments
2. Population Balance Model Theory
2.1. The Particle State Vector
2.2. The Population Balance Equation (PBE)
2.2.1. Particle Growth
2.2.2. Particle Birth and Death Due to Breakage and Aggregation
2.2.2.1. Breakage
2.2.2.2. Luo and Lehr Breakage Kernels
2.2.2.3. Ghadiri Breakage Kernels
2.2.2.4. Laakkonen Breakage Kernels
2.2.2.5. Parabolic PDF
2.2.2.6. Generalized PDF
2.2.2.7. Aggregation
2.2.2.8. Luo Aggregation Kernel
2.2.2.9. Free Molecular Aggregation Kernel
2.2.2.10. Turbulent Aggregation Kernel
2.2.3. Particle Birth by Nucleation
2.3. Solution Methods
2.3.1. The Discrete Method and the Inhomogeneous Discrete Method
2.3.1.1. Numerical Method
2.3.1.2. Breakage Formulations for the Discrete Method
2.3.2. The Standard Method of Moments (SMM)
2.3.2.1. Numerical Method
2.3.3. The Quadrature Method of Moments (QMOM)
2.3.3.1. Numerical Method
2.3.4. The Direct Quadrature Method of Moments (DQMOM)
2.3.4.1. Numerical Method
2.4. Population Balance Statistics
2.4.1. Reconstructing the Particle Size Distribution from Moments
2.4.2. The Log-Normal Distribution
3. Using the ANSYS Fluent Population Balance Model
3.1. Population Balance Module Installation
3.2. Loading the Population Balance Module
3.3. Population Balance Model Setup
3.3.1. Enabling the Population Balance Model
3.3.1.1. Generated DQMOM Values
3.3.2. Defining Population Balance Boundary Conditions
3.3.2.1. Initializing Bin Fractions With a Log-Normal Distribution
3.3.3. Specifying Population Balance Solution Controls
3.3.4. Coupling With Fluid Dynamics
3.3.5. Specifying Interphase Mass Transfer Due to Nucleation and Growth
4. Postprocessing for the Population Balance Model
4.1. Population Balance Solution Variables
4.2. Reporting Derived Population Balance Variables
4.2.1. Computing Moments
4.2.2. Displaying a Number Density Function
5. UDFs for Population Balance Modeling
5.1. Population Balance Variables
5.2. Population Balance DEFINE Macros
5.2.1. DEFINE_PB_BREAK_UP_RATE_FREQ
5.2.1.1. Usage
5.2.1.2. Example
5.2.2. DEFINE_PB_BREAK_UP_RATE_PDF
5.2.2.1. Usage
5.2.2.2. Example
5.2.3. DEFINE_PB_COALESCENCE_RATE
5.2.3.1. Usage
5.2.3.2. Example
5.2.4. DEFINE_PB_NUCLEATION_RATE
5.2.4.1. Usage
5.2.4.2. Example
5.2.5. DEFINE_PB_GROWTH_RATE
5.2.5.1. Usage
5.2.5.2. Example
5.3. Hooking a Population Balance UDF to ANSYS Fluent
A. DEFINE_HET_RXN_RATE Macro
A.1. Description
A.2. Usage
A.3. Example
A.4. Hooking a Heterogeneous Reaction Rate UDF to ANSYS Fluent
Bibliography

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