Arc-edge on wedge-block not possible?
Hi,
I have created a mesh which has wedge blocks (blocks with only 6 vertices) but when I define an arc-edge on the wedge it is ignored and not shown in ParaFoam. the edge is shown as straight line. Is it not possible to create arc-edges on wedge-blocks? And if so, is there another possibility to get curved edges on a wedge-block? Thanks in advance, Alexander |
It is definitely possible, I have done that.
Can you post your blockMesh? |
I have j wedges and on the two edges which are opposite to the vertices that fall together I define an arc like : arc <vertex1> <vertex2> <interpolationpoint koordinates>.
I have this problem an all my wedges in my code. @anon_a: Today I am working on another machine unfortantly I have no access to my blockMeshDict-file. Mybe for wedges there is another command than arc ... ... ... to define arcs? Regards, Alex |
1 Attachment(s)
An example blockMeshDict.m4 is attached.
Use Code:
m4 blockMeshDict.m4 > constant/polyMesh/blockMeshDict I hope this is what you were looking for. EDIT: something was wrong with uploading the file, I finally had to rename it to blockMeshDict.txt |
Dear
I am trying to create edges in the following blockMeshDict file which creates a simple hex block (cavity tutorial). As stated in the user guide that the edges option arc produces the circular arc with single interpolation point but its not working in my case. Please let me know how to handle this. Quote:
Jamal |
Hi aujamal20,
Just increase simple greading to (2 2 2) and you will get the circular edges. Best, Alex |
In my opinion the grading shouldn't be a problem.
It would be interesting to know the error message to see what is wrong. If the error message give something like: Foam Fatal Error Keyword: 'blocks' undefined I would try to place the keyword edges and appendages below the keyword blocks. However if he normally compiles the mesh without errors I would increase the number of cells on each edge (replace the (1 1 1 ) before the word simpleGrading with (10 10 10) or something like that), otherwise the mesh cannot calculate the arc, for no interpolation points are given. I hope I could contribute regards Colin |
Dear
It compiles normally with out giving any error. But this time I put edges next to blocks and if I increase the number of cells from (1 1 1) to (2 2 2) it will draw straight lines from the interpolation point to opposite vertices while I expect to have a circular arc through that interpolation point. Quote:
Quote:
Quote:
jamal http://www.cfd-online.com/Forums/C:%...sktop%5Ccavity http://www.cfd-online.com/Forums/dat...AASUVORK5CYII= |
Hm in the above mentioned post there is no explicit question
and the information still is very limited. You might want to provide a picture which illustrates your problem. On the other hand I want you to redirect you to my previous post, where I stated that the number of cells per edge is somehow related to the display of certain edge types. regards |
3 Attachment(s)
Dear
I am trying to ask that in the first figure I have Quote:
then I increase the number of cells in x1 & x2 direction and it create linear lines joining interpolation point to opposite vertices rather than an circular arc. I think it should produce an arc at this point or not??? Quote:
Quote:
Thanks http://www.cfd-online.com/Forums/dat...AAAElFTkSuQmCC |
I don't know what you are complaining about,
the last picture looks really nice! The other pictures: You only show the outline which is a simplified representation of the geometry, which only shows the outer extends, but not the real geometry. So the results are hardly comparable. You should also print the surface of the to see what is really going on. But even then I guess your geometry won't look like a circle, for you are using to few cells. However to complete the understanding of blockMesh: Each cell has straight edges (somebody may correct me if I'm wrong), so If you define an arc with one cell (1 1 1) then it still will be a square. In order to get your block, arc shaped you have to use more cells, which will align to the previous defined circle! So this is why your pictures look more and more like a circle. |
2 Attachment(s)
Dear colinB
Thanks for your patience and responses on my inquries. Actually what I was thinking was that by using an arc option in edges, a geometry with circular edges could be created even with one cell . And as u told that each cell has straight edges and to have circular edge i need to define more cells. Now i get the idea. Onec again thanks alot...... Regards Jamal |
If the angle is small, the line may look like a straight line. Yes, you can do it with arc. google OpenFoam pipe flow tutorial, there is a nice example of wedge (2D-axis symmetric) made by blockMesh.
|
I am trying to make a 2D axisymmteric wedge with a sine wavy wall on the bottom. However, it always complains about "front" and "back" are not planar (which is wedged surface) as shown below:
Code:
/*--------------------------------*- C++ -*----------------------------------*\ Code:
At local face at (0.00397657155847 -0.000173620863786 0.0038483950209) the normal (-0.0436193873652 -0.999048221582 5.14791664087e-16) differs from the average normal (-0.0422759102345 -0.968277536357 3.2650380694e-14) by 0.000948640000007 Thanks a lot, Chris |
All times are GMT -4. The time now is 04:44. |