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

[blockMesh] not able to arrange the arc 12 13

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 26, 2012, 09:09
Default not able to arrange the arc 12 13
  #1
New Member
 
Angelo2000
Join Date: Mar 2012
Posts: 4
Rep Power: 14
Angelo2000 is on a distinguished road
hello, I have a problem in the grid below, I am not able to arrange the arc 12 13, q may have something wrong before I am not able to check more.

thank you




/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.1 |
| \\ / 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 -1) // 1
(0 1 -1) // 2
(0 1 0) // 3
(10 0 0) // 4
(10 0 -1) // 5
(10 1 -1) // 6
(10 1 0) // 7

(0 -0.5 0.5) // 8
(0 1.5 0.5) // 9
(10 1.5 0.5) // 10
(10 -0.5 0.5) // 11

(0 -0.5 -1.5) // 12
(0 1.5 -1.5) // 13
(10 1.5 -1.5) // 14
(10 -0.5 -1.5) // 15

(0 -1 1) // 16
(0 2 1) // 17
(10 2 1) //18
(10 -1 1) //19

(0 -1 -2) //20
(0 2 -2) //21
(10 2 -2) //22
(10 -1 -2) //23

);

blocks
(
hex (0 1 2 3 4 5 6 7) (5 5 5) simpleGrading (1 1 1)

hex (0 3 9 8 4 7 10 11) (5 5 5) simpleGrading (1 1 1)

hex (1 12 13 2 5 15 14 6) (5 5 5) simpleGrading (1 1 1)

hex (2 13 9 3 6 14 10 7) (5 5 5) simpleGrading (1 1 1)

hex (1 0 8 12 5 4 11 15) (5 5 5) simpleGrading (1 1 1)




);

edges
(

arc 0 1 (0 1.414214 -1)
arc 1 2 (0 1 1.414214)
arc 2 3 (0 -1.414214 1)
arc 3 0 (0 1 -1.414214)

arc 4 5 (10 1.414214 -1)
arc 5 6 (10 1 1.414214)
arc 6 7 (10 -1.414214 1)
arc 7 4 (10 -1 -1.414214)

arc 8 12 (0 -0.707107 -1)
arc 12 13 (0 1 0.707107)
arc 13 9 (0 0.707107 1)
arc 9 8 (0 1 0.707107)

arc 11 15 (10 -0.707107 -1)
arc 15 14 (10 1 0.707107)
arc 14 10 (10 0.707107 1)
arc 10 11 (10 1 0.707107)




);

boundary
(
inlet
{
type patch;
faces
(


);
}
outlet
{
type patch;
faces
(


);
}
fixedWalls
{
type wall;
faces
(

);
}
frontAndBack
{
type empty;
faces
(

);
}
);

mergePatchPairs
(
);

// ************************************************** *********************** //

Last edited by Angelo2000; March 26, 2012 at 09:25.
Angelo2000 is offline   Reply With Quote

Old   March 26, 2012, 10:43
Default
  #2
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
santos is on a distinguished road
Send a message via Skype™ to santos
Hi Angelo,

Based on you figure, I would say you have inconsitent vertices and/or blocks.

Please double-check them.

Jose
santos is offline   Reply With Quote

Old   March 26, 2012, 12:38
Default
  #3
New Member
 
Angelo2000
Join Date: Mar 2012
Posts: 4
Rep Power: 14
Angelo2000 is on a distinguished road
Quote:
Originally Posted by santos View Post
Hi Angelo,

Based on you figure, I would say you have inconsitent vertices and/or blocks.

Please double-check them.

Jose
Hello Jose, thanks for help, I already took a look, but I can not identify the errors, you could help.

thank you

Angelo
Angelo2000 is offline   Reply With Quote

Old   March 27, 2012, 19:14
Default
  #4
Disabled
 
Join Date: Mar 2011
Posts: 174
Rep Power: 15
anon_a is on a distinguished road
arc 3 0 (0 -1 -1.414214)
arc 12 13 (0 1 x)
arc 15 14 (10 1 x)

where x about equal to -1.6 (from testing, no time to check the exact geometrical value, you should do that)
anon_a is offline   Reply With Quote

Old   April 2, 2012, 09:40
Default
  #5
New Member
 
Angelo2000
Join Date: Mar 2012
Posts: 4
Rep Power: 14
Angelo2000 is on a distinguished road
http://imageshack.us/photo/my-images/39/cilindro2.png

Hello we managed to get the mesh, the more checkMesh says that the mesh is not orthogonal, can someone help with this part.

The mesh is below.

Thank you.

Angelo

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.1 |
| \\ / 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 -1) // 1
(0 1 -1) // 2
(0 1 0) // 3
(20 0 0) // 4
(20 0 -1) // 5
(20 1 -1) // 6
(20 1 0) // 7

(0 -0.5 0.5) // 8
(0 1.5 0.5) // 9
(20 1.5 0.5) // 10
(20 -0.5 0.5) // 11

