Skip to content

Pre-processing about STL file

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6912
    louise
    Participant

    How can I automatically find the plane coordinates and normal vectors of the inlet and outlet of a pipe class from its stl file?

    #6916
    mathias
    Keymaster

    I would first voxelize it and then use a seed point or a search aerea and a regiongrowing algorithm within a plane to find it. Once I did so for the human nose simulation which are in the show cases. Actually there were 3 planes I could identify automatically.

    #6920
    louise
    Participant

    1. Is there a corresponding script program in openLB?
    2. What’s the meaning of maxPhysR and minPhysR? I didn’t find a description of them in the user guide

    #6925
    mathias
    Keymaster

    1/ There is cpp code. You can extent the geometry classes.
    2/ https://www.openlb.net/DoxyGen/html/d5/d9e/classolb_1_1SuperGeometryStatistics2D.html#accd028ebb8f0d9352a87afed0268e7b8

    Returns the max. phys position in each direction.

    Definition at line 305 of file superGeometryStatistics2D.hh.
    306 {
    307 update();
    308 return const_this->getMaxPhysR(material);
    309 }

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