CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Problem creating mesh, quarter of cylinder

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 23, 2018, 08:09
Default Problem creating mesh, quarter of cylinder
  #1
New Member
 
Carlos
Join Date: May 2017
Posts: 16
Rep Power: 8
Ricardo1992 is on a distinguished road
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
Attached Files
File Type: pdf [Untitled].pdf (8.0 KB, 37 views)
Ricardo1992 is offline   Reply With Quote

 

Tags
mesh 3d, opemfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
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


All times are GMT -4. The time now is 12:24.