Using STL generated from blender
› Forums › OpenLB › General Topics › Using STL generated from blender
- This topic has 8 replies, 2 voices, and was last updated 3 years ago by eaxebx.
-
AuthorPosts
-
November 11, 2022 at 11:01 pm #7021eaxebxParticipant
Hi, I am trying to set up a simple simulation using a cylindrical tube by importing an STL file for the geometry. I created the tube (center is empty) in blender and exported as an stl file from blender. I am not sure how the units are set in openLB in this scenario. I am also having trouble using such an STL file from blender. Can we have a simple tubular flow example with a stl file created from blender to get the users started? Or if there is an example in openlb that addresses this simple use case scenario? I can email a copy of the stl file if needed. (its geometry is outer radius = 1, inner radius = 0.8, height = 10)
Many thanks!
November 12, 2022 at 7:54 pm #7022mathiasKeymasterDear eaxebx,
the stl must be watertight and no double layers should be there. Have a look at e.g. the e.g. cylinder3d ora aorta3d examples. There is also a section on it in the user guide.
Best
MathiasNovember 13, 2022 at 3:28 pm #7023eaxebxParticipantHi Mathias, what’s a double layer in openlb terminology?
November 13, 2022 at 6:08 pm #7024mathiasKeymasterTwo serfaces (i.e. stl triagles) parallel and close to eachother.
November 23, 2022 at 12:41 am #7031eaxebxParticipantHi Mathias, the cylinder3d worked great and I was able to play around with other blender STL files using it. Now I have a new question, is there a way to simulate the movement of the cylinder obstacle in a flow if the cylinder is allowed to move. I understand for the example the cylinder is fixed in place. What does it take to allow the cylinder to move due to the collision from the fluid? We would need to consider its mass (density) and effect of moving geometry. Is there an example in multi-component set up that could be used to set it up? Thanks.
November 23, 2022 at 3:47 pm #7032mathiasKeymasterYou mean as the 3D particle in https://www.sciencedirect.com/science/article/abs/pii/S0045793018300823 ? That was done done with OpenLB. Best Mathias
November 23, 2022 at 10:31 pm #7033eaxebxParticipantMathias, yes something similar, is there an example in openlb I could look at? Thanks,
November 23, 2022 at 10:36 pm #7034mathiasKeymasterSimilar is the DKT example in the particle folder. This one from the paper has not been released and is not up to date with the latest release. Please contact me be email if you are interested to discuss a colaboration. Mathias
November 23, 2022 at 11:32 pm #7035eaxebxParticipantMathias, thanks, let me check the DKT example first and will email you afterwards.
-
AuthorPosts
- You must be logged in to reply to this topic.
