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

EHDFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree23Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 28, 2019, 01:37
Default
  #41
Member
 
Join Date: Apr 2019
Location: India
Posts: 81
Rep Power: 7
Pavithra is on a distinguished road
Hello Everyone,

I am new to OpenFoam.

Based on the solver posted in this thread, I have combined electrical equations with buoyantBoussinesqPimpleFoam.

My intention is to have a solver for single phase EHD flow. I am able to compile the solver successfully.

Could some one please suggest me a good benchmark case to validate the solver.

Thank You.

With Thanks.
Pavithra.

Last edited by Pavithra; June 28, 2019 at 01:38. Reason: adjust spacing
Pavithra is offline   Reply With Quote

Old   June 28, 2019, 10:39
Default
  #42
New Member
 
Nicolao
Join Date: Jul 2012
Location: São Paulo, Brazil
Posts: 13
Rep Power: 14
Nicolao is on a distinguished road
Dear Pavithra,

I guess you probably already seen this paper (from Herrera),

http://gfs.sourceforge.net/papers/ehd.pdf

but in there they show several validation cases for each equation of the leaky dielectric model (for EHD flows). Of course they use a two-phase approach, but for the Poisson and the charge conservation equations you can use the same cases they used there.


"My intention is to have a solver for single phase EHD flow"

Now, specifically for your case I guess you already have something in mind. =)

Cheers
Pavithra likes this.
Nicolao is offline   Reply With Quote

Old   June 28, 2019, 10:47
Default
  #43
New Member
 
Nicolao
Join Date: Jul 2012
Location: São Paulo, Brazil
Posts: 13
Rep Power: 14
Nicolao is on a distinguished road
Quote:
Originally Posted by Pavithra View Post
Hello Everyone,

I am new to OpenFoam.

Based on the solver posted in this thread, I have combined electrical equations with buoyantBoussinesqPimpleFoam.

My intention is to have a solver for single phase EHD flow. I am able to compile the solver successfully.

Could some one please suggest me a good benchmark case to validate the solver.

Thank You.

With Thanks.
Pavithra.

In the work of Roghair you can also see some validation tests. I'm not quite sure, but I guess those are similar to the ones used by Herrera. He also included some MultiRegion validation that he used specifically for his work.

https://link.springer.com/article/10...404-015-1581-5
Pavithra likes this.
Nicolao is offline   Reply With Quote

Old   June 29, 2019, 01:12
Default
  #44
Member
 
Join Date: Apr 2019
Location: India
Posts: 81
Rep Power: 7
Pavithra is on a distinguished road
Quote:
Originally Posted by Nicolao View Post
In the work of Roghair you can also see some validation tests. I'm not quite sure, but I guess those are similar to the ones used by Herrera. He also included some MultiRegion validation that he used specifically for his work.

https://link.springer.com/article/10...404-015-1581-5

Dear Sir,

Thank you so much for your kind reply. I will read the research papers which you have shared.

https://www.sciencedirect.com/scienc...04388615000030

I have tried to validate the solver with respect to the above article.

I am trying to replicate the velocity profile presented in Fig 7 of the above paper.

I am able to see electroconvection of charge. I am able to obtain a velocity profile of the same shape. But, the magnitude is 10^-10 smaller.

One possible reason might be some mistake in non-dimensional parameters. I have cross-checked it several times.

I am stuck at this point.

Thank You.

With Thanks,
Pavithra.
Pavithra is offline   Reply With Quote

Old   September 22, 2019, 09:53
Smile
  #45
New Member
 
Golden
Join Date: Sep 2019
Posts: 4
Rep Power: 7
CloudBird is on a distinguished road
Quote:
Originally Posted by Ivooo View Post
If I recall correctly, I have used the funkySetFields in order to init a Gaussian charge bump. Perhaps that's where you are stuck?

Anyway, perhaps it is coincidence but today I received notification that our article on interFoamEHD including multi-region is available online. That means I can also upload the code and validation cases I have used.

I am currently digging through the files (I want the package with solvers, utilities, scripts and cases to be clean and tested once more). I will get back to this soon.

Dear Ivo,



I am so excited to know that you once prepared to share your code and your cases. I am doing some work with two phase electrohydrodynamics with VOF model recently but I met some problems. I try to download the code but it seems that the URL is now unavailable. Would you mind to upload your code again in other ways?

