Skip to content

Danial.Khazaeipoul

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: FSLBM one-way coupling to Advection-Diffusion Equation #8454
    Danial.Khazaeipoul
    Participant

    Dear shota,

    Since I was not able to post pictures here, I created an issue on OpenLB’s gitlab repository but I am not sure if it is getting monitored.

    in reply to: FSLBM one-way coupling to Advection-Diffusion Equation #8416
    Danial.Khazaeipoul
    Participant

    I am trying to post images to compare the concentration field distribution between benchmark, COMSOL, and OpenLB simulations to describe the problem more clearly but it seems that I can not include links into my post the in the forum.

    in reply to: FSLBM one-way coupling to Advection-Diffusion Equation #8414
    Danial.Khazaeipoul
    Participant

    Thank you for your assistance, Adrian.

    I have tried to start with a much simpler problem involving Poiseuille flow within a 3d pipe. The following steps are taken in order to prepare the benchmark case for OpenLB:

    1. For the Navier-Stokes submodel a D3Q19<> was used with BGKdynamics and following BCs and ICs:

    (a) Pipe wall: setBounceBackBoundary (No-slip zero velocity)
    (b) Pipe inlet: setInterpolatedVelocityBoundary (CirclePoiseuille3D)
    (c) Pipe outlet: setInterpolatedPressureBoundary
    (d) Initial condition: Pressure and velocity are initialized according to the analytical solution.

    2. For the Advection-Diffusion submodel a D3Q7<VELOCITY> was used with AdvectionDiffusionBGKdynamics and following BCs and ICs:

    (a) Pipe wall: setBounceBackBoundary (Fixed value concentration, i.e., 0.0)
    (b) Pipe inlet: setAdvectionDiffusionTemperatureBoundary (Fixed value concentration, i.e., 1.0)
    (c) Pipe outlet: setZeroGradientBoundary
    (d) Initial condition: Concentration is initialized to zero throughout the domain.

    The sub-model for the Navier-Stokes solves the flow problem correctly. However, I am facing a problem when solving for the concentration field as it seems that the pipe’s wall has no effect on concentration distribution within the pipe. According to the benchmark, one should expect parabolic concentration profile but in my case, the wall seems to have no effect and the average concentration approaches to 1.0 as the simulation evolves through time.

    I have tried to further investigate this by examining the microMixer3d example and it seems to me that the same behavior is also occurring there. I am suspecting the bounceback boundary on the walls might be responsible for this behavior, but not sure why it works perfectly fine within the Navier-Stokes submodel. Is the fact that the advection-diffusion dynamics uses equilibria::FirstOrder relevant here?

Viewing 3 posts - 1 through 3 (of 3 total)