|
[Sponsors] |
February 17, 2021, 12:51 |
Simplifying equation help
|
#1 |
Member
X
Join Date: Jan 2019
Posts: 63
Rep Power: 7 |
Hello.
I need some guidance with writing equations in my header file. I am working on electrohydrodynamic (EHD) solver that uses interFoam+electrostatics elements (http://openfoamwiki.net/index.php/Co...ectromagnetics) As you can see from the above link, the third equation that is the charge conservation equation is written as (the two equations are the same where 1st one is used in the link above and the other one is the same but written using different variables). Screenshot 2021-02-17 174400.png In my header file, I have written Code:
tmp<fvScalarMatrix> ECDEqn ( fvm::ddt(rhoE) - fvc::laplacian(sgm, Ue) + fvm::div(phi, rhoE) ); solve(ECDEqn); where K is equivalent to the previous equation's sigma. I have tried rewriting my header file equation but only this seems to be working. Is it correct? Code:
tmp<fvScalarMatrix> ECDEqn ( fvm::laplacian(sgm, Ue) ); solve(ECDEqn); Can someone guide me on how to write the simplified equation? Many thanks [1] https://iopscience.iop.org/article/1...17/23/1/015004 Last edited by mcfdma; February 18, 2021 at 02:45. |
|
Tags |
ehd, ehdfoam, electrospray |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Solving coupled steady and unsteady equation in OpenFOAM | jd87 | OpenFOAM Running, Solving & CFD | 2 | July 22, 2020 11:36 |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 05:21 |
Some problem of "Qcriterion.mcr& | yuyuxuan | Tecplot | 9 | February 12, 2016 03:27 |
Need help:about energy equation in CFX | Stein | CFX | 4 | July 2, 2009 22:31 |
Diffusion Equation | izardy amiruddin | Main CFD Forum | 2 | July 4, 2002 08:14 |