I'll be very grateful for any reply from you.


Best regards,


Golden
CloudBird is offline   Reply With Quote

Old   September 23, 2019, 02:23
Default
  #46
Member
 
Join Date: Apr 2019
Location: India
Posts: 81
Rep Power: 7
Pavithra is on a distinguished road
Quote:
Originally Posted by CloudBird View Post
Dear Ivo,



I am so excited to know that you once prepared to share your code and your cases. I am doing some work with two phase electrohydrodynamics with VOF model recently but I met some problems. I try to download the code but it seems that the URL is now unavailable. Would you mind to upload your code again in other ways?

I'll be very grateful for any reply from you.


Best regards,


Golden

Hi Cloud Bird,



Please find the files of InterEHDFoam attached, herewith.
Attached Files
File Type: gz interEHDFoam-master.tar.gz (20.7 KB, 129 views)
Pavithra is offline   Reply With Quote

Old   October 22, 2019, 10:04
Default water impact surface under electrical field
  #47
New Member
 
XinZhou
Join Date: Apr 2018
Posts: 11
Rep Power: 8
XinXin is on a distinguished road
Hello,everyone. I am simulating a water droplet impact surface under electrical field based on the interFoamEHD solver which designed by ivook.My model is 2D-Axisymmetric. I find that the charge density distribution is weird, there is some charge appearing above the droplet along the axis. I am puzzled by this problem. The charge density distribution is related to the velocity Magnitude.

I think the charge conversation equation is calculated for all computation field,both water and air in the interFoam solver. However, for water, it will get polarized and ohmic migration of charged ions. For air,it can be regarded as a perfect dielectric, there is no charge convection. I think we should use different physical model for water and air. But can it be realized in interfoam. I am comfused by the interfoam solver. How does this sovler distinguish the phase1 and phase2? I am reading the twoPhaseMixture.H, incompressibleTwoPhaseMiture.H ,but still get stuck.Could you please give me some advices?
charge distribution 2.png

charge distribution.png

equation.jpg
XinXin is offline   Reply With Quote

Old   January 8, 2020, 14:37
Default
  #48
Member
 
X
Join Date: Jan 2019
Posts: 63
Rep Power: 7
mcfdma is on a distinguished road
Hello,

Firstly, thank you for the solver. I am trying to update the solver on OF6. However, the droplet breakup is significantly different to the original solver.

I have uploaded my solver on Google Drive due to exceeding file size [1]. Could someone point out where exactly am I going wrong in terms of modifying my solver.

I have attached the screenshot for the last time step with OF231 and OF6.

OF231
last_OF231.png

OF6
last_OF6.jpg

[1] https://drive.google.com/open?id=1Jd...KiYCL0Wc3JHxyi
mcfdma is offline   Reply With Quote

Old   February 23, 2020, 18:11
Default intermhdfoam vs interehdfoam for lorentz force in arc welding scenarios
  #49
Member
 
Thomas Flint
Join Date: Jan 2016
Posts: 60
Rep Power: 10
tom_flint2012 is on a distinguished road
Hi All,


Thanks for sharing the code. I hope this is an appropriate thread to ask my questions as they are a bit more general than the electrohydrodynamics solver discussed here, and I think its more of a magnetohydrodynamics question really, but I was wondering if this thread was relevant to my problem.



Basically I currently have a VOF solver fro simulating multi-component metallic melting and vapourisation, with energy equations, source terms in the NS equations for solidification etc. I use this to simulate power beam welding applications and arc welding applications, but I would really like to incorporate the electric charge transport and magnetic effects to look at the effect of the Lorentz force on the molten pool behaviour.



I have a mhd + interfoam solver that I constructed based on this work:


https://www.researchgate.net/publica...etallic_liquid





As I understand it I could either use an mhd approach or an ehd approach, and I was wondering if people had any thoughts on which may be appropriate. Are the source terms in the NS equations in the interehdfoam solver equivalent to the JxB lorentz force term in the mhd (and my intermhdfoam solver)??



