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

Phase Field modeling in OpenFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree13Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 23, 2014, 10:50
Default
  #21
Member
 
Anil Kunwar
Join Date: Jun 2013
Posts: 64
Rep Power: 11
Annier is an unknown quantity at this point
Hi Sebastian,
I recently came across this literature http://math.arizona.edu/~meissen/doc...interfaces.pdf to learn that Allen-Cahn and Cahn-Hilliard equations are the canonical forms of reaction-diffusion systems. Apart from bubble evolution in molten metals(250 degree centigrade); I am also interested in how a bubble prevents the growth of Intermetallic Compounds for solid Cu/Sn/Cu joint (150 degree centigrade). The main thing is : "At working temperature of 150 degree centigrade, i just have solids. I want to know whether this exclusively implements (1) phase field model (PFM) (2) Some other solid mechanics solver".

Yours
Anil Kunwar

Last edited by Annier; December 30, 2014 at 10:54.
Annier is offline   Reply With Quote

Old   December 23, 2014, 11:02
Default
  #22
Member
 
Join Date: Aug 2012
Posts: 33
Rep Power: 13
gigilentini8 is on a distinguished road
Quote:
Originally Posted by nero235 View Post
Anil,

you don't need the C-H model for your purpose. The normal VOF model can simulate the agglomeration of the bubbles also.

Regards
I agree, of course.
unless you want to model phase separation or bubbles that, depending on the thermodynamic condition, have mixed miscibile/immiscible behavior (not usually the case in normal conditions)
gigilentini8 is offline   Reply With Quote

Old   December 23, 2014, 11:25
Default
  #23
Member
 
Sebastian W.
Join Date: Nov 2012
Location: Saxony, Germany
Posts: 43
Rep Power: 13
nero235 is on a distinguished road
Send a message via ICQ to nero235
Anil,

the biggest problem will be to find a solver which can handle this kind of complex physics. You need a multiphase solver (> 2 phases) which can handle energy transport and phase change! There's no official solver in OF from what I know. And you probably won't find an unofficial one also.

Clearly the solver I am working on is not suitable for that since it is based on interFoam, which is limited to 2 phases.

I suggest you start looking for a solidification solver which includes phase change an energy transport. This would be more suitable for your case.

Hope this helps. Regards, Sebastian
Annier likes this.
nero235 is offline   Reply With Quote

Old   January 31, 2015, 01:58
Default
  #24
New Member
 
Andrew Smith
Join Date: Jan 2015
Location: North Dakota
Posts: 24
Rep Power: 11
Andrew_Sm is on a distinguished road
Quote:
Originally Posted by nero235 View Post
Hello Anil,

the VOF or EULER methods have a different background. These methods differ in the treatment of the whole multiphase system. The VOF method uses an additional equation (alpha = phase fraction) apart from 1 set of navier stokes equations for all phases to distinguish between multiple phases whereas the EULER method uses 3N navier stokes equations for N phases. However neither can be used to simulate phase separation because the diffusion mechanisms in the navier stokes and alpha eqn are missing.

The Cahn Hilliard model doesn't replace the alpha eqn of the VOF model. It just adds a diffusion term to the alpha eqn and replaces the CSF (continuum surface force) model in the navier stokes eqn, since diffusion is a primary transport mechanism during the phase separation.

Are you familiar with OF programming? I am asking because I am not done with that solver. I would like to release a version which works

Kind regards, Sebastian
Sebastian,

Have you released any information in conference/paper? Please provide the citation link

Thanx
Andrew_Sm is offline   Reply With Quote

Old   January 31, 2015, 06:01
Default
  #25
Member
 
Sebastian W.
Join Date: Nov 2012
Location: Saxony, Germany
Posts: 43
Rep Power: 13
nero235 is on a distinguished road
Send a message via ICQ to nero235
Hey Andrew,

no, I have not released any paper yet. Are you interested in the CH solver?

