Reply To: Neumann temperature boundary
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Neumann temperature boundary › Reply To: Neumann temperature boundary
May 9, 2022 at 4:52 pm
#6558
johanna
Participant
Hello Sahil,
unfortunately there is no example with Neumann boundary conditions for Advection-Diffusion equations.
But you can simply use a difference quotient to transform your Neumann boundary into a Dirichlet boundary (fixed temperature boundary) and update it every timestep with a setBoundaryValues method.
Best
Johanna