The following describes an overview of the procedure required in order to use the SOFC With Unresolved Electrolyte Model in ANSYS Fluent.
Start ANSYS Fluent.
You must start ANSYS Fluent in 3D double-precision mode. Note that the SOFC With Unresolved Electrolyte Model is only available in 3D.
Read the case file.
File → Read → Case...
Scale the mesh.
Setup →
General → Scale...
Define various model parameters for the simulation.
Check the solver settings.
Setup →
General
In the Solver group box, enable Pressure Based under Type.
Enable Steady under Time.
Enable Absolute under Velocity Formulation.
In the Energy dialog box, enable the Energy option (if it is not already enabled).
Setup → Models → Energy
ON
In the Viscous Model dialog box, enable the Laminar option (if it is not already enabled).
Setup → Models → Viscous
Edit...
In the Species Model dialog box, configure the following settings:
Setup → Models → Species
Edit...
Enable the Species Transport option.
Enable the Volumetric option under Reactions (see Enabling Species Transport and Reactions and Choosing the Mixture Material in the Fluent User's Guide for details).
From the Mixture Material drop-down
list, select an appropriate mixture material or create your own mixture
material from mixture-template as described in Enabling Species Transport and Reactions and Choosing the Mixture
Material in the Fluent User's Guide. If you consider H2/CO electrochemistry,
ensure that your mixture material include H2, CO and CO2.
Disable the Inlet Diffusion option under Options (see Diffusion at Inlets in the Fluent Theory Guide).
Enable the Diffusion Energy Source option under Options (see Treatment of Species Transport in the Energy Equation in the Fluent Theory Guide).
Enable the Full Multicomponent Diffusion option under Options (see Mass Diffusion in Laminar Flows in the Fluent Theory Guide).
Enable the Thermal Diffusion option under Options (see Mass Diffusion in Laminar Flows in the Fluent Theory Guide).
Enable the SOFC Model model and set the parameters for the SOFC with unresolved electrolyte model:
Setup → Models → SOFC Model (Unresolved Electrolyte)
Edit...

In the Model Parameters tab,
set the Current Under-Relaxation Factor to a
value of either 0.3 or 0.4.
Under Model Options, select the appropriate SOFC model options.
Set the Electrical and Electrolyte Parameters according to your problem specification.
Select the Enable Surface Energy Source option, the Enable Species Sources option, and the Disable CO Electrochemistry option.
If the electrolyte resistivity changes as a function of temperature, then turn on the Enable Electrolyte Conductivity Submodel
Table 6.1: User-Defined Memory Allocations
UDM-0
| Interface
Current Density ( |
UDM-1 | Nernst Potential (Volts) |
UDM-2 | Activation Overpotentail (Volts) |
UDM-3 | Volumetric Ohmic
Source ( |
UDM-4 | x Component
of the Current Density ( |
UDM-5 | y Component
of the Current Density ( |
UDM-6 | z Component
of the Current Density ( |
UDM-7 | Electrolyte Voltage Jump |
UDM-8 | Electrolyte Resistivity (Ohm-m) |
UDM-9 | Effective Electric Resistance |
UDM-10 | Anode Activation |
UDM-11 | Cathode Activation |
UDM-12 | Electrochemical
Source ( |
UDM-13 | Magnitude
of Current Density ( |
Note that UDM-7 and UDM-8 are the linearized values that ANSYS Fluent uses to solve the potential
field and electrochemical coupling. They are necessary to the calculations
but do not contain any real physical meaning.
Note that UDM-10 and UDM-11 contain the
disaggregated activation polarizations at the anode and cathode.
In the Electrochemistry tab, set the electrochemistry parameters.

Enter values for the Constant Exchange Current
Densities for the anode and the cathode. These are the values in the Butler-Volmer equation (Equation 5–17) for the anodic and cathodic reactions. By
default, the Anode Exchange Current Density is
set to
1000 Amps and the Cathode
Exchange Current Density is set to 100 Amps.
Enter values for the Mole Fraction Reference Values.
These are the species concentrations
at which the exchange current densities were taken (Equation 5–18-Equation 5–20). These are
used to adjust the values of reactant species that are depleted. By
default, the H2 Reference Value is set to
0.8 moles/moles, the 02 Reference Value is set to 0.21 moles/moles, and the H2O Reference Value is set to 0.2 moles/moles.
Enter values for the Stoichiometric Exponents by setting values for the H2 Exponent, the H20 Exponent, and the O2 Exponent (defaulted to 0.5). These are the stoichiometric
factors in the electrochemical reaction equation. They are used as
exponents as part of the scaling (Equation 5–19 and Equation 5–20.
Enter values for the Butler-Volmer Transfer
Coefficients by setting values for the Anodic
Transfer Coefficient ( in Equation 5–17) and the Cathode Transfer Coefficient (
in Equation 5–17) for both the anode reaction and the cathode
reaction (defaulted to
0.5). These are the
alpha values in the Butler-Volmer equation (Equation 5–17). They represent the forward and backward rates of reaction at
both the anode and cathode.
Enter values for the Temperature Dependent
Exchange Current Density by turning on the Enable
Temperature Dependent I_0 option and setting values for A and B (Equation 6–3). These two coefficients allow the for the cathode to vary as a function of
temperature.
In the Electrode and Tortuosity tab, set the anode and cathode interface components and set the tortuosity parameters for the SOFC With Unresolved Electrolyte Model.

Under Anode Electrolyte, select a zone in the Zone(s) list and enable Anode Interface if it is applicable.
Do the same for Cathode Electrolyte and Tortuosity Zone.
In the Electric Field tab, set the parameters for the electric field model.

Select up to 5 conductive regions.
Select up to 3 contact surfaces.
Select a voltage tap surface.
Select a current tap surface.
Define material properties.
Create or re-define new solid materials as appropriate for the anode, the cathode, and the electrolyte according to your problem specification.
Important: Note that although the ANSYS Fluent SOFC With Unresolved Electrolyte Model does support the shell conduction model that you use to take into account the transversal conductive heat inside the electrolyte material, it does not currently support a similarly transversal conduction of electric current inside the electrolyte.
Edit the mixture-template mixture material.
Setup →
Materials → Create/Edit...
In the Create/Edit Materials dialog box, click Fluent Database... to open the Fluent Database Materials dialog box.
In the Fluent Database Materials dialog box, make a copy of the h2 fluid material.
In the Create/Edit Materials dialog
box, change the Material Type to mixture and click Edit... for the Mixture Species.
In the Species dialog box, arrange the materials under Selected Species in the following order: h2o, o2, h2, and n2. (The species ordering is not important as long as n2 is the last species.)
In the Create/Edit Materials dialog box, change the Thermal Conductivity and the Viscosity to ideal-gas-mixing-law.
Change the Mass Diffusivity to user-defined and select diffusivity::sofc as the corresponding user-defined function.
Change the UDS Diffusivity to user-defined and select E_Conductivity::sofc as the corresponding user-defined function.
Retain the default values for the other parameters and click Change/Create.
Set the operating conditions.
Setup →
Boundary Conditions → Operating Conditions...
Retain the default values.
Set the boundary conditions.
Setup →
Boundary Conditions
Define the conditions at the anode, the cathode, the interface between the anode and current collector, the interface between the cathode and the current collector, the anode inlet, and the cathode inlet boundaries according to your problem specification.
Note that sources only need to be hooked to the mass, species, and energy equation in a single fluid zone in order for the ANSYS Fluent SOFC With Unresolved Electrolyte Model to function properly (but can be hooked to all zones if you so choose). ANSYS Fluent does not rely on cell or thread referencing in the sources in order to cover the solution domain.
Set the multigrid control parameters.
Solution → Controls
Advanced...
In the Multigrid tab of the Advanced Solution Controls dialog box, set the cycle type for h2, h2o, and o2 to V-cycle. For serial calculations, set the cycle type for Energy and User-defined Scalar-0 to W-cycle or F-cycle. For parallel calculations, select the F-cycle option for both.
Set the Max Cycles to 50.
Retain the default values for the rest of the parameters.
Define the convergence criteria.
Solution → Monitors → Residuals
Edit...
In the Residual Monitors dialog
box, set the Convergence Criterion for all equations
to 1e-08.
Initialize the flow field.
Solution →
Initialization → Initialize
Retain the default values for all parameters.
The current density in UDM-0 is a conservative
flux of electricity (). Performing an area
integral over the electrolyte surface will sum to the total current
(
). That value is computed at the electrolyte faces
during the electric field solution. The values in
UDM-4 through UDM-6 contain cell-centered values
of the current density vector. These are not, and cannot be, conservative,
so depending on the material conductivity and the geometric configuration,
these can sometimes unavoidably produce values that do not match the
UDM values. The same issues exist when interpolating velocity values
to obtain the mass fluxes.
Note that, by default, the ANSYS Fluent SOFC With Unresolved Electrolyte Model defines a single user-defined scalar:
Note:
For field variables that are stored in UDM, use the corresponding variables for post processing. Postprocessing the UDM itself is not recommended.
For reviewing simulation results in CFD Post for cases involving UDM or UDS, export the solution data as CFD-Post-compatible file (.cdat) in Fluent and then load this file into CFD-Post.