Regards, Sebastian
nero235 is offline   Reply With Quote

Old   November 22, 2015, 15:50
Post Cahn_Hilliard solver
  #26
New Member
 
Maher Jallad
Join Date: Nov 2015
Posts: 1
Rep Power: 0
mjallad is on a distinguished road
Dear nero235,

Im interested in the solver of the cahn-hilliard equation, since im working on a final year project to dimonstrate the equation in openfoam, how can I get the solver to try it?

Thank you in advance,
Maher
mjallad is offline   Reply With Quote

Old   February 15, 2016, 01:46
Default
  #27
New Member
 
Joe Peterson
Join Date: Feb 2016
Location: Santa Barbara, CA, USA
Posts: 2
Rep Power: 0
jdpeterson3 is on a distinguished road
nero235,

I am interested to hear how your experience with the Cahn Hilliard model in OpenFOAM concluded. Were you able to formulate a stable model, and if so, how did you treat the fourth order terms?

Thanks,

Joe
jdpeterson3 is offline   Reply With Quote

Old   February 15, 2016, 04:23
Default
  #28
Member
 
Sebastian W.
Join Date: Nov 2012
Location: Saxony, Germany
Posts: 43
Rep Power: 13
nero235 is on a distinguished road
Send a message via ICQ to nero235
Quote:
Originally Posted by jdpeterson3 View Post
nero235,

I am interested to hear how your experience with the Cahn Hilliard model in OpenFOAM concluded. Were you able to formulate a stable model, and if so, how did you treat the fourth order terms?

Thanks,

Joe
Hey Joe,

I haven't done much on this topic lately since I had to work on another problem first. I have been in contact with Holger Marschall though who is developing another solver for the Cahn-Hilliard model in OF. He has much more experience in this field and therefore I am waiting for his release of the solver, which should be soon.

However there is a solver from A. Donaldson which was written for an old OF version. I've begun porting it to a 2.2 version. Check out the git repo for that: https://github.com/11101011.

Regards, Sebastian
winsway likes this.
nero235 is offline   Reply With Quote

Old   June 22, 2016, 14:21
Default
  #29
New Member
 
fluidflow
Join Date: Dec 2015
Posts: 5
Rep Power: 10
ARUNAVA SENGUPTA is on a distinguished road
Hi Sebastian,

