I am new to OpenLB and LBM, I have been working on liquid drop on dry surface, I am testing for Contact line pinning by putting a triangle shape at the center of simulaiton box (the wedge shape has 2 material no on surafce and zero inside) for this I made following changes in contactAngle2D example:
In the prepareGeometry function:
T dx = converter.getPhysDeltaX();
IndicatorCuboid2D<T> sq1 ( 30*dx, 30*dx, std::vector<T> {nx/2., 0}, 0.785714);
IndicatorCuboid2D<T> sq2 ( 28*dx, 28*dx, std::vector<T> {nx/2., 0}, 0.785714 );
superGeometry.rename(1,2,sq1);
superGeometry.rename(2,0,sq2);
Initial postion of liquid drop is such that it is on the wedge(somewhere between top and base of the triangle). The contact angle is set to 20 degrees. So, as the contact point reaches base it should be pinned there due to sudden change in slope. But I am observing so such thing.
I am giving a link to code: https://drive.google.com/file/d/1bRwQH7odkG1wZbo07vVL28m0Bh8BCGZB/view?usp=share_link
-
This topic was modified 10 months, 2 weeks ago by Aditya_Shukla. Reason: Addded the link for code