|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Carlos
Join Date: May 2017
Posts: 16
Rep Power: 9 ![]() |
Hi all,
I have problems creating a mesh (quarter of a cylinder). I tried to follow the user guide and other posts, but I am getting some problems. Could you please have a look at it? I have attached an image which the vertices that I am trying to construct. /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: plus | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; vertices ( (0 0 0) (0 0 0.002) (0 0 0.008) (0 0.008 0) (0 0.002 0) (0.01 0 0.008) (0.01 0 0.002) (0.01 0 0) (0.01 0.002 0) (0.01 0.008 0) ); blocks ( hex (0 4 1 0 7 8 6 7) (20 20 1200) simpleGrading (1 1 1) hex (4 3 2 1 8 9 5 6) (20 20 1200) simpleGrading (1 1 1) ); edges ( arc 1 4 (0.70710678 1 0.70710678) arc 2 3 (0.70710678 1 0.70710678) arc 6 8 (0.70710678 1 0.70710678) arc 5 9 (0.70710678 1 0.70710678) ); patches ( patch front ( (0 1 6 7) (1 2 5 6) ) patch back ( (0 4 8 7) (4 3 9 8) ) patch upper_wall ( (2 3 9 5) ) patch inlet ( (0 1 4 0) ) patch left_wall ( (1 2 3 4) ) patch outlet ( (7 6 8 7) (6 5 9 8) ) ); mergePatchPairs ( ); thanks in advance |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Carlos
Join Date: May 2017
Posts: 16
Rep Power: 9 ![]() |
hello Tobi,
Thanks for getting back. The drawing is correct, two concentric cylinders, the vertices in the front are 0 1 4 for the smaller cylinder 0 2 3 for the bigger cylinder the points for the back 7 6 8 for the smaller cylinder 7 5 9 for the bigger cylinder Is it correct that I can do an arc between the vertices 5-9 and 2-3? thanks in advance |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 51 ![]() ![]() ![]() |
I am sorry - I cannot get your picture with the points and how you want to build the blocks. It does not make sense to me - even if the drawing is correct.
__________________
Keep foaming, Tobias Holzmann |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Join Date: Aug 2012
Posts: 15
Rep Power: 14 ![]() |
Can you elaborate more on problem you want to solve? Do you want a baffle between those smaller and bigger cylinders?
|
|
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
saeed sangchooly
Join Date: Feb 2022
Posts: 17
Rep Power: 4 ![]() |
hi carlos
I'm dealing with the same geometry (two concentric cylinders) and i want a quarter of it like you. I used fluent mesh generator for meshing because i didn't know that it's possible to generate this kind of geometry with blockMesh. did you managed to solve your problem with blockMesh? |
|
![]() |
![]() |
![]() |
![]() |
#7 | |
Senior Member
Josh Williams
Join Date: Feb 2021
Location: Scotland
Posts: 113
Rep Power: 5 ![]() |
Quote:
I am not sure about this with blockMesh, but perhaps a better alternative than fluent meshing would be gmsh? Then you can use gmshToFoam? |
||
![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 ![]() |
I would advice using Salome.
Took me approximately 3min from start to finish.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
![]() |
![]() |
![]() |
Tags |
mesh 3d, opemfoam |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
FLUENT adding mesh nodes problem when importing 3D mesh from ICEM | guxin7005 | FLUENT | 2 | June 27, 2016 21:41 |
3-d mesh gambit (cylinder within a cylinder) | Jason | ANSYS Meshing & Geometry | 29 | October 30, 2015 08:59 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 09:38 |
Problem with building geometry - concentric cylinders | Rhoddwen | OpenFOAM Pre-Processing | 9 | December 17, 2014 10:02 |
How to control Minximum mesh space? | hung | FLUENT | 7 | April 18, 2005 09:38 |