CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

How to implement equations for simulation of DC current

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By tjliang

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 21, 2015, 16:56
Default How to implement equations for simulation of DC current
  #1
Member
 
Peng Liang
Join Date: Mar 2014
Posts: 59
Rep Power: 12
tjliang is on a distinguished road
Hello Foamers,

I want to simulate the electric potential within a electrode, whose Current is DC mode, 30A,but at the tip the sectional area becomes much smaller.

I have tried setting the gradient of potential at the top to be like -j/sigma. I wonder :

1. which equations to be implemented for calculating potential.

2. which type of boundary condition to be set for potential at the other electrode surface.

Thanks ,

Peng
Andrew_ding likes this.
tjliang is offline   Reply With Quote

Old   April 23, 2015, 03:51
Default
  #2
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
The equation you want to solve is laplace(sigma, phi) = 0.
Then E = - grad(phi) and j = sigma * E.
You can either set the potential as fixedValue boundary condition for phi or specify a current by using a fixed gradient with -j/sigma.
chriss85 is offline   Reply With Quote

Old   October 13, 2022, 22:58
Default Hi Peng, I have the same question. Have you solved this question? really really thank
  #3
New Member
 
Ding Yan
Join Date: Oct 2022
Posts: 10
Rep Power: 3
batteryFoamer is on a distinguished road
Quote:
Originally Posted by tjliang View Post
Hello Foamers,

I want to simulate the electric potential within a electrode, whose Current is DC mode, 30A,but at the tip the sectional area becomes much smaller.

I have tried setting the gradient of potential at the top to be like -j/sigma. I wonder :

1. which equations to be implemented for calculating potential.

2. which type of boundary condition to be set for potential at the other electrode surface.

Thanks ,

Peng
Hi Peng, I have the same question for a long time. Have you solved this question? really really thank you
batteryFoamer is offline   Reply With Quote

Old   October 14, 2022, 00:45
Default
  #4
Member
 
Tatsuya Shimizu
Join Date: Jul 2012
Posts: 42
Rep Power: 13
LongGe is on a distinguished road
Hi All

Does this functionObject "OpenFOAM/OpenFOAM-v2206/src/functionObjects/solvers/electricPotential" not match your requirements?

tutorial: OpenFOAM/OpenFOAM-v2206/tutorials/multiphase/interFoam/RAS/electrostaticDeposition
See: https://www.openfoam.com/documentati...l.html#details
__________________
Our Work: https://www.idaj.co.jp/product/ennovacfd/openfoam_gui/
Powered by Ennova : https://ennova-cfd.com/
Ennova's Channel Partners : http://www.wolfdynamics.com/
LongGe is offline   Reply With Quote

Old   October 14, 2022, 01:20
Default
  #5
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
\nabla \sigma \nabla \phi = 0
As long as the medium has a significantly lower conductivity compared to the electrodes, you can prescribe the electric potential at the electrodes and calculate the resulting current as -\sigma \nabla \phi.
chriss85 is offline   Reply With Quote

Old   October 14, 2022, 03:36
Default steady-state equation
  #6
New Member
 
Ding Yan
Join Date: Oct 2022
Posts: 10
Rep Power: 3
batteryFoamer is on a distinguished road
Quote:
Originally Posted by LongGe View Post
Hi All

Does this functionObject "OpenFOAM/OpenFOAM-v2206/src/functionObjects/solvers/electricPotential" not match your requirements?

tutorial: OpenFOAM/OpenFOAM-v2206/tutorials/multiphase/interFoam/RAS/electrostaticDeposition
See: https://www.openfoam.com/documentati...l.html#details
Hi
this is a steady-state equation. as you know, since the internal resistance, our poisson's equation has a source term which changes with time.and you can refer this paper(Theoretical Analysis of Potential and Current Distributions in Planar Electrodes of Lithium-ion Batteries), so we don't know how to solve the question in the negative and positive electrode.
batteryFoamer is offline   Reply With Quote

Old   October 14, 2022, 03:40
Default reply
  #7
New Member
 
Ding Yan
Join Date: Oct 2022
Posts: 10
Rep Power: 3
batteryFoamer is on a distinguished road
Quote:
Originally Posted by chriss85 View Post
\nabla \sigma \nabla \phi = 0
As long as the medium has a significantly lower conductivity compared to the electrodes, you can prescribe the electric potential at the electrodes and calculate the resulting current as -\sigma \nabla \phi.
Thank you for your help!

but in NTGK model of battery, there is a type of ion current J in the poisson equation. we want to set this model in the OF.
batteryFoamer is offline   Reply With Quote

Old   October 14, 2022, 09:43
Default
  #8
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
The equation I mentioned is only for classical steady-state current without surface charges and with quasi-neutrality. If you have charge distributions you may have to model the charge carrier drift somehow. I'm afraid I can't help with that very much.
chriss85 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
coupled source term in 3 transport equations mhassani OpenFOAM Running, Solving & CFD 1 September 10, 2018 09:35
Favre averaged Navier-Stokes equations help siw Main CFD Forum 3 June 24, 2016 11:26
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
solving only turbulence equations afroz_javed OpenFOAM 1 January 20, 2011 05:25
Euler equations? Jan Ramboer Main CFD Forum 2 August 19, 1999 01:58


All times are GMT -4. The time now is 04:22.