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

[Technical] BlockMesh not making arcs

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2010, 08:54
Default BlockMesh not making arcs
  #1
Member
 
G B
Join Date: Mar 2010
Posts: 37
Rep Power: 16
Disco_Caine is on a distinguished road
Hi, i've been reading the userguide on how to do simple arcs (and it seems simple enough) but for some reason, it's not working for me.

Here is my mesh:

vertices
(
(0 -1.35 0) //0
(10.235 -6.835 0) //1
(10.235 6.835 0) //2
(0 1.35 0) //3
(0 -1.35 4.45) //4
(10.235 -6.835 4.45) //5
(10.235 6.835 4.45) //6
(0 1.35 4.45) //7

);

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

);

edges
(
arc 1 2 (11.5 0.0 0.0)
arc 5 6 (11.5 0.0 4.45)
);

patches
(

patch walls
(
(0 4 7 3)
(0 1 5 4)
(1 2 6 5)
(2 3 7 6)
(3 2 1 0)
(4 5 6 7)
)
);

mergePatchPairs
(
);

//-----//

As you can see, the edge is defined accordingly. But when i create my mesh and use paraview I get a straight line instead of an arc. I assume it's something quite simple (as my past enquiries have turned out to be). But i am stumped here.

Thanks in advance!
GB
Disco_Caine is offline   Reply With Quote

Old   July 6, 2010, 11:03
Default
  #2
Member
 
G B
Join Date: Mar 2010
Posts: 37
Rep Power: 16
Disco_Caine is on a distinguished road
Update:

FIXED! I ended up copying the blockmeshdict from the stress analysis tutorial and modifying the vertex and the arcs accordingly and it worked. Doing a line by line comparison it is exactly the same. I dont know what happened. So, for anyoe out there having trouble making arcs, just copy the blockmeshdict from the stress analysis tutorial, and modify accordingly. Best of luck!
Disco_Caine is offline   Reply With Quote

Old   July 6, 2010, 11:09
Default
  #3
Senior Member
 
Stefan Herbert
Join Date: Dec 2009
Location: Darmstadt, Germany
Posts: 129
Rep Power: 18
herbert is on a distinguished road
Just for note:

the problem here was, that an arc was defined on an edge (1 2) with only one single cell. To create arcs, of course, you need some more cells along it.

Regards,
Stefan
herbert is offline   Reply With Quote

Old   July 6, 2010, 11:16
Default
  #4
Member
 
G B
Join Date: Mar 2010
Posts: 37
Rep Power: 16
Disco_Caine is on a distinguished road
Ofcourse, that was it. How embarassing. I should bite my tongue (or fingers) before i post. I thought i had set 10 cells for my y axis. And the tutorial case file has that and that is why it worked. Thank you for pointing that out to me. I can't believe it.

Thank you again, Stefan.
Disco_Caine 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
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 04:30
[Other] How to use finite area method in official OpenFOAM 2.2.0? Detian Liu OpenFOAM Meshing & Mesh Conversion 4 November 3, 2015 04:04
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 22:53
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 14:59
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 19:20.