Skip to content

Marc

Forum Replies Created

Viewing 13 posts - 31 through 43 (of 43 total)
  • Author
    Posts
  • in reply to: Simulating channel flow using STL file is not working #2793
    Marc
    Participant

    Hello ishaandesai,
    in case of a curved geometry it is better to go with a non staircase boundary as Bouzidi, but for the first draft I prefer bounce back. You can send me a link to the Picture. The first step is that every voxel for your inflow has the correct material numer.
    Best Marc

    in reply to: Simulating channel flow using STL file is not working #2791
    Marc
    Participant

    Hello ishaandesai,

    you have to respect a certian overlap, move your renaming indicators two physDeltaX in fluid direction than you should get rid of this error. Check the coordinates in your error message to see for which cells are no boundaries found and adapt your indicator in the according direction

    Best Marc

    in reply to: Venturi3d example #2781
    Marc
    Participant

    Dear Behnam,
    with all indicators in our code you are able to define boolean arithmeitc, which means that you can combine indicators (+) or intersect them (-). I think your idea is to intersect the cylinder by a cuboid.
    The offset means that you deal by the renaming process with a certain offset in an cartesian coordinate. if you just use rename 2,1 all your cells with 2 will disappear. The offset gives you the possibility to create a layer in the directions that you want.

    Best,
    Marc

    in reply to: About ConvectionBC #2758
    Marc
    Participant

    Dear steed 188,

    I still believe that you want a “normal” pressure outlet condition (Dirichlet pressure=0)? It is possible to set a periodic boundary the only condition is that your outlet has an equal size like your outflow. You have to apply a forcing area instead of the inlet and force your massflow concerning a mean massflow. This is stable for high Re number flows. If you come to the spring School I will show you how to stabilize your case.

    Best,
    Marc

    in reply to: About ConvectionBC #2751
    Marc
    Participant

    Dear steed188,

    I don’t think so. You should deal with periodic boundaries to stabilize your simulation at high Reynolds numbers.

    Best,
    Marc

    in reply to: About ConvectionBC #2748
    Marc
    Participant

    Dear steed188,

    I think it depends, if you pass uAv to the convection boundary constructor.
    For periodic boundaries you have to use forced dynamics and you don’t nedd additional material number for inflow and outflow. You can have a look at the forced poiseuille flow 2d example.

    Best Marc

    in reply to: About ConvectionBC #2745
    Marc
    Participant

    Hi steed188,

    first we several pressure boundary condition approaches local and interpolation. I don’t know which one you use for your case. I prefer interpolation because the non equilibrium bounce back approach will be instable by high Reynolds numbers. If your geometry has an inlet and outlet of the same size, you should use periodic boundaries. I actually working on wall functions. OpenLB will get this feature in the future. If you want to learn more about simulating turbulent flows with LBM, I highly recommend you our spring school in March.

    Best,
    Marc

    in reply to: Smagorinsky/Turbulence – Modification Code #2736
    Marc
    Participant

    Hi Pedro,
    we don’t have grid refinement in our Code. SuperLattice and the underlying BlockLattice is used in every example.
    Best,
    Marc

    in reply to: Smagorinsky/Turbulence – Modification Code #2734
    Marc
    Participant

    Hi Pedro,
    for such high Reynoldsnumbers you have to be careful with your spacing. A y+ around 2 should fit for a LES Simulation. Which turbulence model did you use for MRT?
    I would highly recommend you to come to our springschool in March to learn more about the simulation of turbulent flows.
    Best,
    Marc

    in reply to: Smagorinsky/Turbulence – Modification Code #2731
    Marc
    Participant

    Hi Pedro,
    the first step is to delete the line:
    delete bulkDynamics;
    because you don’t have a pointer anymore.
    If you still get an error message, use the original cylinder2d.cpp file and modify just the code line that I send you in the last post. This should compile without errors. Then you can apply your modifications step by step.
    Best,
    Marc

    in reply to: Smagorinsky/Turbulence – Modification Code #2729
    Marc
    Participant

    Hey Pedro,
    if you want to use a Dynamics pointer you have to adapt the arguments in the function prepareLattice.
    The easiest way to run the model is to change the line:
    BGKdynamics<T, DESCRIPTOR> bulkDynamics( converter.getOmega(), instances::getBulkMomenta<T, DESCRIPTOR>() );
    to
    SmagorinskyBGKdynamics<T, DESCRIPTOR>bulkDynamics( converter.getOmega(), instances::getBulkMomenta<T, DESCRIPTOR>(), 0.15);
    Good luck with your turbulence Simulation!
    Best,
    Marc

    in reply to: Turbulent Flows in LBM #2701
    Marc
    Participant

    Hi Pedro,
    there are no books about LBM turbulence as far as I know. I would recommend you books, which introduces the physics and mathmatics behind turbulence on the one side and on the other side books about the LBM method. This books should give you all the knowlegde that you need to deeply understand papers that dealing with LBM turbulence. Some recommendations for you:

    Bailly, C., & Comte-Bellot, G. (2015). Turbulence. Cham: Springer.
    Krüger, T., Kusumaatmaja, H., Kuzmin, A., Shardt, O., Silva, G., & Viggen, E. M. (2017). The Lattice Boltzmann Method: Principles and Practice. Cham: Springer International Publishing.

    Best,
    Marc

    in reply to: Calculate the time average velocity field #2596
    Marc
    Participant

    Hello steed188,

    I am also working on turbulence. Which kind of model do you use? At the moment, there is no time average functor implemented in OpenLB, but I think it is a very usefull tool in case of turbulent flows. We can work on the functor together, if you want.

    Best,
    Marc

Viewing 13 posts - 31 through 43 (of 43 total)