But I would like to be able to apply a alternating electric potential as a boundary condition. Would you guys have any pointers on the best way for me to progress? I could work out the time varying B field using Amperes law based on an alternating current density (I think), and put this as my B boundary condition in my mhd+interfoam solver. But I thought I'd try and get some advice from people more experienced than me before I go down this route to try and save myself some time in the long run.


Thanks in advance for any advice you guys can offer. I'm very grateful.


All the best,


Tom
tom_flint2012 is offline   Reply With Quote

Old   November 18, 2020, 07:52
Default Updated link to source
  #50
New Member
 
Ivo
Join Date: Feb 2012
Posts: 26
Rep Power: 14
Ivooo is on a distinguished road
I shared my code a while back, but the link seems to stop working every now and then. So I did what I should have done a long time ago, create a github repository. You can find it here (but still based on OF2.1.1): https://github.com/iroghair/openFoamEHD

Although I am not focussing my research on EHD specifically at this time, I welcome pull/merge requests; a few people in this thread already took the source and updated it, I would be happy to update any updates or other changes to help other users.
Nicolao and LiedtkeJ like this.
Ivooo is offline   Reply With Quote

Old   November 18, 2020, 08:05
Default
  #51
New Member
 
Nicolao
Join Date: Jul 2012
Location: São Paulo, Brazil
Posts: 13
Rep Power: 14
Nicolao is on a distinguished road
Quote:
Originally Posted by Ivooo View Post
I shared my code a while back, but the link seems to stop working every now and then. So I did what I should have done a long time ago, create a github repository. You can find it here (but still based on OF2.1.1): https://github.com/iroghair/openFoamEHD

Although I am not focussing my research on EHD specifically at this time, I welcome pull/merge requests; a few people in this thread already took the source and updated it, I would be happy to update any updates or other changes to help other users.

Hello Ivo, how are?
Just making an observation here:
I've worked a lot with your solver and with some adaptations I've made to it. I can surely affirm here, that it can be easily compiled/adapted to any other version of OpenFOAM. I've compiled it on the most recent versions as a test, and it works just fine.

I'm glad you added a github repository.
Cheers to all
Nicolao is offline   Reply With Quote

Old   January 7, 2021, 13:20
Default
  #52
New Member
 
Join Date: Jan 2021
Location: Italy
Posts: 1
Rep Power: 0
Marco Trofa is on a distinguished road
Hi Nicolao,

could you please share your adapted most updated version of openFoamEHD?
It would be very usefull to compare the results with the original version.

Thanks
Marco Trofa is offline   Reply With Quote

Old   January 7, 2021, 14:51
Default Solver OF1812
  #53
New Member
 
Nicolao
Join Date: Jul 2012
Location: São Paulo, Brazil
Posts: 13
Rep Power: 14
Nicolao is on a distinguished road
Quote:
Originally Posted by Marco Trofa View Post
Hi Nicolao,

could you please share your adapted most updated version of openFoamEHD?
It would be very usefull to compare the results with the original version.

Thanks

Hi Marco,

the last version of OpenFOAM I've tested was the OF1812

I attached here this adapted version. I haven't checked the numerical results, but qualitatively it seemed alright for me.

Hope it works well with you.

Cheers
Attached Files
File Type: zip of1812.zip (15.8 KB, 107 views)
Marco Trofa likes this.
Nicolao is offline   Reply With Quote

Old   February 27, 2021, 19:30
Default
  #54
New Member
 
Join Date: Feb 2021
Posts: 3
Rep Power: 5
res23 is on a distinguished road
Hey Nicolao, many thanks for providing your updated version of the EHD solver.

When I try to compile the solver, I get a few errors that seem to be related to CorrectPhi.H. I'm very new with openFoam so I'm not sure what I'm doing wrong eactly. I would appreciate if you could provide any help.


Thanks!
res23 is offline   Reply With Quote

Old   March 1, 2021, 20:51
Default
  #55
New Member
 
Nicolao
Join Date: Jul 2012
Location: São Paulo, Brazil
Posts: 13
Rep Power: 14
Nicolao is on a distinguished road
Quote:
Originally Posted by res23 View Post
Hey Nicolao, many thanks for providing your updated version of the EHD solver.

When I try to compile the solver, I get a few errors that seem to be related to CorrectPhi.H. I'm very new with openFoam so I'm not sure what I'm doing wrong eactly. I would appreciate if you could provide any help.


