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