Skip to content

Point-by-point field free energy boundary condition in 3D

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Point-by-point field free energy boundary condition in 3D

  • This topic has 0 replies, 1 voice, and was last updated 3 weeks ago by Anonymous.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #9906
    Anonymous
    Inactive

    Hello everyone,

    I have two questions regarding my current project. I’m working on implementing a capillary tube model at the micron scale using a free-energy model, and I would appreciate some clarification on the following points:

    1) For the convergence criterion, I need to access the value of phi at each point, so I can compute the difference between vectors at the previous time step. However, I’m not entirely clear on how to access this data to copy it into a double vector in the general case. Any guidance on this would be greatly appreciated.

    2) In defining the inlet and outlet, I would like to impose a density condition. I attempted to use coupling setParameter for this purpose, but it hasn’t been effective. Additionally, I’m unsure how to initialize the FreeEnergy InletOutletCoupling funtionalities, as it seems to be based only on velocity. Could anyone provide insights or examples on how to work with this? (The objective is to reproduce eqs 24-25 in

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.