Skip to content

BounceBackBulkDensity

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6516
    sahilbhapkar30
    Participant

    Hello,

    I want to have boundary condition like BounceBackTemperature in my Advection-Diffusion Dynamics. Can I use BounceBackBulkDensity for it? As the zeroth moment in the ADE is the scaler. Like in Navier Stokes equation, there is BounceBackVelocity boundary condition.

    Would the BounceBackBulkDensity work for me to bounce back the temperature on the walls?

    Thanks.

    #6539
    stephan
    Moderator

    Dear sahilbhapkar30,

    if I understood correctly, you would like to implement a Dirichlet boundary condition (BC) for advection-diffusion equations, which is possible in OpenLB via setAdvectionDiffusionTemperatureBoundary2D.

    An exemplary implementation of this type of BC is given in the examples/thermal/porousPlate2d(3d).
    In the 2d case, you might want to switch to
    #define TemperatureBoundary
    //#define RegularizedTemperatureBoundary
    //#define RegularizedHeatFluxBoundary
    to observe the corresponding results.

    BR
    Stephan

    #6553
    sahilbhapkar30
    Participant

    Hello,

    Thank-you for the reply.

    Could you tell me the difference between the setAdvectionDiffusionTemperatureBoundary and setRegularizedTemperatureBoundary?

    Thank-you
    Sahil

    #6564
    stephan
    Moderator

    Dear Sahil,

    the setAdvectionDiffusionTemperatureBoundary defines a Dirichlet boundary condition for the temperature. The same is obtained with setRegularizedTemperatureBoundary.
    The difference is that the latter regularizes the information of higher order moments.

    However, using the former is recommended, since it is validated and should suffice in most cases.

    BR
    Stephan

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