Reply To: BounceBackBulkDensity
Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.
› Forums › OpenLB › General Topics › BounceBackBulkDensity › Reply To: BounceBackBulkDensity
May 3, 2022 at 5:15 pm
#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