I got the phaseFieldFoam code from the link (https://github.com/11101011). While trying to compile the original code in the OpenFoam version 30, i am getting a lot of errors. can you help me out rectifying those errors or do you have the latest version of the code for the OpenFOAM version 30 ?

regards
ARUNAVA SENGUPTA is offline   Reply With Quote

Old   September 10, 2018, 05:28
Default phase field confusion
  #30
New Member
 
Qi Xueyu
Join Date: Mar 2018
Posts: 7
Rep Power: 8
winsway is on a distinguished road
i have some confusion with phase field and hope you solve my confusion.I don't know whether phase field is suitable for the calculation and simulation of multi-phase turbulence. Most of the literature is VOF and level set. I hope you can provide some help~
winsway is offline   Reply With Quote

Old   January 9, 2019, 11:12
Default
  #31
New Member
 
Enrico Segre
Join Date: Nov 2018
Posts: 8
Rep Power: 8
Enrico Segre is on a distinguished road
FWIW, I managed to compile Sebastian's port of Adam Donaldson's code with openFoam 6, blindly adapting a few lines. The fork is here. Adam's most relevant paper describing the code is probably this one, btw.
With that I won't say that I'm sure that the computation is correct, only that the code seems to run plausibly. For the cases I'm currently interested into, i.e. microfluidics, it may be not the right approach. At the sizes of my system, surface tension sigma and contact angle theta seem to have no effect. Maybe my port missed something, maybe it's a limitation of the modelling. There are another couple of research codes out there which I still want to try, before resigning to VOF. Feedback appreciated!




Last edited by Enrico Segre; January 10, 2019 at 03:14.
Enrico Segre is offline   Reply With Quote

Old   July 11, 2019, 03:22
Default
  #32
New Member
 
WANG MENG SHU
Join Date: Jul 2019
Posts: 3
Rep Power: 6
fallwind is on a distinguished road
Quote:
Originally Posted by nero235 View Post
Hey Joe,

I haven't done much on this topic lately since I had to work on another problem first. I have been in contact with Holger Marschall though who is developing another solver for the Cahn-Hilliard model in OF. He has much more experience in this field and therefore I am waiting for his release of the solver, which should be soon.

However there is a solver from A. Donaldson which was written for an old OF version. I've begun porting it to a 2.2 version. Check out the git repo for that: https://github.com/11101011.

Regards, Sebastian
Hi Sebastian,
i'm also interested in Holger Marschall's solver, have you got it?
fallwind is offline   Reply With Quote

Old   August 6, 2020, 05:21
Default Computational modelling using Phase Filed method in OpenFOAM
  #33
New Member
 
Azad
Join Date: Nov 2019
Posts: 6
Rep Power: 6
azad_786 is on a distinguished road
Hello All,
Has anyone developed a solver using phase field method to solve C-H equation and diffusion equation for solidification of a binary alloy?
Thanks
azad_786 is offline   Reply With Quote

Old   August 10, 2020, 06:59
Default Phase Field modeling in OpenFOAM
  #34
New Member
 
Azad
Join Date: Nov 2019
Posts: 6
Rep Power: 6
azad_786 is on a distinguished road
Hello Foamers,
Have you been able to develop Phase-Field solver using OpenFOAM.
I am interested in the solver that solves the Cahn-hilliard 4th order diffusion equation.
Please let me know.
Thanks
azad_786 is offline   Reply With Quote

Old   August 10, 2020, 07:18
Default
  #35
New Member
 
Azad
Join Date: Nov 2019
Posts: 6
Rep Power: 6
azad_786 is on a distinguished road
Quote:
Originally Posted by ARUNAVA SENGUPTA View Post
Hi Sebastian,

I got the phaseFieldFoam code from the link (https://github.com/11101011). While trying to compile the original code in the OpenFoam version 30, i am getting a lot of errors. can you help me out rectifying those errors or do you have the latest version of the code for the OpenFOAM version 30 ?

regards
Hi Arunava,
Have you been able to develop the PhaseField solver using OpenFOAM
?
azad_786 is offline   Reply With Quote

Old   November 16, 2021, 00:16
Default
  #36
New Member
 
Xiao Mingkun
Join Date: Jul 2021
Posts: 3
Rep Power: 4
xiaomk is on a distinguished road
Quote:
Originally Posted by Enrico Segre View Post
FWIW, I managed to compile Sebastian's port of Adam Donaldson's code with openFoam 6, blindly adapting a few lines. The fork is here. Adam's most relevant paper describing the code is probably this one, btw.
With that I won't say that I'm sure that the computation is correct, only that the code seems to run plausibly. For the cases I'm currently interested into, i.e. microfluidics, it may be not the right approach. At the sizes of my system, surface tension sigma and contact angle theta seem to have no effect. Maybe my port missed something, maybe it's a limitation of the modelling. There are another couple of research codes out there which I still want to try, before resigning to VOF. Feedback appreciated!



Hi, have you solved the problem that the contact angle theta has no effect?
xiaomk is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
problem in Phase Field method qunwuhe@hotmail.com Main CFD Forum 6 February 16, 2011 12:20
phase field or Cahn-Hilliard method dusky.he Main CFD Forum 3 February 2, 2006 16:43
about phase-field or second gradient theory Dusky.He Main CFD Forum 9 December 17, 2005 00:42
Differences between VOF and phase field 2L Main CFD Forum 2 July 4, 2004 13:30
simulating a two-phase flow with an external field Yi Main CFD Forum 7 August 9, 2000 11:12


All times are GMT -4. The time now is 10:58.