Thanks!
Hello Res,

can you share the error message and tell me what version of OpenFOAM are you trying to compile it?

Best
Nicolao is offline   Reply With Quote

Old   March 2, 2021, 08:27
Default
  #56
New Member
 
Join Date: Feb 2021
Posts: 3
Rep Power: 5
res23 is on a distinguished road
Hey Nicolao,

I managed to solve the problem, thanks for offering help though!

I was wondering if you have by any chance any cases that I could use to test my solver. I tried using the original cases provided by Ivooo but they don't seem to be working.

I am using OpenFOAM 1812 and using the files you attached in a previous post here (of1812.zip).

Many thanks!
res23 is offline   Reply With Quote

Old   April 13, 2021, 16:10
Default EHD test case
  #57
New Member
 
Nicolao
Join Date: Jul 2012
Location: São Paulo, Brazil
Posts: 13
Rep Power: 14
Nicolao is on a distinguished road
Quote:
Originally Posted by res23 View Post
Hey Nicolao,

I managed to solve the problem, thanks for offering help though!

I was wondering if you have by any chance any cases that I could use to test my solver. I tried using the original cases provided by Ivooo but they don't seem to be working.

I am using OpenFOAM 1812 and using the files you attached in a previous post here (of1812.zip).

Many thanks!
Hi res23, how are you?
Sorry for the late response. Things are kinda crazy around here...

I am attaching here a case that I think it can work for you (or anyone else interested). Its an axisymmetric droplet subjected to an electric field - the classic case that you can find on my paper:

https://www.sciencedirect.com/scienc...77025714001426


I am not sure thou about what kind of conditions I used here, but you can use any other condition you like that the case will probably work just fine.

Hope it helps you out.

Cheers
Attached Files
File Type: zip EHDDropletAxi.zip (23.1 KB, 81 views)
Nicolao is offline   Reply With Quote

Old   May 21, 2021, 08:31
Default
  #58
YHP
New Member
 
Haipeng Yang
Join Date: May 2021
Posts: 2
Rep Power: 0
YHP is on a distinguished road
Quote:
Originally Posted by Nicolao View Post
Hi Marco,

the last version of OpenFOAM I've tested was the OF1812

I attached here this adapted version. I haven't checked the numerical results, but qualitatively it seemed alright for me.

Hope it works well with you.

Cheers
Thank you very much for sharing. I successfully compiled your solver, but when I verified the droplet deformation in the electric field, I could only observe the long deformation of the droplet. I hope you can answer my question.
YHP is offline   Reply With Quote

Old   May 9, 2022, 14:25
Default EHD foam latest version
  #59
New Member
 
ghanashyam k c
Join Date: May 2022
Posts: 8
Rep Power: 4
gsam is on a distinguished road
If someone has the latest version of this solver could you upload it here? It will be much helpful for me... I'm kind of in an urgency
gsam is offline   Reply With Quote

Old   August 3, 2022, 00:50
Default interFoamEHDMR prolem
  #60
New Member
 
chi thuc
Join Date: Jun 2022
Posts: 3
Rep Power: 4
chi thuc is on a distinguished road
Hi Ivoo and you guys, Thank for your upload file code on GitHub. Im totally newbie in CFD, I download interFoamEHD and interFoamEHDMR solver one month ago to try simulate some cases like paper of Ivoo. I complied both of solvers without prolems and can simulate the cases related to interFoamEHD solver. ' I use OpenFoam2.1.1, Ubuntu18.04.5, Window 10 '
However, i facing prolem like this,
1. When i try run solver inteFoamEHDMR for case case ' dielectric-dielectric_Multiregion ' . The error ' can not upload groovyBC ' and ' can not upload libcoxvoinov.so ' appeared on terminal. So how can I fix this prolem

2. I try to run blockMesh of case ' dielectric-dielectric_Multiregion ', but in the polymesh folder have two diffrent file blockMeshDict and blockMeshDict.bak with different geometry. So, how can I run blockMesh to get full geometry multi region solid-fluid-fluid like paper.

I hope will receive your help soon. I really appreciate for you help. Thank you guys so much.
chi thuc 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



All times are GMT -4. The time now is 14:02.