Skip to content

Multiphase flow Contact angle and surface tension setting

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Multiphase flow Contact angle and surface tension setting

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1868
    Zhipeng Zhu
    Member

    🙂 Hi everyone, I’m using Openlb for multiphase flow simulation. I have been trying to find out how to set the contact angle and surface tension but I have not figured it out.
    If someone knows how to set them in the code? thank you very much!

    #2466
    mathias
    Keymaster

    You need to define the right density at the boundaries (defineRho or for bounce back in the constructor), i.e. 1 for attracting and 0 for repelling. Best Mathias

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.