Skip to content

Interfacial nodes in shan/chen or free energy model

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Interfacial nodes in shan/chen or free energy model

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #5188
    Bhuttu
    Participant

    Hello developer,
    I want to work with multiphase models implemented in OpenLB (shan/chen or may be free energy model not yet confirmed). Could you please tell me if I can numerically trace the interfacial nodes for any of the two implemented methods?

    Thanks and regards,
    Bhuttu

    #5190
    mathias
    Keymaster

    Hi Bhuttu,

    yes, you may implement a new functur which e.g. runs ofer all cells and marks them if they are in a given value range.

    Best
    Mathias

    #5193
    Bhuttu
    Participant

    Thank you for the response Mathias.
    Will it work if I track the value of density throughout the cells?
    I am asking this question because as far as I understand there is no sharp change in the density values and there is a finite distance associated where this change happens.

    Thanks and regards
    Bhuttu

    #5194
    mathias
    Keymaster

    That is right. For one cell you have one value. So identify a critical cell and when look for the values of neighbours and do an interpolation whould work. Best Mathias

    #5195
    Bhuttu
    Participant

    Thank you Mathias.
    Will try this.

    Regards
    Bhuttu

    #5197
    mathias
    Keymaster

    Would be nice if you could share the code with the OpenLB community. We could include it in the phase separation example! Best Mathias

    #5200
    Bhuttu
    Participant

    Sure, I will share the code.

    Sincerely
    Bhuttu

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