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 13, 2022 at 10:36 am
#6562
johanna
Participant
Hello Antonio,
you can access the temperature data via SuperLatticeDensity and then you could also convert it into an analytical functor with AnalyticalFfromSuperF…D if you have the physical coordinates for nx-1.
Alternatively you could use a PostProcessor. There you could use for example blockLattice.get(iX-1,iY).computeRho().
To set the boundary condition use in your App a setBoundaryValues method and the advectionDiffusionTemperatureBoundaries and set your value in every time step with LatticeName.defineRho(…)
Best,
Johanna