Extend-bazaar/template

From OpenFOAMWiki
< Extend-bazaar
Revision as of 23:27, 22 September 2019 by Bkashi2 (Talk | contribs)

This template is only a suggestion aimed at saving your time. Please feel free to use any other format on the subpage for your contribution!

Click "Edit" to access and copy the page code.

1 Description

This code solves the continuity and momentum equations along with the transport equations for cations and anions and the Poisson equation. The electrostatic equations are coupled to the fluid flow equations through the convective terms in ionic transport equations. The ionic transport equations are coupled to each other through the electrostatic Poisson equation. This solver is written to address the internal electrohydrodynamic flow. However, since this code is developed from the InterFOAM solver, it can easily be used for the external electrohydrodynamic flow and can also address the multiphase flow.

The fixed gradient boundary condition library in OpenFOAM is modified to create a customized gradient boundary condition for the ions that can be updated in each iteration. This boundary conditions accounts for the flux of counter-ions at the electrode surface due to the faradaic reactions.

2 Installation

Download from https://www.dropbox.com/sh/p45ax8p4qvgbsyu/AABJt38xa5ghHRvOLorv5WU_a?dl=0


Then compile by running:

cd EHDIonFOAM/
./wmake

3 Usage examples

To use this code, insert into controlDict:

functions
{
....(insert the necessary options here)...
}

4 Documentation

This implementation is based on publication by Kashir et al (2019).

5 History

22 Sep 2019: First upload