how to draw a pipe(3D) in openfoam?
Dear all,
I am a new learner of openfoam. I want to draw a pipe to do some simulation. I have tried my times, but I have not figure it out. vertices ( (0 0 0) (0 0.005 0.005) (0 0 0.01) (0 -0.005 0.005) (0.1 0 0) (0.1 0.005 0.005) (0.1 0 0.01) (0.1 -0.005 0.005) ); edges ( arc 0 1 (0.70710678 0.70710678 0) arc 2 3 (-0.70710678 0.70710678 0) arc 4 5 (0.70710678 0.70710678 0.1) arc 6 7 (-0.70710678 0.70710678 0.1) ); blocks ( hex (0 1 2 3 4 5 6 7) (200 10 10) simpleGrading (1 1 1) ); edges ( ); boundary ( inlet { type wall; faces ( (0 1 2 3) ); } outlet { type wall; faces ( (4 5 6 7) ); } surface { type wall; faces ( (0 4 7 3) (3 7 6 2) (2 6 5 1) (1 5 4 0) ); } ); mergePatchPairs ( ); Above is the program that I used to draw a pipe, but it turned out to be a cuboid. Any idea about this problem? By the way, I want to make it in openfoam, not in other softwares. Thank you. BestRegards, Bill [ Moderator note: this thread was moved from the main OpenFOAM forum to the blockMesh subforum on the 16th of April 2016. ] |
Hi Bill,
You are using the blockMesh application which has its own subforum. There is at least one thread which is about 3-D Mesh in a cylinder. Maybe you can find a solution from there. Best regards, Mikko |
Quote:
Thank you for the suggestions. I will go and have a check. Thank you. Regards, Bill |
All times are GMT -4. The time now is 23:59. |