|
[Sponsors] |
October 18, 2019, 09:56 |
Moving contact line in OpenFOAM
|
#1 |
New Member
Join Date: Feb 2019
Posts: 23
Rep Power: 7 |
Hi everyone,
I'm trying to understand how OpenFOAM, and interFoam in particular, deals with a moving contact line, e. g. a drop spreading over a surface. I've seen how the contact angle is imposed calculating the interface normal vector in the interfaceProperties.C file, but I haven't been able to find how OpenFOAM "makes the magic". I thought that maybe it would apply some external force, but in the UEqn.H file there is nothing like that. I'm starting to think that it would be related to the surface tension force, but I'm not sure. I hope you can help me to figure this out. Regards, Adolfo |
|
October 21, 2019, 10:06 |
|
#2 |
New Member
Le
Join Date: Oct 2019
Posts: 1
Rep Power: 0 |
Hi dolfus,
As I know there are to two numerical method to simulate moving contact line in Navier Stokes equations: 1. Modify the slip velocity by the contact line velocity. 2. Add the external force to surface tension tension force at the vicinity of the contact line. You can read this article "VOF simulations of the contact angle dynamics during the drop spreading: Standard models and a new wetting force model" for the 2nd method. I do not use OpenFOAM for moving contact line model so I can not help you this part. |
|
October 22, 2019, 04:58 |
|
#3 |
New Member
Join Date: Feb 2019
Posts: 23
Rep Power: 7 |
Thank you for your reply. I know about this paper but the point is that I haven't been able to find anything like that inside the OpenFOAM code, probably because I haven't looked at the right files yet.
Regards |
|
March 1, 2020, 19:31 |
|
#4 |
Senior Member
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 9 |
dolfus, have you found the scripts that deal with the contact line?
|
|
March 2, 2020, 12:38 |
|
#5 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
I always thought that in interfoam the "dynamic contact angle" is a result of the momentum equation. One con only specify the gradient of alpha at the wall. How the interphase evolves is that a result of the momentum equation.
|
|
March 2, 2020, 13:36 |
|
#6 |
Senior Member
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 9 |
Thanks for the response. See, I'm trying to see how to disable the contact line/angle models, forcing a system into a true no-slip flow. Do have have any ideas how to model this?
|
|
March 2, 2020, 18:06 |
|
#7 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
What do you mean with true no slip condition? Did you try a zero gradient condition for alpha?: you will not have an influence of the wall since you interpolate from the inner domain
|
|
March 3, 2020, 03:36 |
|
#8 |
Senior Member
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 9 |
I refer to the (typically non-physical) condition that liquid-gas-wall interfaces do not move. In this way, liquid-gas interfaces can change configurations, but liquid would never spread.
Yes, but zero gradient still allows the liquid to advance/recede. |
|
March 3, 2020, 04:03 |
|
#9 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
If you want the interphase to be at a fixed position you can use a fixed value boundary condition for alpha at the wall. Where initially it is zero you set it to zero and where it is one you set it to one
|
|
March 3, 2020, 06:00 |
|
#10 | |
New Member
Join Date: Feb 2019
Posts: 23
Rep Power: 7 |
Quote:
In the alphaContactAngleFvPatchScalarField.C file, there are several cases defined depending on your keyword "limit" in the alpha.water file. |
||
March 4, 2020, 13:30 |
|
#11 |
Senior Member
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 9 |
||
March 4, 2020, 15:20 |
|
#12 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
Hm If you want the interphase not to move at the wall you have to fix the value at the wall.
|
|
March 4, 2020, 18:27 |
|
#13 |
Senior Member
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 9 |
||
March 4, 2020, 19:15 |
|
#14 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
||
March 9, 2020, 18:26 |
|
#15 | |
Senior Member
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 9 |
Quote:
However, it seems we are missing some crucial information about the contact line, specifically the static contact angle. In real life, a liquid is always given an static contact angle. Any idea how to enforce this while also pinning the contact line? |
||
March 10, 2020, 13:23 |
|
#16 |
Member
Hosein
Join Date: Nov 2011
Location: Germany
Posts: 94
Rep Power: 15 |
Hey there,
May be you should take a look at "alphaContactAngle". for dev version : https://github.com/OpenFOAM/OpenFOAM...hScalarField.H |
|
November 2, 2020, 01:46 |
interface height along a slant wall
|
#17 |
New Member
A P
Join Date: Feb 2020
Location: Indiana, USA
Posts: 10
Rep Power: 6 |
Hello Everyone,
I am working to obtain contact line motion in a container. I am thinking of obtaining interface height along a wall and then for velocity, I will take the difference of the location of 2 subsequent timestep divided by time difference. But I am unable to get the location of interface along the slant wall. It would be helpful if anyone can provide any suggestion regarding it. I have used this code in controldict functions { #includeFunc residuals #includeFunc interfaceHeight interfaceHeight1 { type interfaceHeight; libs ("libfieldFunctionObjects.so"); alpha alpha.water; locations ((0 0 0)); direction (0.0064 0.024 0); } } direction in this I assumed it to be ray from ( 0 0 0) to (0.0064 0.024 0). That's my slant wall direction. Thanks Regards |
|
November 2, 2020, 02:00 |
|
#18 | |
Senior Member
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 9 |
Quote:
|
||
December 4, 2020, 02:01 |
Contact line models
|
#19 | |
New Member
A P
Join Date: Feb 2020
Location: Indiana, USA
Posts: 10
Rep Power: 6 |
Quote:
I have another query regarding the implementation of dynamic contact angle. I am trying to investigate different contact line models. I am unable to understand how dynamic angle values are obtained in openFOAM. Do I need to implement different contact angle models in interfaceproperties source code or I just simple obtain the results for given input in alpha sets of theta(equilibrium), theta(adv), and theta(receding) and plot dynamic angle vs velocity? Sincere apologize for flaws in my physics, maybe I am not reading the right materials. Thanks! |
||
Tags |
contact line, interface, interfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] 3D Mesh conversion from gmsh-2.5.0 to OpenFOAM | Ancioi | OpenFOAM Meshing & Mesh Conversion | 17 | January 9, 2019 00:50 |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 15:24 |
[Other] Compiling hacFoam (Ubuntu 10.04)(OF2.0.0)(LAMMPS13Jul2010)) | Henrik_E | OpenFOAM Installation | 3 | September 29, 2016 17:16 |
Derivative of velocity and mean velocity | hiuluom | OpenFOAM Post-Processing | 1 | May 30, 2015 00:42 |
Regarding FoamX running Kindly help out | hariya03 | OpenFOAM Pre-Processing | 0 | April 18, 2008 05:26 |