defining and connecting two circular pipes using blockMesh
Hi,
I'm having trouble in defining two circular pipes that are connected with an angle of 90 degrees using blockMesh. Is there any tutorials or any example that shows how to define such a L-shaped circular pipe in openfoam? thanks alot |
4 Attachment(s)
You can make this with a block and some edges.
Here are two examples I just made. You can copy it and adapt to your needs: Code:
/*--------------------------------*- C++ -*----------------------------------*\ Code:
/*--------------------------------*- C++ -*----------------------------------*\ Theses case are quite general with pipes of radius 1 and small curve radius to 1 too (you may need to not have this curve). |
Thank you very much Yosmcer. It was a great help :) Would you please tell me how you calculated the arc midpionts?
|
I used the Pythagoras theorem with the simplified fact that the triangles were isosceles.
So basically, for a radius circle (hypotenuse) of 1, I have sqrt(2)/2. For more general shapes, you can use trigonometry. http://pascal.cormier.free.fr/uploads/1203703306.jpg |
Thanks you very much for the explanation.
|
All times are GMT -4. The time now is 09:09. |