Skip to content

Turbulent Flow Over a Square Cylinder Confined in a Channel

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Turbulent Flow Over a Square Cylinder Confined in a Channel

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6028
    yx19971028
    Participant

    Dear everyone,
    I want to Simulate the Turbulent Flow Over a Square Cylinder Confined in a Channel on the basis of the code of channel3D in the example.
    Because the periodic boundary conditions are no longer applicable,the code is modified as follows:
    Original code:#Line 405 cuboidGeometry.setPeriodicity(true, true, false);
    New code:#Line 405 cuboidGeometry.setPeriodicity(false, false, false);
    But the following error occurred during program operation:
    [BlockGeometryStatistics3D] WARNING: no discreteNormal is found
    [setWallFunctionBoundary] Warning: Could not setWallFunctionBoundary (2, 2, 13), discreteNormal=(0,0,0,0), set to bounceBack
    [BlockGeometryStatistics3D] WARNING: no discreteNormal is found
    [setWallFunctionBoundary] Warning: Could not setWallFunctionBoundary (2, 3, 13), discreteNormal=(0,0,0,0), set to bounceBack
    [BlockGeometryStatistics3D] WARNING: no discreteNormal is found
    [setWallFunctionBoundary] Warning: Could not setWallFunctionBoundary (2, 4, 13), discreteNormal=(0,0,0,0), set to bounceBack
    [BlockGeometryStatistics3D] WARNING: no discreteNormal is found
    [setWallFunctionBoundary] Warning: Could not setWallFunctionBoundary (2, 5, 13), discreteNormal=(0,0,0,0), set to bounceBack
    [BlockGeometryStatistics3D] WARNING: no discreteNormal is found
    [setWallFunctionBoundary] Warning: Could not setWallFunctionBoundary (2, 6, 13), discreteNormal=(0,0,0,0), set to bounceBack
    and so on.
    I would like to ask how to correct the above mistakes.

    #6041
    Adrian
    Keymaster

    How did you set up the in- / outflow boundaries? These are required in this case to handle the missing inbound populations (previously resolved using periodic boundaries).

    The wall function boundary setup fails due to unexpected material numbers in these areas.

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