Create the mouth shape inlet
› Forums › OpenLB › General Topics › Create the mouth shape inlet
- This topic has 8 replies, 3 voices, and was last updated 1 year ago by mathias.
-
AuthorPosts
-
November 1, 2024 at 9:44 am #9461thanhphatvtParticipantNovember 1, 2024 at 9:44 am #9462thanhphatvtParticipantNovember 5, 2024 at 12:41 pm #9470AdrianKeymaster
Did you already design the shape in CAD? If so you could export as a STL and use that to set the boundary.
November 7, 2024 at 8:44 am #9495thanhphatvtParticipantI 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=sharingNovember 7, 2024 at 8:58 am #9496AdrianKeymasterCan you expand on those difficulties? Did you try the STL based approach I suggested?
November 7, 2024 at 9:28 am #9498thanhphatvtParticipantYes, 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
November 7, 2024 at 9:33 am #9499AdrianKeymasterWhat do you mean by “you can not define the zone”? Please be more specific otherwise I can only continue to guess.
The
STLreaderis 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.November 7, 2024 at 9:54 am #9500thanhphatvtParticipantI 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?November 20, 2024 at 7:36 pm #9545mathiasKeymasterYou can use as many stl files as you like for renaming the material numbers since the stl file is an Indicatr itself in OpenLB..
-
AuthorPosts
- You must be logged in to reply to this topic.