(0 -0.5 -1.5) // 12
(0 1.5 -1.5) // 13
(20 1.5 -1.5) // 14
(20 -0.5 -1.5) // 15

);

blocks
(
hex (0 1 2 3 4 5 6 7) (5 5 5) simpleGrading (1 1 1)

hex (0 3 9 8 4 7 10 11) (5 5 5) simpleGrading (1 1 1)

hex (1 12 13 2 5 15 14 6) (5 5 5) simpleGrading (1 1 1)

hex (2 13 9 3 6 14 10 7) (5 5 5) simpleGrading (1 1 1)

hex (1 0 8 12 5 4 11 15) (5 5 5) simpleGrading (1 1 1)




);

edges
(

arc 0 1 (0 3 -1)
arc 1 2 (0 1 3)
arc 2 3 (0 -3 1)
arc 3 0 (0 -1 -3)

arc 4 5 (20 3 -1)
arc 5 6 (20 1 3)
arc 6 7 (20 -3 1)
arc 7 4 (20 -1 -3)

arc 8 12 (0 -0.8 -1)
arc 13 12 (0 -1 -0.8)
arc 13 9 (0 0.8 1)
arc 9 8 (0 -1 -0.8)

arc 11 15 (20 -0.8 -1)
arc 14 15 (20 -1 -0.8)
arc 14 10 (20 0.8 1)
arc 10 11 (20 -1 -0.8)


);

boundary
(
inlet
{
type patch;
faces
(
(0 1 2 3)
(0 3 9 8)
(1 12 13 2)
(2 13 9 3)
(1 0 8 12)

);
}
outlet
{
type patch;
faces
(
(4 5 6 7)
(4 7 10 11)
(5 15 14 6)
(6 14 10 7)
(5 4 11 15)

);
}
fixedWalls
{
type wall;
faces
(
(8 9 10 11)
(12 13 14 15)

);
}
frontAndBack
{
type empty;
faces
(
(9 13 14 10)
(8 12 15 11)

);
}
);

mergePatchPairs
(
);

// ************************************************** *********************** //




Angelo2000 is offline   Reply With Quote

Old   April 3, 2012, 08:22
Default
  #6
kid
Senior Member
 
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17
kid is on a distinguished road
Friend,
Try using salomne tool to generate geometry save it in STL.binary and import that using discritizer tool and set up your case using it. Both Salomne and Discritizer are free tools ( OS linux).

Sorry, but could not help your issue directly.
Regards
CFDkid
kid is offline   Reply With Quote

Old   April 3, 2012, 08:33
Default
  #7
New Member
 
Angelo2000
Join Date: Mar 2012
Posts: 4
Rep Power: 14
Angelo2000 is on a distinguished road
Quote:
Originally Posted by kid View Post
Friend,
Try using salomne tool to generate geometry save it in STL.binary and import that using discritizer tool and set up your case using it. Both Salomne and Discritizer are free tools ( OS linux).

Sorry, but could not help your issue directly.
Regards
CFDkid

Hello and thanks for helping, I have a friend who is already using more discritizer my teacher wants you to do in blockMesh.

how do you import the STL file OpenFoam? you can do a step by step?

Angelo
Angelo2000 is offline   Reply With Quote

Old   April 3, 2012, 08:40
Default
  #8
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 460
Rep Power: 18
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
I think this discussion goes against any forum rules… even if anybody was willing to help you, nobody can probably understand what's going on here…

Did you manage to get your mesh? Probably yes, but you're saying checkmesh is reporting some errors (or maybe just warning), so, why don't you post your errors instead of your blockmesh?
lovecraft22 is offline   Reply With Quote

Old   April 4, 2012, 00:22
Default
  #9
kid
Senior Member
 
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17
kid is on a distinguished road
hello craft,
What you said is right, one needs to post error or warning message of OpenFOAM.
Also this is high time to bring to notice these facts given at bottom of this thread.

http://www.cfd-online.com/Forums/ope...-get-help.html

Another matter i would like to get informed about is that, should we discuss use of Salome, Discritizer ?
As these tools help to abstract some of the complications and once problem is set we are free to work in OpenFOAM.

regards,
CFDkid
kid is offline   Reply With Quote

Reply


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
[blockMesh] Openfoam: Meshing, where do my defaultFaces come from syntex OpenFOAM Meshing & Mesh Conversion 19 December 10, 2018 07:21
[Other] Change the mesh in mixerVesselAMI2D tutorial hoemmaria OpenFOAM Meshing & Mesh Conversion 2 October 6, 2017 07:43
[blockMesh] Another cylinder question bendel_boy OpenFOAM Meshing & Mesh Conversion 5 January 6, 2015 05:09
[Other] mergeMatchPairs with arcs vainilreb OpenFOAM Meshing & Mesh Conversion 1 August 5, 2013 08:11
[blockMesh] apparently the mesh doesn't want to be created in one direction Maxime Thomas OpenFOAM Meshing & Mesh Conversion 1 August 18, 2012 06:05


All times are GMT -4. The time now is 10:07.