|
[Sponsors] |
Contact angle in OpenFoam with fixedfluxpressure |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 16, 2020, 04:54 |
Contact angle in OpenFoam with fixedfluxpressure
|
#1 |
New Member
Join Date: Aug 2020
Posts: 2
Rep Power: 0 |
Hello,
I have a question on how to change the contact angle using the fixedFluxPressure BC on the Walls. The simulation has been sent to me and I am supposed to only change the angle from now (I’ve been told) 45 degrees to 70 degrees. Usually I would use Walls type constantAlphaContactAngle; theta0 45; limit gradient; value uniform 0; In 0/U folder and then just change the theta0. But the simulation i work with has a Walls type fixedFluxPressure; So now i am unfortunately unsure about what to do. To sum up: The simulation currently uses contact angle = 45 degrees and I cannot find where this has been set. So if anyone has an idea i would be super thankful. (Using interfoam) |
|
November 9, 2020, 01:24 |
|
#2 | |
Member
Join Date: Jan 2017
Posts: 71
Rep Power: 9 |
Quote:
I am using this condition and want to know one thing. I have to set GDL contact angle. How to set this? Any idea |
||
November 10, 2020, 16:15 |
|
#3 | |
Member
|
Quote:
The code in alpha.water file: Code:
wall { type constantAlphaContactAngle; theta0 45; limit gradient; value uniform 0; } Code:
wall { type fixedFluxPressure; value uniform 0; } Either: Code:
wall { type fixedValue; value uniform (0 0 0); } Code:
wall { type noSlip; } As you changes the contact angle the liquid behavior also changes, you can verify based upon the value computed in paraview for wetted area, and interfacial area using integrateVariables filter. |
||
November 12, 2020, 16:06 |
|
#4 | |
Member
Join Date: Jan 2017
Posts: 71
Rep Power: 9 |
Quote:
|
||
November 12, 2020, 17:32 |
|
#5 |
Member
|
Trying to understand what you have mentioned:
so bottom wall is Hydrophobic and rest all walls are Hydrophilic is that correct? In that case, the bottom wall will have the above mentioned code related to constantContactAngle with value defined 140. and rest channel walls with have same code of constantContactAngle with value as 60 and you define that in alpha.water file. Only one constantContactAngle boundary condition can be defined for one wall with one specific value of whatever the angle is. multiple constant contact angles are not possible for one single patch wall, in one single boundary condition. if you want the value for that constant contact angle needed to be changed then you'll probably need to use swak4Foam to setup time dependent contact angle changing BC. |
|
November 12, 2020, 17:45 |
|
#6 | |
Member
Join Date: Jan 2017
Posts: 71
Rep Power: 9 |
Quote:
type constantAlphaContactAngle; theta0 140; limit gradient; value uniform 0; and for top I can use: type constantAlphaContactAngle; theta0 60; limit gradient; value uniform 0; This is what you are saying? |
||
November 12, 2020, 17:49 |
|
#7 | |
Member
Join Date: Jan 2017
Posts: 71
Rep Power: 9 |
Quote:
|
||
November 12, 2020, 18:03 |
|
#8 |
Member
|
After looking your geometry, and the code that you have defined post #6, yes that is what I'm saying.
its pretty simple, although I don't know how much variation you might be able to visualize, based upon the contact angles. The hydrophilic and hydrophobic energies are too small, they define their significance on 100 molecular to 1,000,000 molecular level (if we assume a drop of water is 1,000,000 molecules). However, 10,000,000 to 100,000,000 molecular level (that is ice cube size blob of water), gravitational energy along with density and viscosity show more predominant effect and over constrain the hydrophilic and hydrophobic energies. Thus, in your CFD analysis, there is significant possibility that even at 140 or more than that angle, you won't be able to see much difference unless your mesh is finest! Apologies, discussion in molecules and other chemical concepts, being chemical engineer it becomes evident to explain in molecules and moles :-D |
|
November 12, 2020, 18:15 |
|
#9 | |
Member
Join Date: Jan 2017
Posts: 71
Rep Power: 9 |
Quote:
channels and their effect on instantaneous area coverage ratio". For my own case, I will follow what you said. If I need more guidance I will post here Thank you for your response. |
||
November 12, 2020, 18:32 |
|
#10 |
Member
|
No problem, your welcome.
Just for the side-note: In their article, table 2 the summary of settings for VoF model. The interface compression/representation scheme they used: Piecewise Linear Interface Calculation (PLIC) Thus, if you planning to use that scheme then you'll have to use OpenFOAM V8 version (Release 2020) from OpenFOAM.org. (I have less idea about ESI OpenFOAM having that scheme). Only OpenFOAM V8 has PLIC scheme otherwise you'll probably use MULES for alpha.water (the default scheme) |
|
November 12, 2020, 18:43 |
|
#11 | |
Member
Join Date: Jan 2017
Posts: 71
Rep Power: 9 |
Quote:
|
||
July 30, 2024, 03:10 |
|
#12 |
New Member
ghanashyam k c
Join Date: May 2022
Posts: 8
Rep Power: 4 |
First of all, apologies for posting my question here, as I realize this thread is nearly closed. However, I hope someone can assist me since the thread was active recently and my question pertains to contact angles.
I'm working on an electro-hydrodynamic problem where fluid emerges from a needle and forms a Taylor cone jet. Unlike previous literature, recent work by Mai et al.(https://pubs.aip.org/aip/pof/article...ic-atomization) considered the wetting across the needle, where the fluid pins at the outer edge before forming the jet. When I try to implement the new contact angle algorithm they used, the fluid pins at the outer edge but the jet fails to form, and the solution eventually diverges completely. I have attached pictures demonstrating this issue. Can anyone suggest what might be causing the problem? |
|
Tags |
capillaryrise, contactangle, interfoam, multiphase, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
dynamic contact angle udf returns no value to solver | shiraz_man67 | Fluent UDF and Scheme Programming | 5 | July 3, 2018 15:51 |
can anyone help me about the udf of dynamic contact angle in FLUENT? | Albert Lee | FLUENT | 0 | July 1, 2018 09:21 |
Dynamic contact angle | raj kumar saini | Fluent UDF and Scheme Programming | 0 | October 13, 2014 03:18 |
Contact angle between different phase and wall | liguifan | OpenFOAM Pre-Processing | 1 | March 7, 2013 03:46 |
[Netgen] Import netgen mesh to OpenFOAM | hsieh | OpenFOAM Meshing & Mesh Conversion | 32 | September 13, 2011 06:50 |