Skip to content

Processing Multiple STL Files Without Manually Setting Inflow and outflow

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Processing Multiple STL Files Without Manually Setting Inflow and outflow

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9241
    sasan
    Participant

    Hi everyone,

    I’m currently working on a project where I need to import multiple STL files, and I’m facing a challenge: the different faces of these STL files are not confined to specific indicators, and I prefer not to manually provide the inflow and outflow coordinates.

    I am considering creating a function that accepts multiple STL files and detects the shape of each one. My plan is to override the extendedDomain function to handle multiple STL files.

    Before I proceed, I would like to know if the OpenLB solver is capable of processing multiple STL files in this way. Any insights or advice on how to approach this would be greatly appreciated!

    Thank you!

    #9242
    Adrian
    Keymaster

    What do you mean by “extendedDomain” function?

    In any case, OpenLB can handle an arbitrary number of STL files as its “STL support” is implemented as the STLreader indicator. What you do with those indicators and which other library functions you use them in is left up to you.

    The “solver part” of OpenLB by design doesn’t know anything about STLs and as such doesn’t restrict how you use STLs in the simulation setup phase.

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