|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
G B
Join Date: Mar 2010
Posts: 37
Rep Power: 5 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Member
G B
Join Date: Mar 2010
Posts: 37
Rep Power: 5 ![]() |
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! |
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Stefan Herbert
Join Date: Dec 2009
Location: Darmstadt, Germany
Posts: 128
Rep Power: 6 ![]() |
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 |
|
|
|
|
|
|
|
|
#4 |
|
Member
G B
Join Date: Mar 2010
Posts: 37
Rep Power: 5 ![]() |
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. |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |
| DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 01:24 |
| Blockmesh cavity error message | tonitoney | OpenFOAM Installation | 2 | March 17, 2008 12:59 |
| Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 20:30 |
| DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 17:51 |