Skip to content

setRegularizedHeatFluxBoundary

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics setRegularizedHeatFluxBoundary

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7482
    Jijo
    Participant

    Dear OpenLB community,

    I have tried to use the (setRegularizedHeatFluxBoundary) as a Neumann boundary condition for a heat flux but whenever I set the heat flux to certain value and check Paraview it does not corresponds to the similar magnitude. Code:

    T heatFlux[2];
    heatFlux[0] = 0.0;
    heatFlux[1] = converter.getLatticeHeatFlux(Certain Value);

    setRegularizedHeatFluxBoundary<T,TDESCRIPTOR>(ADlattice, Tomega, superGeometry, 5, heatFlux);

    and I used (SuperLatticePhysHeatFlux2D) to view the heat flux. Any help on such issue?

    Best regards,

    #7496
    stephan
    Moderator

    Dear Jijo,

    thank you for your post.

    Please have a look at the examples/ in OpenLB which showcase the usage of setRegularizedHeatFluxBoundary for straight walls (curved walls with a heatflux boundary need specific treatment, which is currently still under development).

    In addition, the output functor you use might produce a magnitude value in Paraview which can differ if the shape of the boundary is curved.

    BR
    Stephan

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