Skip to content

Create the mouth shape inlet

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #9461
    thanhphatvt
    Participant

    Dear all,
    I’m trying to create the model with the mouth shape for the inlet. At initial, I tried with the circle at the inlet, and now I’m changing to a mouth shape. Could you suggest to me how to do it? Thank you

    #9462
    thanhphatvt
    Participant
    #9470
    Adrian
    Keymaster

    Did you already design the shape in CAD? If so you could export as a STL and use that to set the boundary.

    #9495
    thanhphatvt
    Participant

    I have already designed the 3D model using Solidworks. I created the mouth like the pictures in Solidworks. I used the intersection for making the mouth at the inlet surface. The red zone is the mouth, and the blue zone is a wall. I have some difficulty defining the shape of the inlet at the mouth.
    https://drive.google.com/file/d/1VrTQ_HDwt8gSIVI3M7B7Sz-et_lnxjjK/view?usp=sharing

    #9496
    Adrian
    Keymaster

    Can you expand on those difficulties? Did you try the STL based approach I suggested?

    #9498
    thanhphatvt
    Participant

    Yes, I tried the STL file based on your comment. I need to use the “Indicator” for defining the mouth zone, right? So I can not define the zone of mouth in my code

    #9499
    Adrian
    Keymaster

    What do you mean by “you can not define the zone”? Please be more specific otherwise I can only continue to guess.

    The STLreader is an indicator, you can pass it to any function that accepts this interface, the same way as with any other indicator used in our example cases.

    #9500
    thanhphatvt
    Participant

    I used the stlreader to load the file but I can not define the zone, like it’s a circle or rectangle, I can use the other indicator for defining it, but it’s the mouth shape so I have some difficulty doing it.
    Or I can just import the mouth shape like a surface and create the cubic for the domain in the code? I think I misunderstood your first comment, right?

    #9545
    mathias
    Keymaster

    You can use as many stl files as you like for renaming the material numbers since the stl file is an Indicatr itself in OpenLB..

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