|
[Sponsors] |
July 6, 2010, 08:54 |
BlockMesh not making arcs
|
#1 |
Member
G B
Join Date: Mar 2010
Posts: 37
Rep Power: 16 |
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 |
|
July 6, 2010, 11:03 |
|
#2 |
Member
G B
Join Date: Mar 2010
Posts: 37
Rep Power: 16 |
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! |
|
July 6, 2010, 11:09 |
|
#3 |
Senior Member
Stefan Herbert
Join Date: Dec 2009
Location: Darmstadt, Germany
Posts: 129
Rep Power: 18 |
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 |
|
July 6, 2010, 11:16 |
|
#4 |
Member
G B
Join Date: Mar 2010
Posts: 37
Rep Power: 16 |
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. |
|
|
|
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 |