|
[Sponsors] |
[blockMesh] how to draw a pipe(3D) in openfoam? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 7, 2016, 04:47 |
how to draw a pipe(3D) in openfoam?
|
#1 |
Senior Member
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 11 |
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. ] Last edited by wyldckat; April 16, 2016 at 12:17. Reason: see "Moderator note:" |
|
April 7, 2016, 05:36 |
|
#2 |
Senior Member
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 12 |
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 |
|
April 7, 2016, 05:37 |
|
#3 | |
Senior Member
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 11 |
Quote:
Thank you for the suggestions. I will go and have a check. Thank you. Regards, Bill |
||
Tags |
openfoam;pipe;geometry |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 05:29 |
OpenFOAM Training Beijing 22-26 Aug 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | May 3, 2016 04:57 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 05:56 |
OpenFOAM Training in Europe and USA | hjasak | OpenFOAM | 0 | August 8, 2008 05:33 |