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

How to have sharp interface in nano scale two phase flow problem using interFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 6 Post By liquidspoon

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 16, 2016, 04:56
Unhappy How to have sharp interface in nano scale two phase flow problem using interFoam
  #1
New Member
 
Join Date: Sep 2014
Posts: 6
Rep Power: 12
hosseinfathi is on a distinguished road
Dear Foamers

Recently, I am involved to a project which is the modeling of two phase flow in nanoscale in porous media. As we want to model the porous media in pore scale modeling we need to solve the two phase flow problem in this scale.

I want to use the interFoam solver. I think due to the unbalance artificial compression force with surface tension force in nano scale I have smearing interface instead of seeing a sharp one. (I should mention that I found sharp interface in micro scale!!!)

Does anybody know how to change something or use a parameter to observe a sharp interface in nano scale?

Moreover, I changed cAlpha to 20 and I found the sharp one, but illogical distribution of water.

I'll appreciate your helps.

Kind regards,
Hossein
hosseinfathi is offline   Reply With Quote

Old   March 16, 2016, 10:22
Default
  #2
Member
 
Sebastian W.
Join Date: Nov 2012
Location: Saxony, Germany
Posts: 43
Rep Power: 14
nero235 is on a distinguished road
Send a message via ICQ to nero235
Quote:
Originally Posted by hosseinfathi View Post
Dear Foamers

Recently, I am involved to a project which is the modeling of two phase flow in nanoscale in porous media. As we want to model the porous media in pore scale modeling we need to solve the two phase flow problem in this scale.

I want to use the interFoam solver. I think due to the unbalance artificial compression force with surface tension force in nano scale I have smearing interface instead of seeing a sharp one. (I should mention that I found sharp interface in micro scale!!!)

Does anybody know how to change something or use a parameter to observe a sharp interface in nano scale?

Moreover, I changed cAlpha to 20 and I found the sharp one, but illogical distribution of water.

I'll appreciate your helps.

Kind regards,
Hossein
Hello,

since the VOF solver uses an one-fluid approach, the code has to blend the alpha values from 1 to 0 and a value of 0.5 at the interface. Therefore there cannot be a "exactly" sharp interface. Maybe you have to look into other interface tracking techniques and solution approaches (multi-fluids ...).

Also, an cAlpha of 20 will produce unrealistic phenomena! I cannot suggest using values greater than 1.

How about a finer mesh?

Is it maybe a question about post-processing? Try to visualize the alpha field not as a scalar field of the whole domain from 0 to 1 in paraview. Instead just display only the values of the interface of 0.5.

Regards, Sebastian
nero235 is offline   Reply With Quote

Old   March 17, 2016, 08:40
Default
  #3
Member
 
Alex
Join Date: Jun 2011
Posts: 33
Rep Power: 15
liquidspoon is on a distinguished road
You may have some success using a different formulation for the surface tension force model (OpenFOAM only provides a single model).

We implemented the sharp surface tension force model of Raeini et al. (2012). This is computationally more expensive, but can help in certain flows. Our implementation is available in a modified two-phase solver we wrote (https://github.com/MahdiNabil/CFD-PC).
liquidspoon is offline   Reply With Quote

Old   March 18, 2016, 16:48
Default
  #4
Member
 
Thomas Boucheres
Join Date: May 2013
Posts: 41
Rep Power: 13
thomasArk47 is on a distinguished road
Hello liquidspoon,

good job! and great to release it

I'm sure I will use it for my compagny
So I could give you feedback from a user point of view...

thanks.
thomasArk47 is offline   Reply With Quote

Old   March 20, 2016, 11:05
Default
  #5
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
Also, problems can be in unit system

You can try to convert from default SI system to, for example, cm-g-sec.

We successfully solved such case by deriving our own unit system, in which all dimensions became of order of 1 (instead of 10^(-10))
mkraposhin is offline   Reply With Quote

Old   April 3, 2016, 14:36
Default
  #6
New Member
 
Join Date: Sep 2014
Posts: 6
Rep Power: 12
hosseinfathi is on a distinguished road
Thank you Sebastian, liquidspoon, and mkraposhin for your comments.

I think all suggestions are helpful. I also changed the way of adding water in domain as a source term not as a flux on boundary. So I can achieve sharper interface.

Best regards,
Hossein
hosseinfathi is offline   Reply With Quote

Old   April 6, 2017, 05:32
Default Nanoscale AND InterFoam
  #7
New Member
 
Join Date: Jun 2016
Posts: 4
Rep Power: 11
AhmadZ is on a distinguished road
Hello Guys,

I just passed through this post right now. I am wondering if it is possible to use InterFoam for nano-scale applications!. Is it realistic to use continuum physics (NSE) here?!.

Thanks
AhmadZ is offline   Reply With Quote

Old   April 6, 2017, 05:35
Default
  #8
Member
 
Sebastian W.
Join Date: Nov 2012
Location: Saxony, Germany
Posts: 43
Rep Power: 14
nero235 is on a distinguished road
Send a message via ICQ to nero235
Quote:
Originally Posted by AhmadZ View Post
Hello Guys,

I just passed through this post right now. I am wondering if it is possible to use InterFoam for nano-scale applications!. Is it realistic to use continuum physics (NSE) here?!.

Thanks
Hey,

I really don't know. What does the literature say? Have you tried phase field methods in contrast to VoF?

Kind regards,

Sebastian
nero235 is offline   Reply With Quote

Old   April 8, 2017, 17:22
Default
  #9
Member
 
Alex
Join Date: Jun 2011
Posts: 33
Rep Power: 15
liquidspoon is on a distinguished road
I'm not sure what you mean by nano-scale applications. The continuum approximation is not appropriate for length scales <100s - 1000s of molecules.

Also, the surface tension force model in OpenFOAM will have issues with small length scales (literature discusses a critical cell capillary number).
liquidspoon is offline   Reply With Quote

Old   April 9, 2017, 03:01
Default
  #10
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,290
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
Quote:
Originally Posted by AhmadZ View Post
Hello Guys,

I just passed through this post right now. I am wondering if it is possible to use InterFoam for nano-scale applications!. Is it realistic to use continuum physics (NSE) here?!.

Thanks
I think what you mean is that do you need extended navier stokes equations or not?

It is hard to tell, but i would feel that you would need extend version and not the one these solvers solve. I might be wrong so you would have to explore a bit more as this is very much problem dependent.
arjun is offline   Reply With Quote

Old   April 9, 2017, 10:07
Default
  #11
New Member
 
anas
Join Date: Jun 2015
Posts: 18
Rep Power: 11
AnasCFD is on a distinguished road
Exactly, one needs here to use the Extended Navier Stokes equation (please see https://www.researchgate.net/publica...nnel_Gas_Flows and other publications of the coauthor Prof. Franz Durst) or Molecular Dynamics (available in OpenFoam).
AnasCFD 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
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 12:19
Flow around Cylinder with interFoam (Flow Recovery Problem) jimbean OpenFOAM Running, Solving & CFD 0 February 28, 2014 11:22
interFoam - stratified flow - problem with shear stress at interface AnjaMiehe OpenFOAM Running, Solving & CFD 8 June 14, 2010 07:49
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 22:31
Help - Two Phase Flow - Convergence Problem R.Sureshkumar Main CFD Forum 1 February 22, 2000 04:24


All times are GMT -4. The time now is 06:36.