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

[blockMesh] Why aren't arcs showing in this mesh?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2017, 20:52
Default Why aren't arcs showing in this mesh?
  #1
New Member
 
Zach
Join Date: Jul 2017
Posts: 11
Rep Power: 8
Thewitness is on a distinguished road
convertToMeters 1;

vertices
(
(0 0 0)
(0 -1 -1)
(0 1 -1)
(0 -1 1)
(0 1 1)
(1 0 0)
(1 -1 -1)
(1 1 -1)
(1 -1 1)
(1 1 1)
(2 0 0)
(2 -1 -1)
(2 1 -1)
(2 -1 1)
(2 1 1)
(3 0 0)
(3 -1 -1)
(3 1 -1)
(3 -1 1)
(3 1 1)
(4 0 0)
(4 -1 -1)
(4 1 -1)
(4 -1 1)
(4 1 1)
);

blocks
(
hex (0 1 2 0 5 6 7 5) (1 1 1) simpleGrading (1 1 1)
hex (0 2 4 0 5 7 9 5) (1 1 1) simpleGrading (1 1 1)
hex (0 4 3 0 5 9 8 5) (1 1 1) simpleGrading (1 1 1)
hex (0 3 1 0 5 8 6 5) (1 1 1) simpleGrading (1 1 1)
hex (5 6 7 5 10 11 12 10) (1 1 1) simpleGrading (1 1 1)
hex (5 7 9 5 10 12 14 10) (1 1 1) simpleGrading (1 1 1)
hex (5 9 8 5 10 14 13 10) (1 1 1) simpleGrading (1 1 1)
hex (5 8 6 5 10 13 11 10) (1 1 1) simpleGrading (1 1 1)
hex (10 11 12 10 15 16 17 15) (1 1 1) simpleGrading (1 1 1)
hex (10 12 14 10 15 17 19 15) (1 1 1) simpleGrading (1 1 1)
hex (10 14 13 10 15 19 18 15) (1 1 1) simpleGrading (1 1 1)
hex (10 13 11 10 15 18 16 15) (1 1 1) simpleGrading (1 1 1)
hex (15 16 17 15 20 21 22 20) (1 1 1) simpleGrading (1 1 1)
hex (15 17 19 15 20 22 24 20) (1 1 1) simpleGrading (1 1 1)
hex (15 19 18 15 20 24 23 20) (1 1 1) simpleGrading (1 1 1)
hex (15 18 16 15 20 23 21 20) (1 1 1) simpleGrading (1 1 1)
);

edges
(
arc 1 2 (0 0 -1.41421356)
arc 2 4 (0 1.41421356 0)
arc 4 3 (0 0 1.41421356)
arc 3 1 (0 -1.41421356 0)
arc 6 7 (1 0 -1.41421356)
arc 7 9 (1 1.41421356 0)
arc 9 8 (1 0 1.41421356)
arc 8 6 (1 -1.41421356 0)
arc 11 12 (2 0 -1.41421356)
arc 12 14 (2 1.41421356 0)
arc 14 13 (2 0 1.41421356)
arc 13 11 (2 -1.41421356 0)
arc 16 17 (3 0 -1.41421356)
arc 17 19 (3 1.41421356 0)
arc 19 18 (3 0 1.41421356)
arc 18 16 (3 -1.41421356 0)
arc 21 22 (4 0 -1.41421356)
arc 22 24 (4 1.41421356 0)
arc 24 23 (4 0 1.41421356)
arc 23 21 (4 -1.41421356 0)
);

boundary
(
inlet
{
type patch;
faces
(
);
}
outlet
{
type patch;
faces
(
);
}
bottom
{
type symmetryPlane;
faces
(
(1 6 7 2)
(6 11 12 7)
(11 16 17 12)
(16 21 22 17)
);
}
top
{
type symmetryPlane;
faces
(
(3 8 9 4)
(8 13 14 9)
(13 18 19 14)
(18 23 24 19)
);
}
left
{
type symmetryPlane;
faces
(
(0 1 2 0)
(0 2 4 0)
(0 4 3 0)
(0 3 1 0)
);
}
right
{
type symmetryPlane;
faces
(
(20 21 22 20)
(20 22 24 20)
(20 24 23 20)
(20 23 21 20)
);
}
front
{
type symmetryPlane;
faces
(
(1 6 8 3)
(6 11 13 8)
(11 16 18 13)
(16 21 23 18)
);
}
back
{
type symmetryPlane;
faces
(
(7 2 4 9)
(12 7 9 14)
(17 12 14 19)
(22 17 19 24)
);
}
obstacle
{
type patch;
faces
(
);
}
);

mergePatchPairs
(
);
Thewitness is offline   Reply With Quote

Old   August 10, 2017, 21:09
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

For the same reason that was stated previously in this post:

https://www.cfd-online.com/Forums/op...tml#post659309

You cannot have an arc show up when you have only 1 cell.

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   August 10, 2017, 21:47
Default By cell you mean block right?
  #3
New Member
 
Zach
Join Date: Jul 2017
Posts: 11
Rep Power: 8
Thewitness is on a distinguished road
I made 4 cells like you said, it isn't just 1.
Thewitness is offline   Reply With Quote

Old   August 10, 2017, 23:11
Default
  #4
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

This line indicates that there is only one cell (the section that has been indicated in bold)
Code:
hex (0 1 2 0 5 6 7 5) (1 1 1) simpleGrading (1 1 1)
It should read something like this
Code:
hex (0 1 2 0 5 6 7 5) (1 4 1) simpleGrading (1 1 1)
I have changed the number of cells/divisions to 4 on the line connecting vertices 1 and 2, which is where one of your arcs is.

This should help clarify.

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   September 13, 2017, 02:07
Default
  #5
New Member
 
Wentao Wang
Join Date: Feb 2014
Posts: 4
Rep Power: 12
freuen is on a distinguished road
Sent from my iPhone using CFD Online Forum mobile app
freuen is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
[ICEM] surface mesh merging problem everest ANSYS Meshing & Geometry 44 April 14, 2016 06:41
[snappyHexMesh] Layers:problem with curvature giulio.topazio OpenFOAM Meshing & Mesh Conversion 10 August 22, 2012 09:03
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11


All times are GMT -4. The time now is 02:42.