Skip to content

particle flow

  • This topic has 2 replies, 3 voices, and was last updated 1 month ago by jan.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #8408

    Hi openLB community,

    I would like to have a particulate flow with arbitrarily shaped particles. Is it possible to read particle shapes from stl files? Do I need to use the “addResolvedArbitraryShape3D()” function for that?

    Best regards


    Yes, this is possible and particles::creators::addResolvedArbitraryShape3D is the correct function for this. (One restriction that I am aware of is that the particles currently must be concave if you want to use the contact model)


    Dear jakschee,

    as Adrian already mentioned, the function is correct.

    I think the parameters are self-explanatory, but the indPtr would be a std::shared_ptr to a STLreader in your case. The latticeSpacing should be equal to or less than the Δx used in the simulation. It refers to the resolution of the second lattice used to derive particle information.

    If you’re interested in the underlying method, please refer to the corresponding publications of our group [1-4].

    The restriction to convex particles only applies to the discrete contact model [5]. However, for small particle volume fractions, an explicit contact model may not be necessary [6].

    Best regards,

    [1]: 10.1016/j.compfluid.2018.02.027
    [2]: 10.3390/computation9020011
    [3]: 10.3390/computation9040040
    [4]: 10.5445/IR/1000136875
    [5]: 10.1016/j.partic.2022.12.005
    [6]: 10.1016/j.jocs.2024.102263

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