Skip to content

It is described how to simulate current distributions in electrochemical reactors under natural convection flows using OpenFOAM. The process of pre-processing, running, and post-processing a basic 2D case using the developed solver electroNaturalConvectionPimpleFoam and codedMixed boundary condition (BC) is demonstrated.

License

Notifications You must be signed in to change notification settings

ancolli/electrorefiningFoam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

v1.0.0

Cite as: A.N. Colli and J.M. Bisang. Exploring the Impact of Concentration and Temperature Variations on Transient Natural Convection in Metal Electrodeposition: A Finite Volume Method Analysis. J. Electrochem. Soc. 170 (2023) 083505

DOI: https://doi.org/10.1149/1945-7111/acef62

electrorefiningFoam

It is described how to simulate current distributions in electrochemical reactors under natural convection flows using OpenFOAM. The process of pre-processing, running, and post-processing a basic 2D case using the developed solver electroNaturalConvectionPimpleFoam and codedMixed boundary condition (BC) is demonstrated. The proposed strategy is fully functional in OpenFOAM version 7 and OpenFOAM 2312.

Disclaimer

This offering is not approved or endorsed by ESI® Group, ESI-OpenCFD® or the OpenFOAM® Foundation, the producer of the OpenFOAM® software and owner of the OpenFOAM® trademark.

Usage

In applications (A) you will find the scripts to compile the solver and post-processing utilities in order to solve current distribution in natural convection systems. In tutorial (B) you will find an example of a 2D parallel-plate cell.

# A) Applications

1. Solver
A) Paste applications/utilities/solvers/electroNaturalConvectionPimpleFoam inside OpenFOAM user directory (Applications/Utilities/Solvers).
B) Open a terminal inside electroNaturalConvectionPimpleFoam.
C) Run wmake.
2. Total current density
A) Paste applications/utilities/postProcessing/wallFlux inside OpenFOAM user directory (Applications/Utilities/postProcessing).
B) Open a terminal inside wallFlux.
C) Run wmake.
3. Total averaged (over time) current density
A) Paste applications/utilities/postProcessing/potentialWallFluxAverage inside OpenFOAM user directory (Applications/Utilities/postProcessing).
B) Open a terminal inside potentialWallFluxAverage.
C) Run wmake.

# B) Tutorial

1- Paste tutorial inside OpenFOAM user directory (Run/Tutorials).
2- Enter to tutorial and open a Terminal.
3- Modify transport properties (conductivity, kinetic parameters, equilibrium potentials, etc.) inside constant/transportProperties.
4- Modify control properties (kind of electric control, under-over relaxation parameter, maxPot, tolerances) inside constant/controlProperties.
5- Run ./Allrun.

About

It is described how to simulate current distributions in electrochemical reactors under natural convection flows using OpenFOAM. The process of pre-processing, running, and post-processing a basic 2D case using the developed solver electroNaturalConvectionPimpleFoam and codedMixed boundary condition (BC) is demonstrated.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published