|
[Sponsors] |
December 25, 2011, 19:26 |
dynamic contact angle implementation q
|
#1 |
Senior Member
Join Date: Nov 2009
Location: Michigan
Posts: 135
Rep Power: 16 |
The dynamic contact angle implementation in OF is:
const vectorField nf(patch().nf()); // Calculated the component of the velocity parallel to the wall vectorField Uwall(Up.patchInternalField() - Up); Uwall -= (nf & Uwall)*nf; // Find the direction of the interface parallel to the wall vectorField nWall(nHat - (nf & nHat)*nf); // Normalise nWall nWall /= (mag(nWall) + SMALL); // Calculate Uwall resolved normal to the interface parallel to // the interface scalarField uwall(nWall & Uwall); return theta0_ + (thetaA_ - thetaR_)*tanh(uwall/uTheta_); ///////////////////////////////// 1. What is Up? 2. nf & Uwall is inner product of nf and Uwall. Wont it give component normal instead of parallel to the wall? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic contact angle | rmousavibt | Fluent UDF and Scheme Programming | 12 | October 31, 2021 22:38 |
OpenFOAM141dev A new implementation of dynamicKistlerGammaContactAngle | eberberovic | OpenFOAM Running, Solving & CFD | 26 | June 10, 2021 04:08 |
[Netgen] Import netgen mesh to OpenFOAM | hsieh | OpenFOAM Meshing & Mesh Conversion | 32 | September 13, 2011 05:50 |
Theoretical background of formula for dynamic contact angle in interfoam | sebastian_vogl | OpenFOAM Running, Solving & CFD | 3 | June 22, 2009 12:25 |
Time evolution of dynamic contact angle | asaha | OpenFOAM | 0 | May 19, 2009 01:15 |